Solved

install REST::Client in perl

Posted on 2014-01-02
5
3,474 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 

Author Comment

by:weissman
ID: 39750903
0
 
LVL 35

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
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…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

726 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