droidpad-pc
droidpad-pc copied to clipboard
Build on Linux 15.10 failed with configure: error: invalid value: boost_major_version=
All related information when running ./configure:
checking for Boost headers version >= 0.0.0... yes checking for Boost's header version... configure: error: invalid value: boost_major_version=
it is yet unknown if this is caused by gcc 5.1 on Ubuntu 15.10, or other environment settings. I guess this is also blocking you from adding a wily wolf ppa repo
Same here with Debian Testing (aka stretch)
Also a problem on Linux Mint 18 (Sarah)
Same problem here.
This can be worked around by changing the line boost_cv_lib_version=`cat conftest.i`
with the correct boost version, in my case boost_cv_lib_version="1_62_0_1"
.
How can I find the currect boost version!?
Depending on you OS. On debian:
apt-cache show libboost-dev
You need correct boost.m4 ( size around 59 kb) to configure.ac example: https://github.com/tsuna/boost.m4/blob/master/build-aux/boost.m4
same problem with gentoo and I know I have boost 1.72 installed
Just set the env var boost_cv_lib_version
to the version of your installed libraries. For example, if you have boost version 1.69.0
, set it as export boost_cv_lib_version=1_69_0
and then run ./configure
.