LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-14-2006, 02:49 PM   #1
coyos
LQ Newbie
 
Registered: May 2003
Location: Coventry
Distribution: Redhat 9 (on a VDS with Lycos)
Posts: 9

Rep: Reputation: 0
Question 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!

Last edited by coyos; 09-14-2006 at 02:54 PM.
 
Old 09-14-2006, 07:00 PM   #2
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Rep: Reputation: 36
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
 
Old 09-14-2006, 08:20 PM   #3
coyos
LQ Newbie
 
Registered: May 2003
Location: Coventry
Distribution: Redhat 9 (on a VDS with Lycos)
Posts: 9

Original Poster
Rep: Reputation: 0
Question

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



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.
 
Old 09-14-2006, 09:25 PM   #4
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Rep: Reputation: 36
Quick check

type
which make
 
Old 09-15-2006, 03:32 PM   #5
coyos
LQ Newbie
 
Registered: May 2003
Location: Coventry
Distribution: Redhat 9 (on a VDS with Lycos)
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
Old 09-15-2006, 06:36 PM   #6
coyos
LQ Newbie
 
Registered: May 2003
Location: Coventry
Distribution: Redhat 9 (on a VDS with Lycos)
Posts: 9

Original Poster
Rep: Reputation: 0
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.
 
Old 09-15-2006, 06:41 PM   #7
coyos
LQ Newbie
 
Registered: May 2003
Location: Coventry
Distribution: Redhat 9 (on a VDS with Lycos)
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
Old 09-15-2006, 10:26 PM   #8
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Rep: Reputation: 36
Welcome back.

Don't wait so long next time
 
  


Reply

Tags
cpan, perl


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"cc1: error: invalid option 'tune=i686'" while installing Perl modules via CPAN scuzzman Programming 12 08-21-2006 10:30 PM
CPAN make issues. No modules will install Brnzwngs Programming 3 07-26-2006 10:10 PM
load perl CPAN modules sailu_mvn Linux - Software 1 04-18-2006 08:31 PM
perl modules problems CPAN tardigrade Linux - Software 6 09-02-2004 01:29 PM
Canīt download perl modules with cpan emilioestevezz Linux - Networking 1 08-25-2004 10:51 AM


All times are GMT -5. The time now is 11:16 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration