LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Perl Modules Don't Install on Redhat 9 on a VDS from Lycos using Webmin and CPAN (http://www.linuxquestions.org/questions/linux-newbie-8/perl-modules-dont-install-on-redhat-9-on-a-vds-from-lycos-using-webmin-and-cpan-483503/)

coyos 09-14-2006 01:49 PM

Perl Modules Don't Install on Redhat 9 on a VDS from Lycos using Webmin and CPAN
 
Hello everybody,

I just tried installing "Test" with CPAN and got:

Making, testing and installing Test ..

Untarring module file

Executing gunzip -c /tmp/.webmin/Test-1.25.tar.gz | tar xvf - ..

Test-1.25/
Test-1.25/t/
Test-1.25/t/05_about_verbose.t
Test-1.25/t/todo.t
Test-1.25/t/fail.t
Test-1.25/t/qr.t
Test-1.25/t/success.t
Test-1.25/t/multiline.t
Test-1.25/t/mix.t
Test-1.25/t/onfail.t
Test-1.25/t/skip.t
Test-1.25/MANIFEST
Test-1.25/TODO
Test-1.25/MANIFEST.SKIP
Test-1.25/META.yml
Test-1.25/lib/
Test-1.25/lib/Test.pm
Test-1.25/ChangeLog
Test-1.25/README
Test-1.25/Makefile.PL

Compiling module

Executing /usr/bin/perl Makefile.PL && make ..

Checking if your kit is complete...
Looks good
Writing Makefile for Test
sh: line 1: make: command not found

Installation of Test failed. Check the output above and try installing manually.
You can also install the module from CPAN with the command perl -MCPAN -e shell.

It seems that I cannot install any Perl modules.

Does anybody have any advice?

Kind regards

PS: It's been a while since I was last here:
" There have been 386,249 threads and 1,926,414 posts since your last visit."
Crikey! Well, it has been just under 3 years!

alar 09-14-2006 06:00 PM

sh: line 1: make: command not found

I can't remember the perl environment very well. I do recall CPAN.
Looks to me like you need to install some developer tools first though...

Can you 'make' anything? Like in a C environment?

First guess, I think the C development tools will work...
If you have the original RH9 CD, they should be there under development tools.

HTH,
alar

BTW: Where have you been the last three years ;)

coyos 09-14-2006 07:20 PM

In the words of the late great Johnny Cash: "I've been everywhere" ... at least it seems that way.

:newbie:

I used apt-get to make sure that C was on my system and even installed awstats while I was there which put some more Perl stuff on while it was at it. Went back to install Test again and still got:
sh: line 1: make: command not found

Interestingly, when I now go to http://84.244.15.183/doughty/multibl...e/mt-check.cgi I get a 403 Forbidden message despite the files being 755 permissions.

alar 09-14-2006 08:25 PM

Quick check

type
which make

coyos 09-15-2006 02:32 PM

Hi Alar,

Thanks for your help. I typed "which make" and got:

[root@serv-4-15-183 root]# which make
/usr/bin/which: no make in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)

I presume that this message means I need to install something, but I do not know what :-S

coyos 09-15-2006 05:36 PM

Ah... It looks like I needed to do:

apt-get install make

and this has installed Make, so am going to try again with those modules.

coyos 09-15-2006 05:41 PM

Success! It appears to be working.

Quote:

Executing /usr/bin/perl Makefile.PL && make ..

Checking if your kit is complete...
Looks good
Writing Makefile for Test
cp lib/Test.pm blib/lib/Test.pm
Manifying blib/man3/Test.3pm

alar 09-15-2006 09:26 PM

Welcome back.

Don't wait so long next time ;)


All times are GMT -5. The time now is 05:08 PM.