LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't locate XML/Simple.pm in @INC (@INC contains (https://www.linuxquestions.org/questions/linux-newbie-8/cant-locate-xml-simple-pm-in-%40inc-%40inc-contains-461003/)

RaleighRalley 07-04-2006 04:34 PM

Can't locate XML/Simple.pm in @INC (@INC contains
 
Hello all!,

I am trying to setup a cluster and install OSCAR 4.2 on a system running Fedora5, all is well, but I do have one issue in the form of "Can't locate XML/Simple.pm in @INC (@INC contains:............" so on and so on ......... the error is longer, but to save space I cut it down. If anyone can help with this that would great. As I cannot move on with the setup.


Matthew

btmiller 07-04-2006 04:44 PM

It looks like you need to install the XML::Simple Perl module. if you Google aroundthere might be an RPM or you can find it on CPAN (the Comprehensive Perl Archive Network).

theNbomr 07-04-2006 06:29 PM

Try

Code:

cpan install XML::Simple
--- rod.

RaleighRalley 07-05-2006 09:28 AM

Thanks!
 
Thanks alot guys! This is a great forum.

Richter12x2 12-11-2013 04:52 PM

Quote:

Originally Posted by theNbomr (Post 2320607)
Try

Code:

cpan install XML::Simple
--- rod.

I have the same issue, but cpan install XML::Simple returns: XML::Simple is up to date (2.20)

Error message is:

[Wed Dec 11 15:46:54 2013] [error] [client 172.xx.xx.xx] Can't locate XML/Simple.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64 /perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /var/www/cgi-bin/AlertReceiver.pl line 38.

theNbomr 12-13-2013 05:43 PM

Since this is apparently a CGI, maybe the web server is jailing the code so it cannot access modules outside the CGI root. Does XML/Simple.pm exist in one of the places in @INC? Since the CPAN module seems to think it exists, I assume it actually does; where?

--- rod.


All times are GMT -5. The time now is 12:41 PM.