Solved

install REST::Client in perl

Posted on 2014-01-02
5
2,930 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

746 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

17 Experts available now in Live!

Get 1:1 Help Now