|Subject:||Inappropriate dependency on platforms other than Windows|
ExtUtils::Install is dependent upun Win32API::File on both Solaris and Mac OS X platforms (upon which Win32API::File does not build properly). The following is from an attempt to install ExtUtils::Install on a Sun Ultra 30 runnung Solaris 10. Perl version is 5.8.8. The same results are seen on a Mac iBook running Mac OS X 10.3.9 (Perl 5.8.8): CPAN: Module::Build loaded ok CPAN.pm: Going to build Y/YV/YVES/ExtUtils-Install-1.38.tar.gz Checking if your kit is complete... Looks good Writing Makefile for ExtUtils::Install CPAN: YAML loaded ok ---- Unsatisfied dependencies detected during [Y/YV/YVES/ExtUtils-Install-1.38.tar.gz] ----- Win32API::File Shall I follow them and prepend them to the queue of modules we are processing right now? [yes] CPAN.pm: Going to build T/TY/TYEMQ/Win32API-File-0.09.zip Checking if your kit is complete... Looks good Writing Makefile for Win32API::File make: Fatal error in reader: Makefile, line 967: Unexpected end of line seen /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 Note: Installation of ExtUtils::Install appears to succedd, but because the dependency remains unsatisifed appears only partial: Running make for Y/YV/YVES/ExtUtils-Install-1.38.tar.gz Is already unwrapped into directory /var/.cpan/tw25440/build/ExtUtils-Install-1.38 CPAN.pm: Going to build Y/YV/YVES/ExtUtils-Install-1.38.tar.gz cp lib/ExtUtils/Installed.pm blib/lib/ExtUtils/Installed.pm cp lib/ExtUtils/Install.pm blib/lib/ExtUtils/Install.pm cp lib/ExtUtils/Packlist.pm blib/lib/ExtUtils/Packlist.pm Manifying blib/man3/ExtUtils::Installed.3pm Manifying blib/man3/ExtUtils::Install.3pm Manifying blib/man3/ExtUtils::Packlist.3pm /usr/ccs/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Install.........ok t/Installed.......ok t/Packlist........ok t/pod-coverage....skipped all skipped: Skipping author tests. Set AUTHOR_TESTING=1 to run them. t/pod.............ok All tests successful, 1 test skipped. Files=5, Tests=120, 8 wallclock secs ( 6.28 cusr + 0.79 csys = 7.07 CPU) /usr/ccs/bin/make test -- OK Running make install Password: Writing /usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris-thread-multi-64int-ld/auto/ ExtUtils/Install/.packlist Appending installation info to /usr/local/lib/perl5/5.8.8/sun4-solaris-thread-multi-64int- ld/perllocal.pod /usr/local/bin/sudo /usr/ccs/bin/make install -- OK Failed during this command: TYEMQ/Win32API-File-0.09.zip : make NO Note that the install of ExtUtils::Install appears to have succeeded, however CPAN (v1.87) disagrees:
Show quoted text
cpan> rPackage namespace installed latest in CPAN file ExtUtils::Install 1.33 1.38 YVES/ExtUtils-Install-1.38.tar.gz whether this is a bug in CPAN (which is reporting a module as not installed when it is), in Win32API::File (which fails to build when it should not even attempt to do so on Solaris or Darwin) or in ExtUtils::Install (which should not be dependent on a Win32 API module on Solaris or Darwin) I'm not sure, but I'm reporting this on ExtUtils::Install as I've not seen this with any other module. Note also bug 6742 in which ExtUtils::Install reports a successful installation which, in fact, failed.