CentOS7 Compile Problem
Martin
19 November 2015, 17:19
Hello,
i try to install Hiawatha 9.15 and beta-10 on CentOS7.
If I run cmake i get the following Errors:
-- Looking for gzdopen in z - found
-- Looking for SO_ACCEPTFILTER
-- Looking for SO_ACCEPTFILTER - not found
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBXML2_INCLUDE_DIR (ADVANCED)
used as include directory in directory /root/hiawatha-10.0-beta
used as include directory in directory /root/hiawatha-10.0-beta
used as include directory in directory /root/hiawatha-10.0-beta
used as include directory in directory /root/hiawatha-10.0-beta
LIBXML2_LIBRARIES (ADVANCED)
linked by target "hiawatha" in directory /root/hiawatha-10.0-beta
LIBXSLT_INCLUDE_DIR (ADVANCED)
used as include directory in directory /root/hiawatha-10.0-beta
used as include directory in directory /root/hiawatha-10.0-beta
used as include directory in directory /root/hiawatha-10.0-beta
used as include directory in directory /root/hiawatha-10.0-beta
LIBXSLT_LIBRARIES (ADVANCED)
linked by target "hiawatha" in directory /root/hiawatha-10.0-beta
-- Configuring incomplete, errors occurred!
Could u please help me?
Regards
AxAn
19 November 2015, 23:47
This is what I use to create an RPM package on Centos 7:
yum install cmake
yum install gcc glibc-devel rpm-build libxml2-devel libxslt-devel
//...download tar.gz from download page
tar -xzf hiawatha-9.15.tar.gz
cd hiawatha-9.15/extra/
//flags can be changed in hiawatha-9.15/extra/redhat/hiawatha.spec
./make_redhat_package
cd ~/rpmbuild/RPMS/x86_64/
rpm -Uvh hiawatha-9.15-1.el7.centos.x86_64.rpm
I have one server that I build on and another that's running the software to prevent extra stuff in production.
Hugo Leisink
20 November 2015, 00:17
Martin, it looks like your system is missing the libxml and libxslt libraries. Install them as described by AxAn.
This topic has been closed.