Do you encounter any errors during the build process? The main issues reported are troubleshooted in this article.

How to run the C++ preprocessor

If you encounter this error message, this would imply that you do not have g++ installed:

checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp

*** The make has failed, do you want to try to make again? (y,n):
1
2
3
4
5
6

The gcc-c++ rpm and all its dependencies are required to resolve the issue.

Some dependencies include libstdc++-devel and libstdc++

To install please run the following on CentOS/RHEL/CloudLinux systems:

yum -y install gcc-c++
1

Debian/Ubuntu:

apt-get -y install g++
1

FreeBSD:

pkg install gcc
1

libexpat.so: could not read symbols

If you get this error

/usr/lib/libexpat.so: could not read symbols: File in wrong format
1

Most likely a built-in expat should be used with apache. To do:

Prepare a customized apache config:

cd /usr/local/directadmin/custombuild/
mkdir -p custom/ap2
cp -p configure/ap2/configure.apache custom/ap2/
1
2
3

Open the custom/ap2/configure.apache file and add the option for expat as:

    "--with-expat=builtin" \
1

Note the \ character - it must be present on all lines except the last one.

Last Updated: 6/23/2021, 9:36:08 PM