[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [bruce.stephens@messagingdirect.com: Bug#77616: undefined symbol Perl_no_modify. Presumably needs recompile for perl5.6]



Dirk Eddelbuettel, in an immanent manifestation of deity, wrote:
>a) why then my libdbd-odbc-perl does not work (see the bug report from the
>Subject: line) -- the submitter also claims that rebuilding on a 5.6.0
>system works as I had conjectured, and 

It's because of the following bug report:
>Subject: Bug#77187: libdbi-perl must be recompiled with perl-5.6
>
>i have to recompile libdbd-pg-perl with perl-5.6 since the old module
>seems to not work with perl-5.6. However, until libdbi-perl has been
>recompiled I can do nothing. When I try to compile my module, it looks for
>the dbi include but in the 5.6 directory and the file are still in the
>5.005 directory.
>
>[...]
>cc -c -I/usr/include -I/usr/include/postgresql -I/usr/lib/perl5/5.6/i386-linux/auto/DBI -D_REENTRANT -DDEBIAN -DAPPLLIB_EXP="/usr/lib/perl5" -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall      -DVERSION=\"0.95\" -DXS_VERSION=\"0.95\" -fPIC -I/usr/lib/perl5/5.6/i386-linux/CORE  Pg.c
>In file included from Pg.xs:13:
>Pg.h:39: DBIXS.h: Aucun fichier ou r?pertoire de ce type
>[...]
>
>$ locate DBIXS.h
>/usr/lib/perl5/5.005/i386-linux/auto/DBI/DBIXS.h

The solution here was to recompile with Perl 5.6.  I'm not sure that
this was the correct action.  I suspect that DBI and/or DBD::* should be
told to look in the 5.005 directories.

I'm somewhat confused as to why this is so, considering that if I have
libdbi-perl 1.14-1 installed (the version causing the problem above), I
get the following:
{3}[0]quicky/libdbd-pg-perl-0.95 perv:-) perl -MDBI::DBD -e 'print dbd_dbi_arch_dir(), "\n"'
Using DBI 1.14 installed in /usr/lib/perl5/5.005/i386-linux/auto/DBI
/usr/lib/perl5/5.005/i386-linux/auto/DBI

This says that it should be looking for the DBI.h headers in 5.005 like
it should.

I'll try to look into this later, right now, I have to get back to
fixing the turkey and the mash potatoes.

>b) what I am going to do with the bug report?  Recompile the package and be
>done with it?  Or is there something else at stake?

If you could leave open for now, I'd appreciate it.  As I said, I'm not
sure that Bug#77187 was closed in the best way.  There's something more
going on here.

Darren
-- 
<torin@daft.com><http://www.daft.com/~torin/> <torin@debian.org><perl@slut.org>
Darren Stalder/2608 Second Ave, @282/Seattle, WA 98121-1212/USA/+1-206-ELF-LIPZ
@		     Make a little hot-tub in your soul.		      @



Reply to: