Good morning.
I upgraded DA this morning to 1.656 and initially, all was well except Exim would not compile/install.
I checked the forums and found the support link of https://forum.directadmin.com/threads/directadmin-v1-656-rc.69439/#post-367775 showing how to remove old libraries. I proceeded to follow those instructions removing old libraries and then manually removing libiconv. When I went to do the da build all command, it will build apache, mysql correctly, but when it comes to Exim it would fail with the following below:
cc -DMACRO_PREDEF transport.c
cc -DMACRO_PREDEF drtables.c
cc -DMACRO_PREDEF acl.c
In file included from globals.c:13:0:
exim.h:528:19: fatal error: pcre2.h: No such file or directory
#include <pcre2.h>
^
compilation terminated.
In file included from readconf.c:14:0:
exim.h:528:19: fatal error: pcre2.h: No such file or directory
#include <pcre2.h>
^
compilation terminated.
In file included from macro_predef.c:13:0:
exim.h:528:19: fatal error: pcre2.h: No such file or directory
#include <pcre2.h>
^
compilation terminated.
In file included from transport.c:14:0:
exim.h:528:19: fatal error: pcre2.h: No such file or directory
#include <pcre2.h>
^
compilation terminated.
In file included from expand.c:14:0:
exim.h:528:19: fatal error: pcre2.h: No such file or directory
#include <pcre2.h>
^
compilation terminated.
In file included from drtables.c:11:0:
exim.h:528:19: fatal error: pcre2.h: No such file or directory
#include <pcre2.h>
^
compilation terminated.
In file included from route.c:13:0:
exim.h:528:19: fatal error: pcre2.h: No such file or directory
#include <pcre2.h>
^
compilation terminated.
In file included from acl.c:12:0:
exim.h:528:19: fatal error: pcre2.h: No such file or directory
#include <pcre2.h>
^
compilation terminated.
make[1]: *** [macro-readconf.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [macro-globals.o] Error 1
make[1]: *** [macro-transport.o] Error 1
make[1]: *** [macro-expand.o] Error 1
make[1]: *** [macro-acl.o] Error 1
make[1]: *** [macro-drtables.o] Error 1
make[1]: *** [macro_predef.o] Error 1
make[1]: *** [macro-route.o] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/tmp/tmp.kEc5PNEU15.exim-4.97.tar.gz/build-Linux-x86_64'
make: *** [all] Error 2
doExim: failed to compile '/usr/local/directadmin/custombuild/cache/exim-4.97.tar.gz' inside '/usr/local/directadmin/custombuild/tmp/tmp.kEc5PNEU15.exim-4.97.tar.gz'
failed to compile exim 4.97
Likewise, when I try to build php using da build php, I initially get the following:
Package oniguruma-devel-6.8.2-2.el7.x86_64 already installed and latest version
Error: Package: libxslt-devel-1.1.28-6.el7.x86_64 (base)
Requires: pkgconfig(libxml-2.0)
You could try using --skip-broken to work around the problem
......
checking for strtoll... yes
checking for atoll... yes
checking whether to build with LIBXML support... yes
checking for libxml-2.0 >= 2.7.6... no
configure: error: Package requirements (libxml-2.0 >= 2.7.6) were not met:
No package 'libxml-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBXML_CFLAGS
and LIBXML_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
*** There was an error while trying to configure php. Check the configure file
This obviously is showing an issue with libxml2, but since DA's custombuild has changed I have not run the old commands of ./build libxml2 as I didn't know if they were still even valid or not.
I have restored the old libraries and went into versions to downgrade Exim to 4.96 and ran the da build all command.
This has brought MTA back and PHP has managed to recompile successfully again, although there were some errors showing up during the PHP 7.4 and 8.1.25 build with the following:
Error: Package: libxslt-devel-1.1.28-6.el7.x86_64 (base)
Requires: pkgconfig(libxml-2.0)
You could try using --skip-broken to work around the problem
When attempting to update to PHP 8.1.25 from within DA I also get the following (most likely due to the original issues brought forth in the 1.656 upgrade needing old libraries removed and da build all ran)
checking for iconv support... yes
checking for iconv... yes
checking if iconv is glibc's... yes
checking if iconv supports errno... no
configure: error: iconv does not support errno
*** There was an error while trying to configure php. Check the configure file
For now, the server is stable, but I would gladly appreciate any input on solving these issues long term.
I upgraded DA this morning to 1.656 and initially, all was well except Exim would not compile/install.
I checked the forums and found the support link of https://forum.directadmin.com/threads/directadmin-v1-656-rc.69439/#post-367775 showing how to remove old libraries. I proceeded to follow those instructions removing old libraries and then manually removing libiconv. When I went to do the da build all command, it will build apache, mysql correctly, but when it comes to Exim it would fail with the following below:
cc -DMACRO_PREDEF transport.c
cc -DMACRO_PREDEF drtables.c
cc -DMACRO_PREDEF acl.c
In file included from globals.c:13:0:
exim.h:528:19: fatal error: pcre2.h: No such file or directory
#include <pcre2.h>
^
compilation terminated.
In file included from readconf.c:14:0:
exim.h:528:19: fatal error: pcre2.h: No such file or directory
#include <pcre2.h>
^
compilation terminated.
In file included from macro_predef.c:13:0:
exim.h:528:19: fatal error: pcre2.h: No such file or directory
#include <pcre2.h>
^
compilation terminated.
In file included from transport.c:14:0:
exim.h:528:19: fatal error: pcre2.h: No such file or directory
#include <pcre2.h>
^
compilation terminated.
In file included from expand.c:14:0:
exim.h:528:19: fatal error: pcre2.h: No such file or directory
#include <pcre2.h>
^
compilation terminated.
In file included from drtables.c:11:0:
exim.h:528:19: fatal error: pcre2.h: No such file or directory
#include <pcre2.h>
^
compilation terminated.
In file included from route.c:13:0:
exim.h:528:19: fatal error: pcre2.h: No such file or directory
#include <pcre2.h>
^
compilation terminated.
In file included from acl.c:12:0:
exim.h:528:19: fatal error: pcre2.h: No such file or directory
#include <pcre2.h>
^
compilation terminated.
make[1]: *** [macro-readconf.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [macro-globals.o] Error 1
make[1]: *** [macro-transport.o] Error 1
make[1]: *** [macro-expand.o] Error 1
make[1]: *** [macro-acl.o] Error 1
make[1]: *** [macro-drtables.o] Error 1
make[1]: *** [macro_predef.o] Error 1
make[1]: *** [macro-route.o] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/tmp/tmp.kEc5PNEU15.exim-4.97.tar.gz/build-Linux-x86_64'
make: *** [all] Error 2
doExim: failed to compile '/usr/local/directadmin/custombuild/cache/exim-4.97.tar.gz' inside '/usr/local/directadmin/custombuild/tmp/tmp.kEc5PNEU15.exim-4.97.tar.gz'
failed to compile exim 4.97
Likewise, when I try to build php using da build php, I initially get the following:
Package oniguruma-devel-6.8.2-2.el7.x86_64 already installed and latest version
Error: Package: libxslt-devel-1.1.28-6.el7.x86_64 (base)
Requires: pkgconfig(libxml-2.0)
You could try using --skip-broken to work around the problem
......
checking for strtoll... yes
checking for atoll... yes
checking whether to build with LIBXML support... yes
checking for libxml-2.0 >= 2.7.6... no
configure: error: Package requirements (libxml-2.0 >= 2.7.6) were not met:
No package 'libxml-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBXML_CFLAGS
and LIBXML_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
*** There was an error while trying to configure php. Check the configure file
This obviously is showing an issue with libxml2, but since DA's custombuild has changed I have not run the old commands of ./build libxml2 as I didn't know if they were still even valid or not.
I have restored the old libraries and went into versions to downgrade Exim to 4.96 and ran the da build all command.
This has brought MTA back and PHP has managed to recompile successfully again, although there were some errors showing up during the PHP 7.4 and 8.1.25 build with the following:
Error: Package: libxslt-devel-1.1.28-6.el7.x86_64 (base)
Requires: pkgconfig(libxml-2.0)
You could try using --skip-broken to work around the problem
When attempting to update to PHP 8.1.25 from within DA I also get the following (most likely due to the original issues brought forth in the 1.656 upgrade needing old libraries removed and da build all ran)
checking for iconv support... yes
checking for iconv... yes
checking if iconv is glibc's... yes
checking if iconv supports errno... no
configure: error: iconv does not support errno
*** There was an error while trying to configure php. Check the configure file
For now, the server is stable, but I would gladly appreciate any input on solving these issues long term.