Skip Menu |

This queue is for tickets about the Text-CSV_XS CPAN distribution.

Report information
The Basics
Id: 77948
Status: rejected
Priority: 0/
Queue: Text-CSV_XS

People
Owner: Nobody in particular
Requestors: christian.merz [...] muenchen.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Installation of Text-CSV_XS-0.90 failed
Date: Thu, 21 Jun 2012 16:20:05 +0200
To: bug-Text-CSV_XS [...] rt.cpan.org
From: "Christian Merz" <christian.merz [...] muenchen.de>
Hi, on installation (make test) the linker fails with: /usr/bin/ld: cannot find -lperl details below. cu, Christian ----- Version: Text-CSV_XS-0.90 $ uname -a Linux husserl 2.6.26-2-686 #1 SMP Fri Sep 4 21:11:27 UTC 2009 i686 GNU/Linux $ echo $LD_LIBRARY_PATH /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib: $ perl -v This is perl, v5.8.8 built for i486-linux-gnu-thread-multi ----- Error message: $ make test cp CSV_XS.pm blib/lib/Text/CSV_XS.pm /usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/ExtUtils/typemap CSV_XS.xs > CSV_XS.xsc && mv CSV_XS.xsc CSV_XS.c cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\" -fPIC "-I/usr/lib/perl/5.8/CORE" CSV_XS.c Running Mkbootstrap for Text::CSV_XS () chmod 644 CSV_XS.bs rm -f blib/arch/auto/Text/CSV_XS/CSV_XS.so cc -shared -L/usr/lib -lperl -L/usr/local/lib CSV_XS.o -o blib/arch/auto/Text/CSV_XS/CSV_XS.so \ \ /usr/bin/ld: cannot find -lperl collect2: ld returned 1 exit status make: *** [blib/arch/auto/Text/CSV_XS/CSV_XS.so] Fehler 1 ----- $ perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.18-5-686-bigmem, archname=i486-linux-gnu-thread-multi uname='linux buildserv 2.6.18-5-686-bigmem #1 smp mon dec 24 17:55:42 utc 2007 i686 gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dlddlflags=-shared -L/usr/lib -lperl -Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.8 -Dsitearch=/usr/local/lib/perl/5.8.8 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.8 -Dd_dosuid -des' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.1.2 20061115 (prerelease) (Debian 4.1.1-21)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt perllibs=-ldl -lm -lpthread -lc -lcrypt libc=/lib/libc-2.3.6.so, so=so, useshrplib=true, libperl=libperl.so.5.8.8 gnulibc_version='2.3.6' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -L/usr/lib -lperl -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Jan 9 2009 08:26:39 @INC: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl
Subject: Re: [rt.cpan.org #77948] Installation of Text-CSV_XS-0.90 failed
Date: Thu, 21 Jun 2012 16:46:50 +0200
To: bug-Text-CSV_XS [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Thu, 21 Jun 2012 10:20:19 -0400, "Christian Merz via RT" <bug-Text-CSV_XS@rt.cpan.org> wrote: Show quoted text
> Hi, > on installation (make test) the linker fails with: > /usr/bin/ld: cannot find -lperl
Not a Text::CSV_XS bug/problem. Read on … Show quoted text
> details below. > cu, Christian > > ----- > Version: Text-CSV_XS-0.90 > $ uname -a > Linux husserl 2.6.26-2-686 #1 SMP Fri Sep 4 21:11:27 UTC 2009 i686 GNU/Linux > $ echo $LD_LIBRARY_PATH > /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib:
Does this override/exclude the location of libperl.so? Show quoted text
> $ perl -v > This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
Hmm, rather old. 5.8.8 is from Jan 2006. Current is 5.16.0 That said, I *did* test this Text::CSV_XS release on perls all the way back to 5.6.1 (which includes all 5.8.x builds) Show quoted text
> ----- > Error message: > $ make test > cp CSV_XS.pm blib/lib/Text/CSV_XS.pm > /usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap > /usr/share/perl/5.8/ExtUtils/typemap CSV_XS.xs > CSV_XS.xsc && mv CSV_XS.xsc > CSV_XS.c > cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN > -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\" -fPIC > "-I/usr/lib/perl/5.8/CORE" CSV_XS.c > Running Mkbootstrap for Text::CSV_XS () > chmod 644 CSV_XS.bs > rm -f blib/arch/auto/Text/CSV_XS/CSV_XS.so > cc -shared -L/usr/lib -lperl -L/usr/local/lib CSV_XS.o -o > blib/arch/auto/Text/CSV_XS/CSV_XS.so \ > \ > > /usr/bin/ld: cannot find -lperl > collect2: ld returned 1 exit status > make: *** [blib/arch/auto/Text/CSV_XS/CSV_XS.so] Fehler 1
Your (system) perl was built with -Duseshrplib causing the need for -lperl, but the distribution did not correctly include the -L the the location in the lddflags. Blame your distribution! $ locate libperl.so /usr/lib/perl5/5.14.2/i586-linux-thread-multi/CORE/libperl.so /usr/lib/perl5/5.14.2/x86_64-linux-thread-multi/CORE/libperl.so so, your Makefile should probably include something like -L/usr/lib/perl5/5.8.8/i486-linux-gnu/CORE check if that location has libperl.so and add that before -lperl Show quoted text
> ----- > $ perl -V > Summary of my perl5 (revision 5 version 8 subversion 8) configuration: > Platform: > osname=linux, osvers=2.6.18-5-686-bigmem, > archname=i486-linux-gnu-thread-multi > uname='linux buildserv 2.6.18-5-686-bigmem #1 smp mon dec 24 17:55:42 utc > 2007 i686 gnulinux ' > config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN > -Dlddlflags=-shared -L/usr/lib -lperl -Dcccdlflags=-fPIC > -Darchname=i486-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8 > -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr > -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 > -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.8 > -Dsitearch=/usr/local/lib/perl/5.8.8 -Dman1dir=/usr/share/man/man1 > -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 > -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl > -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm > -Duseshrplib -Dlibperl=libperl.so.5.8.8 -Dd_dosuid -des'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ which indicates that -lperl should in fact load libperl.so.5.8.8 where one would expect libperl.so to be a symbolic link to it if not, your distribution made another error by requiring -lperl Show quoted text
> hint=recommended, useposix=true, d_sigaction=define > usethreads=define use5005threads=undef useithreads=define > usemultiplicity=define > useperlio=define d_sfio=undef uselargefiles=define usesocks=undef > use64bitint=undef use64bitall=undef uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN > -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64', > optimize='-O2', > cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN > -fno-strict-aliasing -pipe -I/usr/local/include' > ccversion='', gccversion='4.1.2 20061115 (prerelease) (Debian 4.1.1-21)', > gccosandvers='' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', > lseeksize=8 > alignbytes=4, prototype=define > Linker and Libraries: > ld='cc', ldflags =' -L/usr/local/lib' > libpth=/usr/local/lib /lib /usr/lib > libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt > perllibs=-ldl -lm -lpthread -lc -lcrypt > libc=/lib/libc-2.3.6.so, so=so, useshrplib=true, libperl=libperl.so.5.8.8 > gnulibc_version='2.3.6' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' > cccdlflags='-fPIC', lddlflags='-shared -L/usr/lib -lperl -L/usr/local/lib'
This is how your perl was built, but libperl.so is missing in /usr/lib # ln -s /usr/lib/perl5/5.8.8/i486-linux-gnu/CORE/libperl.so.5.8.8 /usr/lib/libperl.so could give you instant success Maybe a much better option is to check if your distribution builds Text::CSV_XS as a package and install it from the package repository -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.14 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Subject: Re: [rt.cpan.org #77948] Installation of Text-CSV_XS-0.90 failed
Date: Thu, 21 Jun 2012 20:14:31 +0200
To: bug-Text-CSV_XS [...] rt.cpan.org
From: "Christian Merz" <christian.merz [...] muenchen.de>
Thank you very much! Installation worked fine! I had to use another link... I did: # ln -s /usr/lib/libperl.so.5.8.8 /usr/lib/libperl.so $ make clean $ perl Makefile.PL LIB=~/lib $ make test # make install and finally $ ln -s ~/lib/i486-linux-gnu-thread-multi/Text ~/lib/Text But the module still cannot be found: $ perl -I~/lib myprog.pl Can't locate Text/CSV_XS.pm in @INC (@INC contains: ~/lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at myprog.pl line 5. BEGIN failed--compilation aborted at testtabelle.pl.txt line 5. --- But it is in the right place, I think: $ ll ~/lib/Text/* -r--r--r-- 1 root root 56227 2012-06-07 16:24 ~/lib/Text/CSV_XS.pm What's wrong? -------------- Am Do, 21.06.2012, 16:47 schrieb h.m.brand@xs4all.nl via RT: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=77948 > > > On Thu, 21 Jun 2012 10:20:19 -0400, "Christian Merz via RT" > <bug-Text-CSV_XS@rt.cpan.org> wrote: >
>> Hi, >> on installation (make test) the linker fails with: >> /usr/bin/ld: cannot find -lperl
> > Not a Text::CSV_XS bug/problem. Read on … >
>> details below. >> cu, Christian >> >> ----- >> Version: Text-CSV_XS-0.90 >> $ uname -a >> Linux husserl 2.6.26-2-686 #1 SMP Fri Sep 4 21:11:27 UTC 2009 i686 GNU/Linux >> $ echo $LD_LIBRARY_PATH >> /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib:
> > Does this override/exclude the location of libperl.so? >
>> $ perl -v >> This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
> > Hmm, rather old. 5.8.8 is from Jan 2006. Current is 5.16.0 > That said, I *did* test this Text::CSV_XS release on perls > all the way back to 5.6.1 (which includes all 5.8.x builds) >
>> ----- >> Error message: >> $ make test >> cp CSV_XS.pm blib/lib/Text/CSV_XS.pm >> /usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap >> /usr/share/perl/5.8/ExtUtils/typemap CSV_XS.xs > CSV_XS.xsc && mv >> CSV_XS.xsc >> CSV_XS.c >> cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN >> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE >> -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\" -fPIC >> "-I/usr/lib/perl/5.8/CORE" CSV_XS.c >> Running Mkbootstrap for Text::CSV_XS () >> chmod 644 CSV_XS.bs >> rm -f blib/arch/auto/Text/CSV_XS/CSV_XS.so >> cc -shared -L/usr/lib -lperl -L/usr/local/lib CSV_XS.o -o >> blib/arch/auto/Text/CSV_XS/CSV_XS.so \ >> \ >> >> /usr/bin/ld: cannot find -lperl >> collect2: ld returned 1 exit status >> make: *** [blib/arch/auto/Text/CSV_XS/CSV_XS.so] Fehler 1
> > Your (system) perl was built with -Duseshrplib causing the need for > -lperl, but the distribution did not correctly include the -L the the > location in the lddflags. Blame your distribution! > > $ locate libperl.so > /usr/lib/perl5/5.14.2/i586-linux-thread-multi/CORE/libperl.so > /usr/lib/perl5/5.14.2/x86_64-linux-thread-multi/CORE/libperl.so > > so, your Makefile should probably include something like > > -L/usr/lib/perl5/5.8.8/i486-linux-gnu/CORE > > check if that location has libperl.so and add that before -lperl >
>> ----- >> $ perl -V >> Summary of my perl5 (revision 5 version 8 subversion 8) configuration: >> Platform: >> osname=linux, osvers=2.6.18-5-686-bigmem, >> archname=i486-linux-gnu-thread-multi >> uname='linux buildserv 2.6.18-5-686-bigmem #1 smp mon dec 24 17:55:42 >> utc >> 2007 i686 gnulinux ' >> config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN >> -Dlddlflags=-shared -L/usr/lib -lperl -Dcccdlflags=-fPIC >> -Darchname=i486-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8 >> -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr >> -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 >> -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.8 >> -Dsitearch=/usr/local/lib/perl/5.8.8 -Dman1dir=/usr/share/man/man1 >> -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 >> -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl >> -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm >> -Duseshrplib -Dlibperl=libperl.so.5.8.8 -Dd_dosuid -des'
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > which indicates that -lperl should in fact load libperl.so.5.8.8 > where one would expect libperl.so to be a symbolic link to it > > if not, your distribution made another error by requiring -lperl >
>> hint=recommended, useposix=true, d_sigaction=define >> usethreads=define use5005threads=undef useithreads=define >> usemultiplicity=define >> useperlio=define d_sfio=undef uselargefiles=define usesocks=undef >> use64bitint=undef use64bitall=undef uselongdouble=undef >> usemymalloc=n, bincompat5005=undef >> Compiler: >> cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS >> -DDEBIAN >> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE >> -D_FILE_OFFSET_BITS=64', >> optimize='-O2', >> cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN >> -fno-strict-aliasing -pipe -I/usr/local/include' >> ccversion='', gccversion='4.1.2 20061115 (prerelease) (Debian >> 4.1.1-21)', >> gccosandvers='' >> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 >> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 >> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', >> lseeksize=8 >> alignbytes=4, prototype=define >> Linker and Libraries: >> ld='cc', ldflags =' -L/usr/local/lib' >> libpth=/usr/local/lib /lib /usr/lib >> libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt >> perllibs=-ldl -lm -lpthread -lc -lcrypt >> libc=/lib/libc-2.3.6.so, so=so, useshrplib=true, >> libperl=libperl.so.5.8.8 >> gnulibc_version='2.3.6' >> Dynamic Linking: >> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' >> cccdlflags='-fPIC', lddlflags='-shared -L/usr/lib -lperl >> -L/usr/local/lib'
> > This is how your perl was built, but libperl.so is missing in /usr/lib > > # ln -s /usr/lib/perl5/5.8.8/i486-linux-gnu/CORE/libperl.so.5.8.8 > /usr/lib/libperl.so > > could give you instant success > > Maybe a much better option is to check if your distribution builds > Text::CSV_XS as a package and install it from the package repository > > -- > H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ > using perl5.00307 .. 5.14 porting perl5 on HP-UX, AIX, and openSUSE > http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ > http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/ > >
Subject: Re: [rt.cpan.org #77948] Installation of Text-CSV_XS-0.90 failed
Date: Thu, 21 Jun 2012 22:17:17 +0200
To: bug-Text-CSV_XS [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Thu, 21 Jun 2012 14:14:37 -0400, "Christian Merz via RT" <bug-Text-CSV_XS@rt.cpan.org> wrote: Show quoted text
> Thank you very much! > Installation worked fine! > I had to use another link... > > I did: > # ln -s /usr/lib/libperl.so.5.8.8 /usr/lib/libperl.so > $ make clean > $ perl Makefile.PL LIB=~/lib
$ perl Makefile.PL PREFIX=~/lib Show quoted text
> $ make test > # make install > > and finally > $ ln -s ~/lib/i486-linux-gnu-thread-multi/Text ~/lib/Text
Wrong! Show quoted text
> But the module still cannot be found: > > $ perl -I~/lib myprog.pl > Can't locate Text/CSV_XS.pm in @INC (@INC contains: ~/lib /etc/perl > /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 > /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 > /usr/local/lib/site_perl .) at myprog.pl line 5. > BEGIN failed--compilation aborted at testtabelle.pl.txt line 5. > > --- > But it is in the right place, I think: > > $ ll ~/lib/Text/* > -r--r--r-- 1 root root 56227 2012-06-07 16:24 ~/lib/Text/CSV_XS.pm > > What's wrong?
CSV_XS.pm is not the only thing that gets installed -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.14 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Subject: Re: [rt.cpan.org #77948] Installation of Text-CSV_XS-0.90 failed
Date: Fri, 22 Jun 2012 12:19:26 +0200
To: bug-Text-CSV_XS [...] rt.cpan.org
From: "Christian Merz" <christian.merz [...] muenchen.de>
Thanx. Now it worked! $ cd Text-CSV_XS-0.90 $ make clean $ perl Makefile.PL PREFIX=~/libperl $ make test $ make install # no sudo required ! myprog.pl: use Text::CSV_XS; # !correct invocation of module, in my case:! $ perl -I $HOME/libperl/lib/perl/5.8.8 myprog.pl Am Do, 21.06.2012, 22:17 schrieb h.m.brand@xs4all.nl via RT: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=77948 > > > On Thu, 21 Jun 2012 14:14:37 -0400, "Christian Merz via RT" > <bug-Text-CSV_XS@rt.cpan.org> wrote: >
>> Thank you very much! >> Installation worked fine! >> I had to use another link... >> >> I did: >> # ln -s /usr/lib/libperl.so.5.8.8 /usr/lib/libperl.so >> $ make clean >> $ perl Makefile.PL LIB=~/lib
> $ perl Makefile.PL PREFIX=~/lib >
>> $ make test >> # make install >> >> and finally >> $ ln -s ~/lib/i486-linux-gnu-thread-multi/Text ~/lib/Text
> > Wrong! >
>> But the module still cannot be found: >> >> $ perl -I~/lib myprog.pl >> Can't locate Text/CSV_XS.pm in @INC (@INC contains: ~/lib /etc/perl >> /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 >> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 >> /usr/local/lib/site_perl .) at myprog.pl line 5. >> BEGIN failed--compilation aborted at testtabelle.pl.txt line 5. >> >> --- >> But it is in the right place, I think: >> >> $ ll ~/lib/Text/* >> -r--r--r-- 1 root root 56227 2012-06-07 16:24 ~/lib/Text/CSV_XS.pm >> >> What's wrong?
> > CSV_XS.pm is not the only thing that gets installed > > -- > H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ > using perl5.00307 .. 5.14 porting perl5 on HP-UX, AIX, and openSUSE > http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ > http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/ > >