Skip Menu |

This queue is for tickets about the Cairo CPAN distribution.

Report information
The Basics
Id: 60116
Status: resolved
Priority: 0/
Queue: Cairo

People
Owner: Nobody in particular
Requestors: justincase [...] yopmail.com
Cc:
AdminCc:

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



Subject: CPAN fails to install Cairo
I can't seem to be able to install Cairo through CPAN. It says it depends on ExtUtils::Depends, and successfully installs it. However, it still cannot find it. Below is the transcript of the session: Show quoted text
cpan> install Cairo
CPAN: Storable loaded ok Going to read /home/bob/.cpan/Metadata Database was generated on Thu, 05 Aug 2010 15:29:56 GMT Running install for module Cairo Running make for T/TS/TSCH/Cairo-1.061.tar.gz CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for /home/bob/.cpan/sources/authors/id/T/TS/TSCH/Cairo-1.061.tar.gz ok Scanning cache /home/bob/.cpan/build for sizes Cairo-1.061/ Cairo-1.061/examples/ Cairo-1.061/examples/simple.pl Cairo-1.061/examples/png/ Cairo-1.061/examples/png/text-rotate.pl Cairo-1.061/examples/png/splines_tolerance.pl Cairo-1.061/examples/png/stars.pl Cairo-1.061/examples/png/spiral.pl Cairo-1.061/examples/png/outline.pl Cairo-1.061/examples/png/bevels.pl Cairo-1.061/examples/png/caps_joins.pl Cairo-1.061/examples/png/README Cairo-1.061/examples/png/spline-pipeline.pl Cairo-1.061/examples/png/hering.pl Cairo-1.061/examples/png/text.pl Cairo-1.061/examples/freetype-font.pl Cairo-1.061/examples/png-streams.pl Cairo-1.061/t/ Cairo-1.061/t/CairoFt.t Cairo-1.061/t/CairoMatrix.t Cairo-1.061/t/CairoFont.t Cairo-1.061/t/Cairo.t Cairo-1.061/t/CairoPattern.t Cairo-1.061/t/CairoPath.t Cairo-1.061/t/CairoSurface.t Cairo-1.061/CairoFont.xs Cairo-1.061/CairoMatrix.xs Cairo-1.061/MANIFEST Cairo-1.061/TODO Cairo-1.061/inc/ Cairo-1.061/inc/MakeHelper.pm Cairo-1.061/ChangeLog Cairo-1.061/NEWS Cairo-1.061/doctypes Cairo-1.061/CairoPath.xs Cairo-1.061/cairo-perl-private.h Cairo-1.061/CairoPattern.xs Cairo-1.061/CairoFt.xs Cairo-1.061/Cairo.xs Cairo-1.061/MANIFEST.SKIP Cairo-1.061/ppport.h Cairo-1.061/CairoSurface.xs Cairo-1.061/lib/ Cairo-1.061/lib/Cairo.pm Cairo-1.061/cairo-perl.typemap Cairo-1.061/cairo-perl.h Cairo-1.061/README Cairo-1.061/LICENSE Cairo-1.061/Makefile.PL Cairo-1.061/META.yml Removing previously used /home/bob/.cpan/build/Cairo-1.061 CPAN.pm: Going to build T/TS/TSCH/Cairo-1.061.tar.gz This module requires ExtUtils::Depends to install itself. Install ExtUtils::Depends from CPAN? [n] y CPAN: Storable loaded ok Going to read /home/bob/.cpan/Metadata Database was generated on Thu, 05 Aug 2010 15:29:56 GMT Running install for module ExtUtils::Depends Running make for T/TS/TSCH/ExtUtils-Depends-0.302.tar.gz CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for /home/bob/.cpan/sources/authors/id/T/TS/TSCH/ExtUtils-Depends-0.302.tar.gz ok Scanning cache /home/bob/.cpan/build for sizes ExtUtils-Depends-0.302/ ExtUtils-Depends-0.302/t/ ExtUtils-Depends-0.302/t/01_load.t ExtUtils-Depends-0.302/t/inc/ ExtUtils-Depends-0.302/t/inc/DepTest/ ExtUtils-Depends-0.302/t/inc/DepTest/DepTest.dll ExtUtils-Depends-0.302/t/inc/DepTest/DepTest.lib ExtUtils-Depends-0.302/t/inc/DepTest/libDepTest.dll.a ExtUtils-Depends-0.302/t/inc/DepTest/Install/ ExtUtils-Depends-0.302/t/inc/DepTest/Install/.keep ExtUtils-Depends-0.302/t/02_save_load.t ExtUtils-Depends-0.302/t/04_extra_libs.t ExtUtils-Depends-0.302/t/03_deps.t ExtUtils-Depends-0.302/Changes ExtUtils-Depends-0.302/MANIFEST ExtUtils-Depends-0.302/MANIFEST.SKIP ExtUtils-Depends-0.302/META.yml ExtUtils-Depends-0.302/lib/ ExtUtils-Depends-0.302/lib/ExtUtils/ ExtUtils-Depends-0.302/lib/ExtUtils/Depends.pm ExtUtils-Depends-0.302/perl-ExtUtils-Depends.spec.in ExtUtils-Depends-0.302/README ExtUtils-Depends-0.302/Makefile.PL Removing previously used /home/bob/.cpan/build/ExtUtils-Depends-0.302 CPAN.pm: Going to build T/TS/TSCH/ExtUtils-Depends-0.302.tar.gz WARNING: MIN_PERL_VERSION is not a known parameter. WARNING: META_MERGE is not a known parameter. WARNING: LICENSE is not a known parameter. Checking if your kit is complete... Looks good 'LICENSE' is not a known MakeMaker parameter name. 'META_MERGE' is not a known MakeMaker parameter name. 'MIN_PERL_VERSION' is not a known MakeMaker parameter name. Writing Makefile for ExtUtils::Depends cp lib/ExtUtils/Depends.pm blib/lib/ExtUtils/Depends.pm Manifying blib/man3/ExtUtils::Depends.3pm /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01_load..........ok t/02_save_load.....ok t/03_deps..........ok t/04_extra_libs....skipped all skipped: test only applicable to MSWin32 and cygwin All tests successful, 1 test skipped. Files=4, Tests=27, 1 wallclock secs ( 0.39 cusr + 0.11 csys = 0.50 CPU) /usr/bin/make test -- OK Running make install Writing /home/bob/perl/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/ExtUtils/Depends/.packlist Appending installation info to /home/bob/perl/lib64/perl5/5.8.5/x86_64-linux-thread-multi/perllocal.pod /usr/bin/make install -- OK Can't locate ExtUtils/Depends.pm in @INC (@INC contains: /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl) at (eval 22) line 1. BEGIN failed--compilation aborted at (eval 22) line 1. Running make test Make had some problems, maybe interrupted? Won't test Running make install Make had some problems, maybe interrupted? Won't install
On Thu Aug 05 16:14:35 2010, justincase wrote: Show quoted text
> Writing > /home/bob/perl/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread- > multi/auto/ExtUtils/Depends/.packlist > Appending installation info to > /home/bob/perl/lib64/perl5/5.8.5/x86_64-linux-thread- > multi/perllocal.pod
This suggests that CPAN.pm installs ExtUtils::Depends into /home/bob/perl. Show quoted text
> Can't locate ExtUtils/Depends.pm in @INC (@INC contains: > /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/5.8.5 > /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl > /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl) at (eval > 22) line 1.
And this says that perl is not looking in /home/bob/perl for modules. Try setting PERL5LIB=/home/bob/perl/lib64/perl5 in your environment. Or maybe just use local::lib: <http://search.cpan.org/perldoc?local::lib>. Since this doesn't seem to be a problem with the Cairo distribution, I'm closing this bug ticket. But let me know if you continue to have problems.