Solved

install REST::Client in perl

Posted on 2014-01-02
5
3,061 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 34

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now