Hello all,
I am trying to install the Boost.Python library (and then
compile C++ python extensions after that) using cygwin and am not having much
luck. I know I have the main part of boost working because I was able to
compile and run the basic example for testing the boost configuration. Then to
install Boost.Python I did the following:
$ ./configure –with-libraries=python
This generates the following output:
Building Boost.Jam with toolset gcc...
tools/jam/src/bin.cygwinx86/bjam
Detecting Python version... 2.5
Detecting Python root... c:\Python25
Unicode/ICU support for Boost.Regex?... not found.
Backing up existing Boost.Build configuration in
user-config.jam.2
Generating Boost.Build configuration in user-config.jam...
Generating Makefile...
I then type “make
install”, which generates the following output:
./tools/jam/src/bin.cygwinx86/bjam
--user-config=user-config.jam --prefix=/usr/local --exec-prefix=
/usr/local --libdir=/usr/local/lib
--includedir=/usr/local/include --with-python install
WARNING: No python installation configured and
autoconfiguration
failed. See http://www.boost.org/libs/python/doc/building.html
for
configuration instructions or pass --without-python to
suppress
this message and silently skip all Boost.Python targets
warning: Python location is not configured
warning: the Boost.Python library won't be built
warning: Unable to construct ./install-unversioned
warning: Unable to construct ./install-unversioned
warning: Unable to construct ./install-unversioned
warning: Unable to construct ./install-unversioned
warning: Unable to construct ./install-unversioned
warning: Unable to construct ./install-unversioned
warning: Unable to construct ./install-unversioned
warning: Unable to construct ./install-unversioned
...found 7812 targets...
Those warnings look rather problematic. And indeed, when I
try to compile the basic example (/boost_1_34_0/libs/python/example/tutorial)
by typing “bjam target-os=cygwin
toolset=gcc”, I get the following errors:
Jamroot:17: in modules.load
rule python-extension unknown in module
Jamfile</cygdrive/p/c_libs/boost_1_34_0/libs/python/example/
tutorial>.
/cygdrive/p/c_libs/boost_1_34_0/tools/build/v2/build/project.jam:312:
in load-jamfile
/cygdrive/p/c_libs/boost_1_34_0/tools/build/v2/build/project.jam:68:
in load
/cygdrive/p/c_libs/boost_1_34_0/tools/build/v2/build/project.jam:170:
in project.find
/cygdrive/p/c_libs/boost_1_34_0/tools/build/v2/build-system.jam:237:
in load
/cygdrive/p/c_libs/boost_1_34_0/libs/python/example/../../../tools/build/v2/kernel/modules.jam:261:
in import
/cygdrive/p/c_libs/boost_1_34_0/libs/python/example/../../../tools/build/v2/kernel/bootstrap.jam:132
: in boost-build
/cygdrive/p/c_libs/boost_1_34_0/libs/python/example/boost-build.jam:7:
in module scope
Any ideas? Am I missing something obvious? Any help would be
greatly appreciated. Thanks,
- Matt
******************** NOTICE OF CONFIDENTIALITY This communication including any information transmitted with it is intended only for the use of the addressees and is confidential. If you are not an intended recipient or responsible for delivering the message to an intended recipient, any review, disclosure, conversion to hard copy, dissemination, reproduction or other use of any part of this communication is strictly prohibited, as is the taking or omitting of any action in reliance upon this communication. If you receive this communication in error or without authorization please notify us immediately by return e-mail or otherwise and permanently delete the entire communication from any computer, disk drive, or other storage medium. If the above disclaimer is not properly readable, it can be found at www.td.com/legal AVERTISSEMENT DE CONFIDENTIALITE Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement aux destinataires susmentionnés, est confidentiel. Si vous n’êtes pas le destinataire prévu ou un agent responsable de la livraison de ce courriel, tout examen, divulgation, copie, impression, reproduction, distribution, ou autre utilisation d’une partie de ce courriel est strictement interdit de même que toute intervention ou abstraction à cet égard. Si vous avez reçu ce message par erreur ou sans autorisation, veuillez en aviser immédiatement l’expéditeur par retour de courriel ou par un autre moyen et supprimer immédiatement cette communication entière de tout système électronique. Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous pouvez le consulter à www.td.com/francais/legale