LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-15-2012, 04:54 PM   #1
jeadong1
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Rep: Reputation: Disabled
installing modules in CPAN


Hi, I am very new to linux and have been using windows my whole life, so when i recently was trying to use cpan to download some modules for perl, I would always get this

Code:
 make: *** No rule to make target `make'.  Stop.
  DLUX/Parallel-ForkManager-0.7.9.tar.gz
  make make make -- NOT OK
'YAML' not installed, will not store persistent state
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Failed during this command:
 DLUX/Parallel-ForkManager-0.7.9.tar.gz       : make NO
Any help on how i can fix this will be deeply appreciated.

Last edited by jeadong1; 01-15-2012 at 04:58 PM.
 
Old 01-15-2012, 04:58 PM   #2
jeadong1
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
I forgot to mention that I am using ubuntu
 
Old 01-15-2012, 05:02 PM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
I'm not a perl expert but it might be something to do with lack of 'make' on your system.
Try installing 'build-essential' on Ubuntu:

Code:
sudo apt-get install build-essential
and then see if you can install perl modules.
 
1 members found this post helpful.
Old 01-15-2012, 05:10 PM   #4
jeadong1
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sycamorex View Post
I'm not a perl expert but it might be something to do with lack of 'make' on your system.
Try installing 'build-essential' on Ubuntu:

Code:
sudo apt-get install build-essential
and then see if you can install perl modules.
I just did that and it didnt do the trick. I got the exact same result when using CPAN again
 
Old 01-15-2012, 05:18 PM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
I just looked at the cpan website, perhaps this will help:
Code:
curl -L http://cpanmin.us | perl - --sudo App::cpanminus
cpanminus is responsible for building and installing modules from CPAN.
 
Old 01-15-2012, 05:47 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
How about :
sudo apt-get install libparallel-forkmanager-perl



EDIT : This works OK too on Ubuntu 11.10 :
sudo cpan
cpan > install Parallel::ForkManager

.

Last edited by knudfl; 01-15-2012 at 05:58 PM.
 
Old 01-15-2012, 08:29 PM   #7
jeadong1
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
So when i used
Code:
 sudo apt-get install libparallel-forkmanager-perl
i was able to get the package installed, however even after using curl -L and installing cpanminu or using
cpan > install Parallel::ForkManager
I still get the exact same thing
Code:
hecking if your kit is complete...
Looks good
Writing Makefile for Parallel::ForkManager
make: *** No rule to make target `make'.  Stop.
  DLUX/Parallel-ForkManager-0.7.9.tar.gz
  make make make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Failed during this command:
 DLUX/Parallel-ForkManager-0.7.9.tar.gz       : make NO
Thanks however for the help thus far ^^
 
Old 01-15-2012, 08:54 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Are you quite sure that the package 'make' is installed ?


The command 'which make' should reply : /usr/bin/make
 
  


Reply



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
[SOLVED] Problem installing CPAN modules (perl) and proxy settings rodriguez Linux - Newbie 1 02-17-2010 08:39 AM
cpan MODULES jova626 Programming 7 05-01-2008 01:18 PM
CPAN modules and -current chexmix Slackware 8 03-01-2008 08:40 PM
"cc1: error: invalid option 'tune=i686'" while installing Perl modules via CPAN scuzzman Programming 12 08-21-2006 09:30 PM
installing CPAN modules andy11983 Linux - Software 1 11-30-2004 12:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:28 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration