Treemix boost compilation errors

878 views
Skip to first unread message

Simey

unread,
Sep 14, 2014, 1:50:52 PM9/14/14
to structure...@googlegroups.com
We have been unable to compile Treemix due to Boost errors. We have installed Boost in /usr/local/boost_1_56_0, I have added it to my PATH. We do get a few boost compilation errors, so not sure if this is the issue:

Boost error:
...failed common.copy /usr/local/lib/libboost_wave.a...
...failed updating 65 targets...
...skipped 11263 targets...
...updated 1007 targets...

we get the following error trying to compile Treemix:

$ ./configure --with-boost-libdir=/usr/local/boost_1_56_0
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gzopen in -lz... yes
checking for cos in -lm... yes
checking for cblas_dgemm in -lgslcblas... yes
checking for gsl_blas_dgemm in -lgsl... yes
checking for boostlib >= 1.42... configure: We could not detect the boost libraries (version 1.42 or higher). If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give a PATH to --with-boost option.  If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.
configure: error: need boost >= 1.42

anybody know what we are doing wrong?

Joseph Pickrell

unread,
Sep 15, 2014, 8:36:13 AM9/15/14
to structure...@googlegroups.com
Hi Simey,

Thanks for this report. Maybe try:

./configure CPPFLAGS=-I/usr/local/boost_1_56_0
LDFLGAGS=-L/usr/local/boost_1_56_0

Let me know if that works.

Best,

Joe
> --
> You received this message because you are subscribed to the Google Groups
> "structure-software" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to structure-softw...@googlegroups.com.
> To post to this group, send email to structure...@googlegroups.com.
> Visit this group at http://groups.google.com/group/structure-software.
> For more options, visit https://groups.google.com/d/optout.

brian simison

unread,
Sep 15, 2014, 1:17:08 PM9/15/14
to structure...@googlegroups.com
Thank you Joseph,
I think  that did the trick :)
Reply all
Reply to author
Forward
0 new messages