PDA

View Full Version : Perl CPAN Imager Installation Woes!


freshness
29th May 2006, 19:02
Hey there,

First off, I have little or no Unix experience! :D I've been left in the lurch after our IT chap decided he no longer enjoyed his job at my company, and this has landed on my shoulders.

I've been trying to configure CPAN on Fedora Core 2 all afternoon.

I upgraded it to the latest version, but whenever I try to install *any* perl module (for example Imager) I get the following error:

cpan> install Imager
Running install for module Imager
Running make for T/TO/TONYC/Imager-0.51.tar.gz
Is already unwrapped into directory /root/.cpan/build/Imager-0.51
Has already been processed within this session
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible

To me, it feels like CPAN can't find the MAKE command (excuse my naive Unix approach here...!!) I have been crawling Google and MSN for most of the day, but sadly this is going a few inches above my head.

The configuration path to MAKE is '/usr/bin/make' which is just the default path that the CPAN configuration script suggested. How can I verify this path is correct?

falko
30th May 2006, 01:39
Please install make:
yum install make

freshness
30th May 2006, 11:54
Thanks for your reply. I tried that, and this is what I now get:
yum install make
Gathering header information file(s) from server(s)
Server: Fedora Core 2 - i386 - Base
Server: Fedora Core 2 - i386 - Released Updates
Finding updated packages
Downloading needed headers
make is installed and is the latest version.
No actions to take

Thanks for your help!

falko
30th May 2006, 16:48
You can try to install Imager-0.51.tar.gz manually. Unpack it, go to the new directory and run
./configure
make
make test
make install