w-shackleton / droidpad-pc

DroidPad PC application
GNU General Public License v3.0
38 stars 7 forks source link

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

Open tribbloid opened 8 years ago

tribbloid commented 8 years ago

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

lotherk commented 8 years ago

Same here with Debian Testing (aka stretch)

DreadPirateLynx commented 7 years ago

Also a problem on Linux Mint 18 (Sarah)

cgogolin commented 7 years ago

Same problem here.

cgogolin commented 7 years ago

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

rnmhdn commented 6 years ago

How can I find the currect boost version!?

hetlelid commented 6 years ago

Depending on you OS. On debian:

apt-cache show libboost-dev

AlexandrParkhomenko commented 4 years ago

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

fcolecumberri commented 4 years ago

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

rottencandy commented 4 years ago

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.