|
Boost : |
From: Jody Hagins (jody-boost-011304_at_[hidden])
Date: 2004-01-15 05:27:53
On Wed, 14 Jan 2004 17:14:55 -0600
Rene Rivera <grafik.list_at_[hidden]> wrote:
> Also at the top level you can:
>
> bjam ... install
>
> Or..
> bjam ... stage
Hmmm. I appreciate the input, but I am obviously doing something wrong.
I ran the command first, without "install" and it looks like everything
built (since I'm new it is difficult to tell). When I run bjam with
"install" I get an error saying it can not make "install." What am I
missing about this Jam thing?
Thanks!
jody11:jody> cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)
jody11:jody> g++ --version
g++ (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
jody11:jody> bjam -v
Boost.Jam Version 3.1.7. OS=LINUX.
Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc.
Copyright 2001 David Turner.
Copyright 2001-2002 David Abrahams.
jody11:jody> pwd
/home/jody/boost-1.30.2
jody11:jody> bjam -d2 "-sTOOLS=gcc" "-sBUILD=debug release
<runtime-link>static/dynamic <threading>single/multi"
"--prefix=/home/jody/usr/local" install
---------------------------------------------------------------------
skipping Boost.Python library build due to missing or incorrect
configuration
couldn't find Python.h in "/usr/local/include/python2.2"
You can configure the location of your python installation by setting:
PYTHON_ROOT - currently "/usr/local"
PYTHON_VERSION - The 2-part python Major.Minor version number (e.g.
"2.2", NOT "2.2.1") - currently "2.2"
The following are automatically configured from PYTHON_ROOT if not
otherwise set:
PYTHON_LIB_PATH - path to Python library object; currently
"/usr/local/lib/python2.2/config"
PYTHON_INCLUDES - path to Python #include directories; currently
"/usr/local/include/python2.2"
---------------------------------------------------------------------
<libs!thread!build>libboost_thread.so requires <threading>multi,
skipping requested build configuration(s) <threading>single.
<libs!thread!build>libboost_thread.so requires <threading>multi,
skipping requested build configuration(s) <threading>single.
<libs!thread!build>libboost_thread.so requires <threading>multi,
skipping requested build configuration(s) <threading>single.
<libs!thread!build>libboost_thread.so requires <threading>multi,
skipping requested build configuration(s) <threading>single.
don't know how to make install
...found 1 target...
...can't find 1 target...
I get the same type of error for bjam ... stage
Also, note that I use "multi" instead of "multiple" like the document
says becuase I discovered that with "multiple" the libraries are
generated, but they are not built with threading enabled.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk