I have perl 5.8.5 installed into: /usr/local/bin/
I start the CPAN shell via: sudo /usr/local/bin/perl -MCPAN -e shell
I see that Bundle::CPAN needs to be updated:
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try 'install Bundle::CPAN')

..and when I attempt to install it along with its dependencies I get this error a couple of times and the entire thing fails to install:
Running make install
mkdir /usr/local/bin/perl: File exists at /usr/local/lib/perl5/5.8.5/ExtUtils/Install.pm line 112
make: *** [pure_site_install] Error 255
/usr/bin/make install -- NOT OK


Line 112 in Install.pm:
             mkpath($targetdir) unless $nonono;

Huh. I'm really not sure what to make of that. I didn't get the error on my (what I thought was) identical 10.3.5 client system I had JUST updated. The error text doesn't say _which_ file exists.

I hopped into a shell via 'look' (thanks Sherm for pointing that out to me with your reply.. I had seen it in 'help' but just wasn't brave enough to try it) and did the Makefile.PL, make, make test, and make install all manually and got nary an error:
[EMAIL PROTECTED]:~/.cpan/build/Pod-Escapes-1.04 # make install
Installing /usr/local/lib/perl5/site_perl/5.8.5/Pod/Escapes.pm
Installing /usr/local/man/man3/Pod::Escapes.3
Writing /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Pod/Escapes/ .packlist
Appending installation info to /usr/local/lib/perl5/5.8.5/darwin-2level/perllocal.pod


Why did it work manually and not within CPAN? I guess I don't _have_ to update my CPAN bundle, but I'd like to figure this out eventually..

TIA
Ben

--

Benjamin Adair

Central Office Database Programmer/Analyst
Cancer & Leukemia Group B
Phone: 773-702-6731
Fax: 312-345-0117
Email: [EMAIL PROTECTED]
Web: http://www.calgb.org/

Reply via email to