From: Vincent P. <vp...@un...> - 2006-03-24 16:21:03
|
Hi, I'll try to be precise enough to define my problem : I'm trying to build and instal visual python and have the following=20 problem : (from src/build.log) : ------------ In file included from ../include/vector.h:8, from ../include/xgl.h:10, from xgl.cpp:4: ../include/cvisual.h:8:47: boost/python/detail/wrap_python.hpp: No such=20 file or directory ------------ The compilation command was (from src/build log also) g++ -I/usr/include/python2.4 -DHAVE_CONFIG_H -I../include -I..//include=20 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include=20 -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2=20 -I/usr/lib64/glib/include -I/usr/X11R6/include -D_REENTRANT=20 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/gtk-1.2=20 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/X11R6/include=20 -fpic -DPIC -g -O2 -ftemplate-depth-120 -g0 -MM -MT xgl.lo xgl.d -MF=20 xgl.d xgl.cpp ------------ Indeed, this file can be found there : /usr/local/include/boost-1_32/boost/python/detail/wrap_python.hpp I've looked through the archive and found some tips from http://sourceforge.net/mailarchive/message.php?msg_id=3D10561064 so I did : - ln -s /usr/local/lib/libboost-python.so=20 /usr/local/lib/libboost-python-gcc-mt-1_32.so (don't know was proposed as part of the solution) - export CPPFLAGS=3D-I/usr/local/include/boost_1_32 - export LDFLAGS=3D-L/usr/local/lib I also checked the location of python (/usr/bin/python) so I run configure as follows : ./configure --prefix=3D/usr I also looked to the makefile generated by configure and see : CPPFLAGS =3D -I/usr/local/include/boost_1_32 -I/usr/include/gtk-1.2=20 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include-I/usr/X11R6/include LDFLAGS =3D -L/usr/local/lib So the modifs have been taken into account Still the same error. I would appreciate som help ! Thanks a lot to everyone Vincent Pag=E9. Ps : I use Python 2.4 scipy-0.4.6/ boost_1_32_0/ And trying to use visual-3.2.9/ |