[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

install REST::Client in perl

Posted on 2014-01-02
5
Medium Priority
?
4,519 Views
Last Modified: 2014-01-11
hi my friends,

i was tring to install REST::Client in perl without success

when I tring to install it using CPAN I get the error:

No such file or directory at /usr/share/perl5/CPAN/Distribution.pm line 2003.

also : Make had return bad status, install seems impossible

Note : I have install first CPAN like this:

 yum install perl-CPAN

Then I have tried this code:

sudo perl -MCPAN -e shell

install REST::Client

no success

please help ASAP
Thanks a lot
0
Comment
Question by:weissman
  • 4
5 Comments
 

Author Comment

by:weissman
ID: 39750903
0
 
LVL 36

Expert Comment

by:Seth Simmons
ID: 39752479
looks like there are prerequisites not met causing this to fail

what version of perl?  what linux distribution?
0
 

Accepted Solution

by:
weissman earned 0 total points
ID: 39758999
hi all,

you can close the question the solution was :

to add the gcc-4.2 folder using this:

sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2

and configre and install the cpan:

sudo yum install perl-Crypt-SSLeay
sudo perl –MCPAN –e shell
cpan> install Bundle::CPAN
cpan> install REST::Client

thanks.
0
 

Author Comment

by:weissman
ID: 39759017
ok
0
 

Author Closing Comment

by:weissman
ID: 39773108
ok
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question