From: Peter G. (CSSE) <P.G...@co...> - 2009-05-06 00:42:11
|
Hi there, I am trying to get vpython5.0.3 compiled on fedora 10 x86_64 The 64 bit seems to be causing problems as the configure script seems to set up things to ONLY look for libraries only in /usr/lib instead of /usr/lib64 Brute force has got it compiling OK but I am getting an error loading bounce2.py and trying to run gets me this... some bounce information messages then.. VPython ***CRITICAL ERROR***: ../../visual-5.03_candidate/src/gtk2/render_surface.cpp:88: render_surface: failed to initialize and OpenGL configuration, Aborting. The problem I have is that I am not sure if this was from the force required to compile or some other issue. Can anyone give me some pointers on what to look at, or what to test.. Running Fedora 10 on a core2 Duo with an nvidia 8600GT in it. This is what I did below to get it going --config wasn't much use as the Makefiles changed and the build huge Let me know what other info required.. First what I did... ================================= mkdir /netfs/cosc/pkg/VPython5.0.3/ cd /netfs/cosc/pkg/VPython5.0.3/ ../visual-5.03_candidate/configure --prefix /netfs/cosc/pkg/VPython5.0.3/ vi Makefile src/Makefile site-packages/visual/Makefile docs/Makefile examples/Makefile bin/vpython ### These were changed to have libdir point to /usr/lib64 ### and any other directories to have lib64 where needed ### PYTHON_INCLUDES = -I/usr/include/python2.5 -I${prefix}/lib64/python2.5/site-packages/numpy/core/include # python is completely separate to the install prefix # for vpython # the rpm's install it in /usr/lib64/... Change it /usr separate out where the python stuff is /usr/lib64/python2.5/site-packages from where the vpython stuff is. $prefix_stuff/lib64/python2.5/site-packages # /usr/lib64/libboost_thread-mt.so is the only # boost_thread library on my machine so change it... vi src/Makefile # and change the library - here's hoping:-) #inside ..../bin/vpython the script needed to know full #path to where idle was.. same for visualexampledir IDLE=/usr/bin/idle Pete -- ------------------------------------------------------------------- Peter Glassenbury Computer Science department pe...@co... University of Canterbury +64 3 3642987 ext 7762 New Zealand |