droidpad-pc icon indicating copy to clipboard operation
droidpad-pc copied to clipboard

Build on Linux 15.10 failed with configure: error: invalid value: boost_major_version=

Open tribbloid opened this issue 9 years ago • 9 comments

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

tribbloid avatar Feb 14 '16 07:02 tribbloid

Same here with Debian Testing (aka stretch)

lotherk avatar Jun 06 '16 13:06 lotherk

Also a problem on Linux Mint 18 (Sarah)

DreadPirateLynx avatar Dec 02 '16 22:12 DreadPirateLynx

Same problem here.

cgogolin avatar Jan 24 '17 10:01 cgogolin

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".

cgogolin avatar Jan 24 '17 13:01 cgogolin

How can I find the currect boost version!?

rnmhdn avatar Dec 25 '17 13:12 rnmhdn

Depending on you OS. On debian:

apt-cache show libboost-dev

hetlelid avatar Jan 19 '18 11:01 hetlelid

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

AlexandrParkhomenko avatar Nov 12 '19 09:11 AlexandrParkhomenko

same problem with gentoo and I know I have boost 1.72 installed

fcolecumberri avatar May 20 '20 16:05 fcolecumberri

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.

rottencandy avatar Jun 12 '20 11:06 rottencandy