Solved

LWP won't work

Posted on 2004-03-25
3
219 Views
Last Modified: 2010-03-04
I'm having a problem getting lwp(libwww-perl) to work so I ran the command:
perl -e "use LWP::UserAgent;"

This returned:

Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.0/mach /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach /usr/local/lib/perl5/5.8.0 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

Is there anyway I can fix this? I just installed it from the ports. I did the same thing a few days ago on another server and it worked perfectly. Any ideas anybody?
0
Comment
Question by:cheatc1
[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
3 Comments
 
LVL 15

Accepted Solution

by:
samri earned 125 total points
ID: 10685584
it looks like something is not quite good with your perl installation.  At least the @INC is not configured properly.

Quickest that I can suggest would be try to reinstall the perl.

You could try to tweak the setting (i knew this could be done), but could not suggest you the right component to try:

Maybe try to crosspost (or request for this Q to be moved to PERL area) which you may get a quicker feedback : http://www3.experts-exchange.com/Programming/Programming_Languages/Perl/
0
 
LVL 15

Expert Comment

by:periwinkle
ID: 11785094
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:

    ACCEPT: samri

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Periwinkle
EE Cleanup Volunteer
0

Featured Post

Don't Miss ATEN at InfoComm 2017!

Visit booth #2167 to see the  new ATEN VM3200 32 x 32 Modular Matrix Switch. Other highlights include the VE8950 4K HDMI Over IP Extender, VS1912 12-Port DP Video Wall Media Player  and VK2100 ATEN Control System. Register now with Free Pass Code ATEN288!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Forward apache log to Syslog-NG 7 136
PHP Upload using Uploadify 4 127
ROBOTS.TXT vs HTACCESS for Sitemaps entry 2 30
Whitelisting IP's in .htaccess? 2 24
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

752 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