nanocube icon indicating copy to clipboard operation
nanocube copied to clipboard

configure problem

Open rachzhang opened this issue 10 years ago • 3 comments

hello guys,

I met a stupid problem when I tried to configure it ....

configure: WARNING: boost/thread.hpp: present but cannot be compiled configure: WARNING: boost/thread.hpp: check for missing prerequisite headers? configure: WARNING: boost/thread.hpp: see the Autoconf documentation configure: WARNING: boost/thread.hpp: section "Present But Cannot Be Compiled" configure: WARNING: boost/thread.hpp: proceeding with the compiler's result

I googled a lot and tried all possible solutions, but still it does not work.

any clue?

system config: os: ubuntu 14.04.1 gcc/g++ 4.8.2

thanks a lot.

rachzhang avatar Oct 14 '14 22:10 rachzhang

Please check if you have all the suggested packages installed, we did tested on a fresh ubuntu 14.04 machine. (May be build-essentials as well.)

Thanks!

Horace

$ sudo apt-get install automake $ sudo apt-get install libtool $ sudo apt-get install zlib1g-dev $ sudo apt-get install libboost-dev $ sudo apt-get install libboost-test-dev $ sudo apt-get install libboost-system-dev $ sudo apt-get install libboost-thread-dev

On Tue, Oct 14, 2014 at 6:06 PM, rachzhang [email protected] wrote:

hello guys,

I met a stupid problem when I tried to configure it ....

configure: WARNING: boost/thread.hpp: present but cannot be compiled configure: WARNING: boost/thread.hpp: check for missing prerequisite headers? configure: WARNING: boost/thread.hpp: see the Autoconf documentation configure: WARNING: boost/thread.hpp: section "Present But Cannot Be Compiled" configure: WARNING: boost/thread.hpp: proceeding with the compiler's result

I googled a lot and tried all possible solutions, but still it does not work.

any clue?

system config: os: ubuntu 14.04.1 gcc/g++ 4.8.2

thanks a lot.

— Reply to this email directly or view it on GitHub https://github.com/laurolins/nanocube/issues/24.

salivian avatar Oct 14 '14 22:10 salivian

hello Horace, thanks for the reply, but all those packages have been installed to the latest version. I even reinstalled the whole boost library....

rachzhang avatar Oct 15 '14 00:10 rachzhang

Hi,

Can you provide a little more detail on what the configure script is doing and where it might be going wrong? What is reported in the config.log file when it is testing the boost headers?

Can you compile other boost programs outside of nanocubes?

For example, if you look in the autom4te.cache directory, you should find several files (output.* and traces.*). Within these, you can see what is being attempted to test if boost is present and of a sufficient level. Can you compile these tests outside of nanocubes?

Do you have BOOST_ROOT set? It's possible that this is messing things up.

I'm throwing out a few possibilities, but it's hard to know exactly what's wrong without seeing more data from your system.

Thanks.

Jim

jklosow avatar Oct 15 '14 02:10 jklosow