I am a debian user and debian is never up to date with wxpython. I
have tried to build my own debian packages using the make-deb script
in CVS, but it failed (I have asked a question about this in another
message, but so far got no reply). Then I tried to build wxWindows and
wxPython. Not everything worked exactly as it was put in the
instructions, but I did build and install wxWindows and wxPython.
WxWindows was installed in /usr/local/. Then I had to build wxPython
separately and installed it. I thought I gave
DESTDIR=/usr/local/lib/python1.5 but maybe I made a mistake and "build
-i" installed wxPython in /usr/lib/python1.5/site-packages/wxPython.
When I try to run wxpython the following happens:
···
-------------------------
jhspies-15:01:27-/usr/lib/python1.5/site-packages/wxPython$python
Python 1.5.2 (#0, Feb 26 2000, 17:14:29) [GCC 2.95.2 20000116 (Debian GNU/Linux)] on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
import wx
Traceback (innermost last):
File "<stdin>", line 1, in ?
File "/usr/local/bin/../../../usr/lib/python1.5/site-packages/wxPython/wx.py", line 2, in ?
import wxc
ImportError: libwx_gtkd.so: cannot open shared object file: No such file or directory
------------------
I linked the .so files in /usr/local/lib to the directory where wx.py
is in e.g.:
lrwxrwxrwx 1 root root 31 Jun 17 14:47 libwx_gtk-2.2.so -> /usr/local/lib/libwx_gtk-2.2.so*
lrwxrwxrwx 1 root root 27 Jun 17 14:47 libwx_gtk.so -> /usr/local/lib/libwx_gtk.so*
lrwxrwxrwx 1 root root 32 Jun 17 14:47 libwx_gtkd-2.2.so -> /usr/local/lib/libwx_gtkd-2.2.so*
lrwxrwxrwx 1 root root 28 Jun 17 14:47 libwx_gtkd.so -> /usr/local/lib/libwx_gtkd.so*
-rwxr-xr-x 1 root root 4935314 Jun 17 14:22 wxcmodule.so*
But I still get the error. I have run ldconfig several times.
It is a frustration to work like this after thinking that I could end
up with a few debian packages by just running make-deb.
Can somebody help me to get wxPython working without having to do
everything over?
Johann.
--
J.H. Spies, Hugenotestraat 29, Posbus 80, Franschhoek, 7690, South Africa
Tel/Faks 021-876-2337 Sel/Cell 082 898 1528(Johann) 082 255 2388(Hester)
"Many are the afflictions of the righteous; but the
LORD delivereth him out of them all."
Psalms 34:19