Subject: | CPANPLUS can't install PathTools 3.04 |
Hello Jos,
As I said on IRC, PathTools 3.04 can't be installed using CPANPLUS, while it perfectly works when manually installing. I attach a complete log of the CPANPLUS session.
Version of softwares used in this case:
Perl 5.8.3 (Mandrake Linux i386)
CPANPLUS::Backend 0.053
IPC::Cmd 0.24
IPC::Run not installed
I had exactly the same problem on a newer Mandrake with Perl 5.8.5 and IPC::Run 0.78.
Regards
CPAN Terminal> i Cwd
Installing Cwd
[MSG] Trying to get 'http://inst.aacom.fr/cpan/authors/id/K/KW/KWILLIAMS/PathTools-3.04.tar.gz'
[MSG] Trying to get 'http://inst.aacom.fr/cpan/authors/id/K/KW/KWILLIAMS/CHECKSUMS'
[MSG] Checksum matches for 'PathTools-3.04.tar.gz'
[MSG] Extracted 'PathTools-3.04/'
[MSG] Extracted 'PathTools-3.04/Build.PL'
[MSG] Extracted 'PathTools-3.04/Changes'
[MSG] Extracted 'PathTools-3.04/Cwd.pm'
[MSG] Extracted 'PathTools-3.04/Cwd.xs'
[MSG] Extracted 'PathTools-3.04/INSTALL'
[MSG] Extracted 'PathTools-3.04/lib/'
[MSG] Extracted 'PathTools-3.04/lib/File/'
[MSG] Extracted 'PathTools-3.04/lib/File/Spec/'
[MSG] Extracted 'PathTools-3.04/lib/File/Spec/Cygwin.pm'
[MSG] Extracted 'PathTools-3.04/lib/File/Spec/Epoc.pm'
[MSG] Extracted 'PathTools-3.04/lib/File/Spec/Functions.pm'
[MSG] Extracted 'PathTools-3.04/lib/File/Spec/Mac.pm'
[MSG] Extracted 'PathTools-3.04/lib/File/Spec/OS2.pm'
[MSG] Extracted 'PathTools-3.04/lib/File/Spec/Unix.pm'
[MSG] Extracted 'PathTools-3.04/lib/File/Spec/VMS.pm'
[MSG] Extracted 'PathTools-3.04/lib/File/Spec/Win32.pm'
[MSG] Extracted 'PathTools-3.04/lib/File/Spec.pm'
[MSG] Extracted 'PathTools-3.04/Makefile.PL'
[MSG] Extracted 'PathTools-3.04/MANIFEST'
[MSG] Extracted 'PathTools-3.04/META.yml'
[MSG] Extracted 'PathTools-3.04/ppport.h'
[MSG] Extracted 'PathTools-3.04/SIGNATURE'
[MSG] Extracted 'PathTools-3.04/t/'
[MSG] Extracted 'PathTools-3.04/t/crossplatform.t'
[MSG] Extracted 'PathTools-3.04/t/cwd.t'
[MSG] Extracted 'PathTools-3.04/t/Functions.t'
[MSG] Extracted 'PathTools-3.04/t/lib/'
[MSG] Extracted 'PathTools-3.04/t/lib/Test/'
[MSG] Extracted 'PathTools-3.04/t/lib/Test/Builder.pm'
[MSG] Extracted 'PathTools-3.04/t/lib/Test/More.pm'
[MSG] Extracted 'PathTools-3.04/t/lib/Test/Simple.pm'
[MSG] Extracted 'PathTools-3.04/t/lib/Test/Tutorial.pod'
[MSG] Extracted 'PathTools-3.04/t/rel2abs2rel.t'
[MSG] Extracted 'PathTools-3.04/t/Spec.t'
[MSG] Extracted 'PathTools-3.04/t/taint.t'
[MSG] Extracted 'PathTools-3.04/t/win32.t'
[MSG] Extracted 'Cwd' to '/root/.cpanplus/5.8.3/build/PathTools-3.04'
/usr/bin/perl5.8.3 -I/usr/lib/perl5/site_perl/5.8.3/CPANPLUS/inc/installers Build.PL
Creating custom builder _build/lib/MyModuleBuilder.pm in _build/lib
Checking whether your kit is complete...
Looks good
Creating new 'Build' script for 'PathTools' version '3.04'
lib/File/Spec/OS2.pm -> blib/lib/File/Spec/OS2.pm
lib/File/Spec/Mac.pm -> blib/lib/File/Spec/Mac.pm
lib/File/Spec/VMS.pm -> blib/lib/File/Spec/VMS.pm
lib/File/Spec/Functions.pm -> blib/lib/File/Spec/Functions.pm
lib/File/Spec/Epoc.pm -> blib/lib/File/Spec/Epoc.pm
lib/File/Spec/Cygwin.pm -> blib/lib/File/Spec/Cygwin.pm
lib/File/Spec.pm -> blib/lib/File/Spec.pm
lib/File/Spec/Unix.pm -> blib/lib/File/Spec/Unix.pm
lib/File/Spec/Win32.pm -> blib/lib/File/Spec/Win32.pm
Cwd.xs -> lib/Cwd.xs
lib/Cwd.xs -> lib/Cwd.c
gcc -I/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE -fPIC -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -o lib/Cwd.o lib/Cwd.c
lib/Cwd.xs:5:20: ppport.h: No such file or directory
[ERROR] Could not run 'Build': error building .o file from 'lib/Cwd.c' at /loader/0x806af0c/Module/Build/Base.pm line 2486, <File0000> line 474.
[MSG] Fetching: 'http://testers.cpan.org/show/PathTools.yaml'
[MSG] 'fail' already reported for 'PathTools-3.04', not cc-ing the author
Test report prepared for module 'Cwd'.
Would you like to send it? (You can edit it if you like)
Would you like to send the test report? [y/N]:
[MSG] Ok, not sending test report
[ERROR] Unable to create a new distribution object for 'Cwd' -- cannot continue
Error installing 'Cwd'
Problem installing one or more modules
CPAN Terminal>
Exiting CPANPLUS shell
[MSG] Writing state information back to disk. This may take a little while.
root@falcon:~# cd .cpanplus/5.8.3/build/PathTools-3.04/
root@falcon:~/.cpanplus/5.8.3/build/PathTools-3.04# perl Build.PL
Deleting _build
Creating custom builder _build/lib/MyModuleBuilder.pm in _build/lib
Checking whether your kit is complete...
Looks good
Deleting Build
Removed previous script 'Build'
Creating new 'Build' script for 'PathTools' version '3.04'
root@falcon:~/.cpanplus/5.8.3/build/PathTools-3.04# ./Build
ppport.h -> lib/ppport.h
Cwd.pm -> blib/lib/Cwd.pm
gcc -I/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE -fPIC -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -o lib/Cwd.o lib/Cwd.c
ExtUtils::Mkbootstrap::Mkbootstrap('lib/Cwd')
gcc -shared -L/usr/local/lib -o blib/arch/auto/Cwd/Cwd.so lib/Cwd.o
Manifying blib/lib/File/Spec/VMS.pm -> blib/libdoc/File::Spec::VMS.3pm
Manifying blib/lib/File/Spec/Win32.pm -> blib/libdoc/File::Spec::Win32.3pm
Manifying blib/lib/Cwd.pm -> blib/libdoc/Cwd.3pm
Manifying blib/lib/File/Spec/Functions.pm -> blib/libdoc/File::Spec::Functions.3pm
Manifying blib/lib/File/Spec/Unix.pm -> blib/libdoc/File::Spec::Unix.3pm
Manifying blib/lib/File/Spec/Epoc.pm -> blib/libdoc/File::Spec::Epoc.3pm
Manifying blib/lib/File/Spec.pm -> blib/libdoc/File::Spec.3pm
Manifying blib/lib/File/Spec/Mac.pm -> blib/libdoc/File::Spec::Mac.3pm
Manifying blib/lib/File/Spec/OS2.pm -> blib/libdoc/File::Spec::OS2.3pm
Manifying blib/lib/File/Spec/Cygwin.pm -> blib/libdoc/File::Spec::Cygwin.3pm
root@falcon:~/.cpanplus/5.8.3/build/PathTools-3.04# ./Build test
t/Functions........ok
t/Spec.............ok
83/466 skipped: various reasons
t/crossplatform....ok
7/50 skipped: Can't load File::Spec::VMS
t/cwd..............ok
t/rel2abs2rel......ok
t/taint............ok
t/win32............skipped
all skipped: this is not win32
All tests successful, 1 test and 90 subtests skipped.
Files=7, Tests=571, 3 wallclock secs ( 0.62 cusr + 0.16 csys = 0.78 CPU)