Hello,
I tried to update everything with custombuild 2.0 and got this error. I believe that's because my vps is centos 5 and centos 5 went EOL as far as I know.
How can I bypass this?
More importantly, since now I have to upgrade centos, does centos have an in-line upgrade system to new distro like ubuntu distro-upgrade thing. I have a large group of websites and I dont want to back-up and restore everything.
Thanks
Here are the errors I got. First one is at the beginning and the second one is at the end of the output when I try to update.
I tried to update everything with custombuild 2.0 and got this error. I believe that's because my vps is centos 5 and centos 5 went EOL as far as I know.
How can I bypass this?
More importantly, since now I have to upgrade centos, does centos have an in-line upgrade system to new distro like ubuntu distro-upgrade thing. I have a large group of websites and I dont want to back-up and restore everything.
Thanks
Here are the errors I got. First one is at the beginning and the second one is at the end of the output when I try to update.
Code:
Updating Apache
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
Backing up certificate and key, and turning off httpd for DirectAdmins's check.
Found /usr/local/directadmin/custombuild/httpd-2.4.27.tar.gz
Extracting /usr/local/directadmin/custombuild/httpd-2.4.27.tar.gz...
Code:
gcc -E -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/local/directadmin/custombuild/httpd-2.4.27/srclib/apr-util/include -I/usr/local/directadmin/custombuild/httpd-2.4.27/srclib/apr-util/include/private -I/usr/local/directadmin/custombuild/httpd-2.4.27/srclib/apr/include exports.c | grep "ap_hack_" | sed -e 's/^.*[)]\(.*\);$/\1/' >> aprutil.exp
xml/apr_xml.c:35:19: error: expat.h: No such file or directory
xml/apr_xml.c:66: error: expected specifier-qualifier-list before 'XML_Parser'
xml/apr_xml.c: In function 'cleanup_parser':
xml/apr_xml.c:364: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:365: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c: At top level:
xml/apr_xml.c:384: error: expected ';', ',' or ')' before '*' token
xml/apr_xml.c: In function 'apr_xml_parser_create':
xml/apr_xml.c:401: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:402: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:410: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:411: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:412: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:424: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:424: error: 'default_handler' undeclared (first use in this function)
xml/apr_xml.c:424: error: (Each undeclared identifier is reported only once
xml/apr_xml.c:424: error: for each function it appears in.)
xml/apr_xml.c: In function 'do_parse':
xml/apr_xml.c:434: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:438: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:442: error: 'apr_xml_parser' has no member named 'xp_err'
xml/apr_xml.c:442: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c: In function 'apr_xml_parser_geterror':
xml/apr_xml.c:500: error: 'apr_xml_parser' has no member named 'xp_err'
xml/apr_xml.c:500: error: 'apr_xml_parser' has no member named 'xp_err'
make[3]: *** [xml/apr_xml.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
gcc -E -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/local/directadmin/custombuild/httpd-2.4.27/srclib/apr-util/include -I/usr/local/directadmin/custombuild/httpd-2.4.27/srclib/apr-util/include/private -I/usr/local/directadmin/custombuild/httpd-2.4.27/srclib/apr/include export_vars.c | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> aprutil.exp
make[3]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.4.27/srclib/apr-util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.4.27/srclib/apr-util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.4.27/srclib'
make: *** [all-recursive] Error 1
*** The make has failed, would you like to try to make again? (y,n):