fail to build ESyS-Particle using home grown Boost
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ESyS-Particle |
New
|
Low
|
Unassigned |
Bug Description
Hi
I saw your useful post about building boost & ESys-Particle
https:/
I'm not sure if versions have changed but I've had to install (build?)
boost on my RHEL system but ESys-Particle is failing and I can't see why
- as below (& attached), it appears to not be able to find 'python.hpp'
which actually does exist. All help gratefully received!
export BOOST_ROOT=
./configure CC=mpicc CXX=mpicxx 2>&1 | tee configure.txt
{snip}
configure: Detected BOOST_ROOT; continuing with
--with-
checking for Boost headers version >=
1.34.1... /gpfs/stfc/
checking for Boost's header version... 105900
Boost Version is 1.59.0
checking for the toolset name used by Boost for mpicxx... gcc44 -gcc
checking boost/system/
checking boost/system/
checking for boost/system/
checking for the Boost system
library... /gpfs/stfc/
libboost_system.so links to libboost_
yes...
yes
checking boost/filesyste
checking boost/filesyste
checking for boost/filesyste
checking for the Boost filesystem
library... /gpfs/stfc/
libboost_
yes...
(cached) yes
checking boost/python.hpp usability... no
checking boost/python.hpp presence... no
checking for boost/python.hpp... no
configure: error: cannot find boost/python.hpp
$ find $HOME/boost/1.59 -name 'python.hpp'
/gpfs/stfc/
/gpfs/stfc/
/gpfs/stfc/
-- Michael High End Compute http://
The SOLUTION was to ensure both a valid libbz2 and libpython2.7 -- the config.log showed that it was a problem linking to these (and not a problem finding libboost at all)