Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2004-04-14 15:58:46


"Markus Schöpflin" <markus.schoepflin_at_[hidden]> writes:

> I'm trying to compile boost.python from Boost 1.31.0 on Tru64 5.1 with
> Compaq C++ V6.5-033.
>
> Python has been built like this:
>
>
>
>
>
> ./configure --with-cxx=cxx --prefix=/opt --exec-prefix=/opt/exec/OSF1-V5.1-a
> lpha --without-gcc
>
> The command line used to build boost.python looks like this:
>
> bjam -sTOOLS=tru64cxx65 -sPYTHON_ROOT="/opt" -sPYTHON_VERSION="2.3"
> stage
>
> When build boost.python I get the following error message:
>
> tru64cxx65-C++-action
> bin/boost/libs/python/build/libboost_python.so/tru64cxx65/debug/numeric.o
> cxx: Error: /net/camos/opt/include/python2.3/Python.h, line 8: #5 could not
> open source file "pyconfig.h"
> #include "pyconfig.h"
> ---------------------^
>
> It looks like the exec prefix is not taken into account because the file is
> located here:
>
> /opt/exec/OSF1-V5.1-alpha/include/python2.3/pyconfig.h
>
> Is this not supported by the current boost build process or is there any
> option I missed? Or is there anything else I'm doing wrong?

I don't know. After bjam encounters an error it dumps the
command-line it used to invoke the compiler. Do you see anything
suspicious in that?

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net