LibXML.xs:1493: error
Last week, after a typical daily update, upcp started failing with:
build.log says:
any suggestions please?
[20141012.235520] [5834] LibXML.xs:1493: error: syntax error before "reader"
[20141012.235520] [5834] LibXML.xs: In function `LibXML_set_reader_preserve_flag':
[20141012.235520] [5834] LibXML.xs:1502: error: `reader' undeclared (first use in this function)
[20141012.235520] [5834] LibXML.xs:1502: error: (Each undeclared identifier is reported only once
[20141012.235520] [5834] LibXML.xs:1502: error: for each function it appears in.)
[20141012.235520] [5834] LibXML.xs: At top level:
[20141012.235520] [5834] LibXML.xs:1507: error: syntax error before "reader"
[20141012.235520] [5834] LibXML.xs: In function `LibXML_get_reader_preserve_flag':
[20141012.235520] [5834] LibXML.xs:1516: error: `reader' undeclared (first use in this function)
[20141012.235520] [5834] make: *** [LibXML.o] Error 1
[20141012.235520] [5834] FAIL
[20141012.235520] [5834] ! Installing XML::LibXML::Common failed. See /home/.cpanm/build.log for details.
build.log says:
cpanm (App::cpanminus) 1.6916 on perl 5.008008 built for i686-linux
Work directory is /home/.cpanm/work/1413147354.7736
You have make /usr/bin/make
Falling back to HTTP::Tiny 0.029
You have /bin/tar: tar (GNU tar) 1.14
Copyright (C) 2004 Free Software Foundation, Inc.
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
You have Cpanel::HttpRequest 2.1
Searching on cpanmetadb ...
Source: fastest CPAN mirror ... Curses::UI is up to date. (0.9609)
Source: fastest CPAN mirror ... --> Working on XML::LibXML::Common
Fetching http://mirror.leaseweb.com/CPAN///authors/id/S/SH/SHLOMIF/XML-LibXML-2.0116.tar.gz
-> OK
Unpacking XML-LibXML-2.0116.tar.gz
Entering XML-LibXML-2.0116
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.98)
Configuring XML-LibXML-2.0116
Running Makefile.PL
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have XML::SAX 0.11 ... Yes (0.99)
Checking if you have base 0 ... Yes (2.07)
Checking if you have warnings 0 ... Yes (1.05)
Checking if you have parent 0 ... Yes (0.225)
Checking if you have ExtUtils::MakeMaker 6.56 ... Yes (6.98)
Checking if you have vars 0 ... Yes (1.01)
Checking if you have strict 0 ... Yes (1.03)
Checking if you have Test::More 0 ... Yes (1.001006)
Checking if you have XML::NamespaceSupport 1.07 ... Yes (1.09)
Building XML-LibXML-2.0116
-> FAIL Installing XML::LibXML::Common failed. See /home/.cpanm/build.log for details.
Source: fastest CPAN mirror ... Already tried XML-LibXML-2.0116. Skipping.
Source: fastest CPAN mirror ... XML::SAX is up to date. (0.99)
Source: fastest CPAN mirror ... XML::SAX::Expat is up to date. (0.51)
any suggestions please?
-
Hello :) Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you. 0 -
Before we go on a goose chase, I didn't post any updates on this issue because I found out that this particular server is the only one we have left still in an old cPanel version which has come to its EOL (WHM 11.32.7). I would guess that something broke over the years and since its in an eof of life state, it is no longer fixed. *edit* Is there a way to at least upgrade from 11.32 to 11.38? ]Hello :) Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you.
0 -
You can update the "CPANEL=" entry in /etc/cpupdate.conf to the following: CPANEL=11.38
Save the file, and then force an update of cPanel via:/scripts/upcp --force
If this completes successfully, then it's likely a good idea to proceed with updating cPanel to a newer version. Thank you.0 -
The CPANEL= entry already says "11.38" (probably because that is what I selected via the WHM interface?). But all upgrade attempts fail with: fatal,Newer releases of cPanel & WHM are not compatible with your operating system. Upgrade your OS, or use the Update Preferences screen to select a Long-Term Support release for use with your OS. Please see our OS End of Life policy for more information
The above contents are also seen in the file: /var/cpanel/update_blocks.config0 -
What OS is installed on your server? You can check with a command such as: cat /etc/redhat-release
Thank you.0 -
Here we go: CentOS release 4.9 (Final) 0 -
CentOS 4 is EOL and no longer supported. You will need to backup your accounts to a remote location and install an updated OS, or transfer the accounts to a new server that uses CentOS 6. Thank you. 0 -
heh yea I figured that much. It is the last server that we've got left in this state. Eventually we'll go around and move it. 0
Please sign in to leave a comment.
Comments
8 comments