[SciPy-dev] Announce: First installable version of Chaco plotting toolkit is now available
skip at pobox.com
Sun Sep 22 15:10:01 CDT 2002
skip> What versions of other stuff are required? I'm having trouble
skip> building wxPython and wxGTK on both Linux (using gcc/g++) and
skip> Solaris (using suncc/sunc++).
eric> It should work with 2.3.2 and 126.96.36.199 (current). I think there
eric> are RPMs available for Linux at www.wxpython.org.
I'll hold off on Solaris for now, since that environment is a bit different.
On Linux, I started with wxPythonSrc-188.8.131.52 and followed the directions at
http://www.wxpython.org/README.1st.txt to build it. Specifically, I did
../configure --with-gtk --prefix=$WXPREF --enable-rpath=$WXPREF/lib \
--with-opengl --enable-optimise --enable-debug_flag \
--with-libjpeg=builtin --with-libpng=builtin --with-libtiff=builtin \
[There is a typo in the README.1st.txt file - the --with-libjpeg=builtin arg
is missing a dash.]
python setup.py \
IN_CVS_TREE=1 WX_CONFIG=$WXPREF/bin/wx-config \
I then went to the wxPython/demo directory and executed
Traceback (most recent call last):
File "demo.py", line 3, in ?
File "Main.py", line 15, in ?
from wxPython.wx import *
File "/usr/local/lib/python2.3/site-packages/wxPython/__init__.py", line 20, in ?
ImportError: /usr/local/lib/python2.3/site-packages/wxPython/wxc.so: undefined symbol: __ti7wxEvent
I poked around for "__ti7wxEvent". All I found were a couple undefined
for f in `find . -name '*.so'` ; do
n=`nm -p $f | egrep __ti7wxEvent | wc -l`
if [ $n -gt 0 ] ; then
nm -p $f | egrep __ti7wxEvent
I then went back to the wxPython build tree and scanned the .o files for
that symbol using a for loop similar to the above. This yielded:
According to c++filt, that symbol corresponds to
wxEvent type_info node
My environment is Mandrake 8.1, Python from CVS (2.3a0-ish) built with gcc.
Skip Montanaro - skip at pobox.com
The need for gutters to be cleaned is directly proportional to how hard it
happens to be raining at the moment.
More information about the Scipy-dev