Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.10.0, 0.11.0
-
None
-
None
Description
Trying:
./configure --with-libevent="/opt/foo/ub16/libevent-2.1.18-stable" --with-boost="/opt/foo/ub16/boost-1.65.0" --enable-shared=no --enable-tests=no CFLAGS="-fPIC -g -O2" CXXFLAGS="-fPIC -g -O2"
works, but the build (after typing make) fails midway complaining that a boost header was not found. A similar problem happens with libevent. One is forced to do:
./configure --with-libevent="/opt/foo/ub16/libevent-2.1.18-stable" --with-boost="/opt/foo/ub16/boost-1.65.0" --enable-shared=no --enable-tests=no CFLAGS="-fPIC -g -O2" CXXFLAGS="-fPIC -g -O2 -I/opt/foo/ub16/boost-1.65.0/include -I/opt/foo/ub16/libevent-2.1.18-stable/include"
Also, if you pass --enable-tests=yes, then you are also forced to pass LDFLAGS="-L/opt/foo/ub16/libevent-2.1.18-stable/lib".
One should not need to pass these additional -I and -Ls given that --with-boost and --with-libevent are supposed to handle these.
Finally make clean fails as well.