Je continue d'obtenir l'erreur lorsque j'essaie de compiler l'exemple hello world avec bjam. Tout dans le fichier Jamroot couru ok, sauf la dernière ligne (quand je commentais cette ligne, aucune erreur ne se produit):Boost.python erreur dans l'exemple de bonjour monde
run-test hello : hello_ext hello.py ;
L'erreur est:
capture-output bin/hello.test/gcc-4.5.2/debug/hello
export: 3: LD_LIBRARY_PATH: bad variable name
LD_LIBRARY_PATH=/home/hoangtu/Programs/boost_1_46_1/bin.v2/libs/python/build/gcc-4.5.2/debug:/home/hoangtu/Programs/boost_1_46_1/libs/python/example/tutorial/bin/gcc-4.5.2/debug:/usr/bin:/usr/lib:/usr/lib32:/usr/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
PYTHONPATH=bin/gcc-4.5.2/debug
export PYTHONPATH
"/usr/bin/python2.7" "hello.py" > "bin/hello.test/gcc-4.5.2/debug/hello.output" 2>&1
status=$?
echo >> "bin/hello.test/gcc-4.5.2/debug/hello.output"
echo EXIT STATUS: $status >> "bin/hello.test/gcc-4.5.2/debug/hello.output"
if test $status -eq 0 ; then
cp "bin/hello.test/gcc-4.5.2/debug/hello.output" "bin/hello.test/gcc-4.5.2/debug/hello"
fi
verbose=0
if test $status -ne 0 ; then
verbose=1
fi
if test $verbose -eq 1 ; then
echo ====== BEGIN OUTPUT ======
cat "bin/hello.test/gcc-4.5.2/debug/hello.output"
echo ====== END OUTPUT ======
fi
exit $status
...failed capture-output bin/hello.test/gcc-4.5.2/debug/hello...
...failed updating 1 target...
...skipped 1 target...
Avez-vous essayé de démarrer 'bjam' via 'sh -c bjam' pour vous assurer que ce n'est pas une coquille bizarre? – Sean
Toujours échoué ... – Amumu
Deux suggestions: 1) inclure votre invocation 'bjam' dans ce qui précède, et 2) augmenter le niveau de débogage (-d si je me souviens bien). – Sean