Thank you, this was very helpful. But unfortunately now I've got another problem. The build system fails to compile boost 1.66. This is the error message:
make[3]: Entering directory '/home/lukask/access_cl02/htcondor-8_9_3-build'
[ 1%] Performing build step for 'boost'
Performing configuration checks
(...)
gcc.compile.c++ bin.v2/libs/python/build/gcc-gnu-4.8/release/link-static/threadapi-pthread/threading-multi/list.o
In file included from ./boost/python/detail/prefix.hpp:13:0,
from ./boost/python/list.hpp:8,
from libs/python/src/list.cpp:5:
./boost/python/detail/wrap_python.hpp:75:24: fatal error: patchlevel.h: No such file or directory
#include <patchlevel.h>
^
compilation terminated.
(...)
externals/bundles/boost/1.66.0/CMakeFiles/boost.dir/build.make:113: recipe for target 'externals/bundles/boost/1.66.0/boost-prefix/src/boost-stamp/boost-build' failed
make[3]: *** [externals/bundles/boost/1.66.0/boost-prefix/src/boost-stamp/boost-build] Error 1
make[3]: Leaving directory '/home/lukask/access_cl02/htcondor-8_9_3-build'
CMakeFiles/Makefile2:1156: recipe for target 'externals/bundles/boost/1.66.0/CMakeFiles/boost.dir/all' failed
make[2]: *** [externals/bundles/boost/1.66.0/CMakeFiles/boost.dir/all] Error 2
make[2]: Leaving directory '/home/lukask/access_cl02/htcondor-8_9_3-build'
Makefile:160: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/lukask/access_cl02/htcondor-8_9_3-build'
Makefile:101: recipe for target 'htcondor-8_9_3-release' failed
make: *** [htcondor-8_9_3-release] Error 2
I've managed to compile boost 1.66 from source though. Is there maybe a way to tell the build system to build everything the "UW way" except for boost? I've already tried to set the corresponding environment variables but this doesn't seem to have any
effect at all.
BoostDir:=$(PWD)/boost_1_66_0/install/
export CONDOR_EXTERNAL_LINK_DIRS:=$(BoostDir)/lib
export LIBRARY_PATH:=$(BoostDir)/lib/
export LD_LIBRARY_PATH:=$(BoostDir)/lib/
export CMAKE_SYSTEM_LIBRARY_PATH:=$(BoostDir)/lib/
export CMAKE_INCLUDE_PATH:=$(BoostDir)/include/
export CPATH:=$(BoostDir)/include/
Judging by the CMake output, the build system won't attempt to detect system libraries when running in "UW_BUILD mode".
cd htcondor-8_9_3-build && \
make -j 1 && \
make -j 1 install
make[1]: Entering directory '/home/lukask/access_cl02/htcondor-8_9_3-build'
make[2]: Entering directory '/home/lukask/access_cl02/htcondor-8_9_3-build'
make[3]: Entering directory '/home/lukask/access_cl02/htcondor-8_9_3-build'
make[3]: Leaving directory '/home/lukask/access_cl02/htcondor-8_9_3-build'
[ 1%] Built target drmaa
make[3]: Entering directory '/home/lukask/access_cl02/htcondor-8_9_3-build'
make[3]: Leaving directory '/home/lukask/access_cl02/htcondor-8_9_3-build'
make[3]: Entering directory '/home/lukask/access_cl02/htcondor-8_9_3-build'
[ 1%] Performing build step for 'boost'
Performing configuration checks
(...)
Do you have any ideas on how to proceed?
Lukas