fail to build ESyS-Particle using home grown Boost

Bug #1490179 reported by high end compute on 2015-08-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description


I saw your useful post about building boost & ESys-Particle

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=$HOME/boost/1.59
./configure CC=mpicc CXX=mpicxx 2>&1 | tee configure.txt

configure: Detected BOOST_ROOT; continuing with
checking for Boost headers version >=
1.34.1... /gpfs/stfc/local/HCPhi020/mxb01/mxb52-mxb01/boost/1.59/include
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/error_code.hpp usability... yes
checking boost/system/error_code.hpp presence... yes
checking for boost/system/error_code.hpp... yes
checking for the Boost system
library... /gpfs/stfc/local/HCPhi020/mxb01/mxb52-mxb01/boost/1.59/lib/ ... links to
checking boost/filesystem/path.hpp usability... yes
checking boost/filesystem/path.hpp presence... yes
checking for boost/filesystem/path.hpp... yes
checking for the Boost filesystem
library... /gpfs/stfc/local/HCPhi020/mxb01/mxb52-mxb01/boost/1.59/lib/ ... links to
(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'

-- Michael High End Compute @highendcompute

high end compute (enq) wrote :
high end compute (enq) wrote :

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)

Changed in esys-particle:
importance: Undecided → Low
assignee: nobody → high end compute (enq)
assignee: high end compute (enq) → nobody
aaron (zhaotaoscu) wrote :


Just a comment if someone meets the same problem again.

I found to install python2.7-dev library would solve this problem.


To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments