On Wednesday, January 9, 2002, at 11:31 , Simon Troup wrote:
>
>
SNIP
> Running make test
>   Can't test without successful make
> Running make install
>   make had returned bad status, install seems impossible
>
SNIP

Here's what I did.  I followed the advice of Elaine -HFB- Ashton and 
looked at my CPAN Config.pm file in it I found that _MY_ Config.pm file 
had "blanks" next to important settings like tar, unzip and make.  
Filling in those blanks fixed CPAN.

Here are the steps I took:

cd /System/Library/Perl/CPAN
sudo perl -MCPAN -e shell

At the CPAN shell I typed
o conf

o conf allowed me to look a my configuration.  If you see things like:

make

then you need to adjust those settings.  CPAN can't find make.  That's 
bad.  To figure out where these programs are you can type:

which make

Which should return:

/usr/bin/make

Mostly the programs listed in o conf should be in /usr/bin but I would 
check.

To edit Config.pm you'll need to do something like this:

sudo emacs Config.pm  (choose the editor of _your_ choice)

You'll now see entries like:

'make' => q[ ],

You'll want them to look like this:

'make' => q [/usr/bin/make],

Not every entry in my Config.pm has a setting.  For instance I don't 
have lynx, and so there's no entry.  Keep two terminals open while you 
do this.  So if here is an entry and you're not sure about it you can do 
a which #### on the entry to see where/if you have it.

Good luck

Oh and if  you choose emacs CTRL-S will save and CTRL-C will get you out 
of emacs.

--
I didn't spend all that time playing Dungeons & Dragons and not learn a 
little something about courage

Reply via email to