There is now a tar file for building VPython 5.22 available on the Linux
download page at vpython.org, and at sourceforge.net.
There is a bug in the standard Boost libraries on Ubuntu 9.10, and to
build VPython you must first install Boost 1.38 libraries from
https://launchpad.net/~ajmitch/+archive/ppa
<https://launchpad.net/%7Eajmitch/+archive/ppa>. Be sure to read and
follow ALL of the instructions; click on everything in sight on that web
page.
If you're content with the older VPython 5.11 but want to run VPython on
Ubuntu 9.10, just install these new 1.38 libraries and then install the
Ubuntu 9.10 python-visual package.
Bruce Sherwood
P.S. The problem I had with linking to the Boost libraries turned out
that in the build machinery the statement for linking the Boost
libraries was
-lboost_python -lboost_signals -lboost_thread
but had to be changed to state explicitly that we want the multithreaded
versions (even though those were the only ones installed, and even
though this wasn't necessary in the past):
-lboost_python-mt -lboost_signals-mt -lboost_thread-mt
I'm hoping/assuming that this will also work okay on other Linux
distributions, but I only have access to Ubuntu.
|