[cpan Q] Failure to finish installing using cpan [File::ReadBackwards
by reader » Sun, 27 Sep 2009 23:32:24 GMT
I wasn't able to figure out what is happening when cpan fails on
File::ReadBackwards:
I'm hoping someone will be able to see what the problem is.
Tail of output from (inside cpan shell) `install File::ReadBackwards':
[...]
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/bw..............ok
t/large_file......ok
All tests successful.
Files=2, Tests=173, 6 wallclock secs ( 0.08 usr 0.00 sys + 2.34 cusr 0.34 csys = 2.76 CPU)
Result: PASS
URI/File-ReadBackwards-1.04.tar.gz
/usr/bin/make test -- OK
Running make install
Prepending %BUILDDIR%/File-ReadBackwards-1.04-w8D8Le/blib/arch %BUILDDIR%/File-ReadBackwards-1.04-w8D8Le/blib/lib %BUILDDIR%/FastGlob-1.3-rwXmzT/blib/arch %BUILDDIR%/FastGlob-1.3-rwXmzT/blib/lib %BUILDDIR%/FLV-Info-0.24-ECal3c/blib/arch %BUILDDIR%/FLV-Info-0.24-ECal3c/blib/lib %BUILDDIR%/CPAN-DistnameInfo-0.08-GgzLym/blib/arch %BUILDDIR%/CPAN-DistnameInfo-0.08-GgzLym/blib/lib %BUILDDIR%/DBD-SQLite-1.25-q3OPud/blib/arch %BUILDDIR%/DBD-SQLite-1.25-q3OPud/blib/lib %BUILDDIR%/ExtUtils-MakeMaker-6.52-JcOohe/blib/arch %BUILDDIR%/ExtUtils-MakeMaker-6.52-JcOohe/blib/lib to PERL5LIB; %BUILDDIR%=/usr/local/cpan/build for 'install'
Installing /usr/local/lib/perl5/site_perl/5.8.8/File/ReadBackwards.pm
Installing /usr/local/share/man/man3/File::ReadBackwards.3pm
Appending installation info to /usr/local/lib/perl5/5.8.8/i686-linux/perllocal.pod
make: *** No rule to make target `1'. Stop.
URI/File-ReadBackwards-1.04.tar.gz
/usr/bin/make install 1 -- NOT OK
Failed during this command:
URI/File-ReadBackwards-1.04.tar.gz : install NO
Re: [cpan Q] Failure to finish installing using cpan [File::ReadBackwards
by phair.kevin » Tue, 29 Sep 2009 10:03:02 GMT
Did you check to see if it was actually installed? The above looks like
it succesfully ran "make install", and then for some reason ran "make
install 1", which failed.
Similar Threads:
1.CPAN install failure...
2.CPAN install failure - help?
3.CPAN and DBD::mysql install failure
I am having trouble getting CPAN to install DBD::mysql. Unfortunately
I am not certain what the error means. From looking in previous posts
I saw that mysql_config may have the wrong paths stated. So I fixed
those. But I am still getting the error below. Can anyone point me
towards the solution?
It seems it can't find dbdimp.o and mysql.o. This is true...they don't
exist on the system. But what are they and what program is responsible
for generating them?
gcc3.3.2
perl 5.8.6
solaris 9
mysql 5.0.3 (beta)
"make" is available as I just previously installed CGI and DBI without
issue
ERROR:
<snip>
Checking if your kit is complete...
Looks good
Using DBI 1.48 (for perl 5.008006 on sun4-solaris) installed in
/usr/local/lib/perl5/site_perl/5.8.6/sun4-solaris/auto/DBI/
Writing Makefile for DBD::mysql
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -c -I/usr/local/lib/perl5/site_perl/5.8.6/sun4-solaris/auto/DBI/
-I/usr/local/mysql5/include -Xa -xstrconst -mt -D_FORTEC_ -xarch=v9
-DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"2.9006\" -DXS_VERSION=\"2.9006\" -fPIC
"-I/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE" dbdimp.c
gcc: unrecognized option `-Xa'
gcc: language arch=v9 not recognized
gcc: dbdimp.c: linker input file unused because linking not done
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g"
/usr/local/lib/perl5/site_perl/5.8.6/sun4-solaris/auto/DBI//Driver.xst
> mysql.xsi
/usr/bin/perl /usr/local/lib/perl5/5.8.6/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.6/ExtUtils/typemap mysql.xs > mysql.xsc && mv
mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line
196
Warning: duplicate function definition 'rows' detected in mysql.xs,
line 294
gcc -c -I/usr/local/lib/perl5/site_perl/5.8.6/sun4-solaris/auto/DBI/
-I/usr/local/mysql5/include -Xa -xstrconst -mt -D_FORTEC_ -xarch=v9
-DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"2.9006\" -DXS_VERSION=\"2.9006\" -fPIC
"-I/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE" mysql.c
gcc: unrecognized option `-Xa'
gcc: language arch=v9 not recognized
gcc: mysql.c: linker input file unused because linking not done
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/lib" /usr/bin/perl myld gcc -G -L/usr/local/lib
dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so
-L/usr/local/mysql5/lib -lmysqlclient -lz -lposix4 -lcrypt -lgen
-lsocket -lnsl -lm
gcc: dbdimp.o: No such file or directory
gcc: mysql.o: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target
`blib/arch/auto/DBD/mysql/mysql.so'
/usr/ccs/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
cpan>
4.Upgrading to CPAN.pm v1.76 install Bundle::CPAN fails
5.[OT cpan] How to paginate cpan output when inside cpan shell
I'm sorry to bring this here.. I suppose there may be a more
appropriate group... I don't know it if there it.
When inside the cpan shell:
How can I force the output of cpan cmds to run thru some kind of
pager so that I can see page by page what the content is?
6. installing modules using cpan>
7. error with using CPAN> install Date::Manip
8. Using CPAN.pm with multiple perl installs