The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Error after running /scripts/rhlupdate

Discussion in 'General Discussion' started by bsasninja, Oct 3, 2006.

  1. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  2. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    Continue..

    read fix below.
     
    #2 bsasninja, Oct 3, 2006
    Last edited: Oct 3, 2006
  3. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  4. Bulent Tekcan

    Bulent Tekcan Well-Known Member

    Joined:
    May 11, 2004
    Messages:
    179
    Likes Received:
    0
    Trophy Points:
    16
    Same problem here....
     
  5. 10101

    10101 Well-Known Member

    Joined:
    Sep 4, 2003
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    I ran that fix however it still brings the same message up if you run "Update System Software" from WHM.
     
  6. gahelm

    gahelm Active Member

    Joined:
    Jun 21, 2003
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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.
     
    #6 gahelm, Oct 5, 2006
    Last edited: Oct 5, 2006
  7. flash7

    flash7 Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    16
    /scripts/perlinstaller XML::SAX::Expat
    /scripts/upcp
     
  8. rogcan

    rogcan Well-Known Member

    Joined:
    Jun 7, 2004
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6

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

    Anyone else with any ideas ??
     
  9. Bruceper

    Bruceper Member

    Joined:
    Feb 7, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    I experienced the same issue. The above recommendation worked for me.
     
  10. tom@cheops.be

    tom@cheops.be Registered

    Joined:
    Sep 22, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Same problem here...
     
  11. xabungo

    xabungo Member

    Joined:
    Nov 10, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    This:

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

    Solve my problem too!
    Regards,
     
  12. mystikzen

    mystikzen Member

    Joined:
    Mar 18, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
Loading...

Share This Page