I've been attempting to build Scalar-List-Utils-1.17 with perl5.004, but I've encountered a circular dependency in the modules that get used by the build process
$ cd Scalar-List-Utils-1.17 $ perl5.004 Makefile.PL Can't locate File/Spec.pm in @INC at inc/Module/Install/Can.pm - /Users/gbarr/Library/Perl/Module/Install/Can.pm line 7. BEGIN failed--compilation aborted at inc/Module/Install/Can.pm - /Users/gbarr/Library/Perl/Module/Install/Can.pm line 7. Global symbol "self" requires explicit package name at inc/Module/Install/Makefile.pm - /Users/gbarr/Library/Perl/Module/Install/Makefile.pm line 80. Global symbol "args" requires explicit package name at inc/Module/Install/Makefile.pm - /Users/gbarr/Library/Perl/Module/Install/Makefile.pm line 86. syntax error at inc/Module/Install/Makefile.pm - /Users/gbarr/Library/Perl/Module/Install/Makefile.pm line 77, near "} for " syntax error at inc/Module/Install/Makefile.pm - /Users/gbarr/Library/Perl/Module/Install/Makefile.pm line 95, near "}" The 'can_cc' method does not exist in the 'inc' path! Please remove the 'inc' directory and run Makefile.PL again to load it. OK, so I next tried to build File-Spec-0.90 $ cd File-Spec-0.90 $ perl5.004 Build.PL Can't locate Module/Build.pm in @INC at Build.PL line 1. BEGIN failed--compilation aborted at Build.PL line 1. Ok, so I now try Module-Build-0.2611 $ cd Module-Build-0.2611 $ perl5.004 Build.PL Can't locate File/Spec.pm in @INC at Build.PL line 5. BEGIN failed--compilation aborted at Build.PL line 5. Ugh! Circular dependency between File-Spec and Module-Build. Ahh, but both File-Spec and Module-Build ship with a Makefile.PL, so let's try that route $ cd ../Module-Build-0.2611 $ perl5.004 Makefile.PL Can't locate File/Spec.pm in @INC at lib/Module/Build/Compat.pm line 7. BEGIN failed--compilation aborted at lib/Module/Build/Compat.pm line 7. BEGIN failed--compilation aborted at Makefile.PL line 6. And now File-Spec $ cd ../File-Spec-0.90 $ perl5.004 Makefile.PL Warning: prerequisite Cwd 2.17_02 not found at (eval 1) line 221. Warning: prerequisite Test 0 not found at (eval 1) line 221. Warning: prerequisite Test::More 0 not found at (eval 1) line 221. Writing Makefile for File::Spec Hmm, no circular dependency anymore, but we have a few more dependencies. Looking at the first, Cwd $ cd Cwd-2.21 $ perl5.004 Build.PL Can't locate Module/Build.pm in @INC at Build.PL line 1. BEGIN failed--compilation aborted at Build.PL line 1. Hmm, the dependency chain is Cwd -> Module::Build -> File::Spec -> Cwd Try the Makefile.PL that ships with Cwd $ cd Cwd-2.21 $ perl5.004 Makefile.PL Warning: prerequisite File::Spec 0 not found at (eval 1) line 221. Warning: prerequisite Scalar::Util 0 not found at (eval 1) line 221. Warning: prerequisite Test::More 0 not found at (eval 1) line 221. Warning: prerequisite XSLoader 0 not found at (eval 1) line 221. Writing Makefile for Cwd And we are back in circular dependency mode again. Cwd-> File::Spec -> Cwd Is there any way out of this "maze of twisty little passages"? Paul ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com