Error after running /scripts/rhlupdate

bsasninja

Well-Known Member
Sep 2, 2004
527
0
166
After running /scripts/rhlupdate I got this error: Does it brake something? Is there a way to fix it?

CPAN.pm: Going to build G/GR/GRANTM/XML-Simple-2.15.tar.gz

Checking installed modules ...
=============================================================================

Fatal error: Your default XML parser (XML::SAX::PurePerl) is broken.

There are known bugs in the PurePerl parser included with version 0.13
and 0.14 of XML::SAX. The XML::Simple tests will fail with this parser.

One way to avoid the problem is to install XML::SAX::Expat - it will
install itself as the system default XML parser and then you will be able
to install XML::Simple successfully. XML::SAX::Expat is also much faster
than XML::SAX::PurePerl so you probably want it anyway.

=============================================================================
make: *** No targets specified and no makefile found. Stop.
/usr/bin/make -- NOT OK
Running make install
make had returned bad status, install seems impossible
perlmod--Install done

GD installed ok
root@server1 [~]#

Thanks
 

bsasninja

Well-Known Member
Sep 2, 2004
527
0
166
Fixed

The solution is this, the problem was that I was confused with the XML::SAX files at Install a Perl Module cause there are a lot

One way to avoid the problem is to install XML::SAX::Expat - it will

install itself as the system default XML parser and then you will be able

to install XML::Simple successfully. XML::SAX::Expat is also much faster

than XML::SAX::PurePerl so you probably want it anyway.
 

10101

Well-Known Member
Sep 4, 2003
151
0
166
bsasninja said:
The solution is this, the problem was that I was confused with the XML::SAX files at Install a Perl Module cause there are a lot

One way to avoid the problem is to install XML::SAX::Expat - it will

install itself as the system default XML parser and then you will be able

to install XML::Simple successfully. XML::SAX::Expat is also much faster

than XML::SAX::PurePerl so you probably want it anyway.
I ran that fix however it still brings the same message up if you run "Update System Software" from WHM.
 

gahelm

Active Member
Jun 21, 2003
37
0
156
Florida
I am unable to install this. Could someone please outline the exact root command required to get this installed? Never mind, figured it out.... Just ran the install permod from within WHM then ran /scripts/upcp from ssh and all is well.
 
Last edited:

flash7

Well-Known Member
Feb 16, 2004
201
0
166
gahelm said:
I am unable to install this. Could someone please outline the exact root command required to get this installed? Never mind, figured it out.... Just ran the install permod from within WHM then ran /scripts/upcp from ssh and all is well.
/scripts/perlinstaller XML::SAX::Expat
/scripts/upcp
 

rogcan

Well-Known Member
Jun 7, 2004
48
0
156
flash7 said:
/scripts/perlinstaller XML::SAX::Expat
/scripts/upcp

Tried the above and it still reports the same error...

Anyone else with any ideas ??
 

xabungo

Member
Nov 10, 2006
11
0
151
This:

/scripts/perlinstaller XML::SAX::Expat
/scripts/upcp

Solve my problem too!
Regards,
 

mystikzen

Member
Mar 18, 2004
13
0
151
Feedback :

/scripts/perlinstaller XML::SAX::Expat was successfull for me but XML::SAX::Expat didn't
become the default parser.
So I edited the file /usr/lib/perl5/site_perl/5.8.7/XML/SAX/ParserDetails.ini by replacing the first line with [XML::SAX::Expat]
upcp was successfull after that.