Hi list, Very much inspired by the sideeffects of Security Update 2009-001 and the need to test http://backuppc.sourceforge.net I am now trying to use cpan installed via fink. Unfortunetaly I am experiencing (for me) big difficulties.
I have tested on two fully updated different (PPC) 10.5.6 testmachines one Mac OS X Server, the other Mac OS X Client. Both give me the same problems… (One test was allowed to use the unstabkle branch, the other only the stable branch). Heres the complete description of my experiences (MAYBE step #9 is the most relevant one!)? PS.: I am wondering why there is not a fink supplied perl version 588. I just read on another thread, that fink does not provide the same version of perl as the OS. Due to the sideeffects of the Security Update 2009-001 I wnat/need to be able to leave Apple's perl installation (well the cpan part) untouched. How can I acheive this via fink? - Maybe my limited perl knowledge is why I can't seem to figure out how to do this, please enlighten me. 1. I installed fink (fink-0.9.0-full.tar.gz as well as Fink-0.9.0-PowerPC-Installer.dmg) 2. Updated fink test:~ ladmin$ sudo fink selfupdate (installed Fink 10.5-0.9.0.2) test:~ ladmin$ sudo fink update-all (No packages to install.) 3. Installed perl586 * sudo fink -b install perl586 Got one warning - assuming it's not a problem: WARNING: Fink::Services: Illegal version specification: <= 2.34_01-10 at 'getopt-long-pm581-man (<= 2.34_01-10)' in perl586 4. Verified that I was using the fink supplied perl for my cpan configuration test:~ ladmin$ which perl /sw/bin/perl 5. Launched cpan sudo cpan Configurering cpan with the default answer except for one parameter: "Policy on building prerequisites (follow, ask or ignore)? [ask] follow" (I don't want to have to press OK all the time delaying my TEST installation) 6. Noting that the fink provided tools are indeed being used as well as the latest version of xcode (xcode312_2621_developerdvd) … Where is your gzip program? [/sw/bin/gzip] Where is your tar program? [/sw/bin/tar] Where is your unzip program? [/sw/bin/unzip] Where is your make program? [/usr/bin/make] … commit: wrote /sw/lib/perl5-core/5.8.6/CPAN/Config.pm Terminal does not support AddHistory. cpan shell -- CPAN exploration and modules installation (v1.7601) ReadLine support available (try 'install Bundle::CPAN') 7. Tried to update cpan cpan> install Bundle::CPAN There's a new CPAN.pm version (v1.9304) available! [Current version is v1.7601] 8. Getting a lot of errors (showing the relevant ones): # Tried to use 'Compress::Raw::Bzip2'. # Error: Can't locate Compress/Raw/Bzip2.pm … # Tried to use 'Archive::Zip'. # Error: Can't locate Compress/Zlib.pm in @INC … CPAN.pm: Going to build E/EW/EWILHELM/Module-Build-0.32.tar.gz # running Build.PL /sw/bin/perl5.8.6 Build.PL Checking whether your kit is complete... Looks good Checking prerequisites... - ERROR: Test::More (0.47) is installed, but we need version >= 0.49 - ERROR: File::Temp (0.14) is installed, but we need version >= 0.15 8 . Quitting cpan and relaunching now no longer posssible due to error: Can't locate Mac/Files.pm in @INC (@INC contains: /sw/lib/perl5-core/5.8.6/darwin-thread-multi-2level /sw/lib/perl5-core/5.8.6 /sw/lib/perl5/site_perl/5.8.6/darwin-thread-multi-2level /sw/lib/perl5/site_perl/5.8.6 /sw/lib/perl5/site_perl/5.8.6/darwin-thread-multi-2level /sw/lib/perl5/site_perl /Users/ladmin) at /sw/lib/perl5/site_perl/5.8.6/File/HomeDir/Darwin.pm line 66. 9. Googling for this error finds this interesting articel: http://www.codeweavers.com/support/wiki/CXOfficeMacPerl States that my perl configuration may be messed up by fink The test system does indeed have the file "/Library/Perl/5.8.8/AppendToPath" with the correct content, but I am sure it not known to the fink supplied version of perl. The (Mac OS X provided) Files.pm is indeed also present (as expected :) /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level/Mac/Files.pm 10. I tried to install Mac:Files manually http://search.cpan.org/~cnandor/Mac-Carbon-0.77/Files/Files.pm perl Makefile.PL make make test make install but received also many errors: Result: FAIL Failed 1/18 test programs. 0/2800 subtests failed. make: *** [test_dynamic] Error 255 * During this installation I get som feedback in my native language (danish): "Vælger tidligere fravalgt pakke perl586." I would really like to get all my feedback in english thus making in easier to debug. I guess that this behavior is due to my choice of danish mirrors? Is this correct? How can I change fink so that it speaks english to me ;-)? BR TvE ------------------------------------------------------------------------------ _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
