So here I am trying to install wxpython 2.8.12 onto this linux server
through ssh secure shell and i am having trouble with it since I
getting this message:
File "Display.py", line 1, in <module>
import wx
File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/
__init__.py", line 45, in <module>
from wx._core import *
File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/
_core.py", line 4, in <module>
import _core_
ImportError: /usr/lib/libwx_gtk2u_core-2.8.so.0: undefined symbol:
gdk_x11_window_get_drawable_impl
So I assumed that this is because I didn't install wxpython correctly
on the server, so I tried to install again. I'm not the admin, so I
could only install locally. I untar the file, ./configure, but then
when I use the make altinstall command, it gave me this:
$ make altinstall prefix=~/usr/local exec-prefix=~/usr/local
make: *** No rule to make target `altinstall'. Stop.
So here I am trying to install wxpython 2.8.12 onto this linux server
through ssh secure shell and i am having trouble with it since I
getting this message:
File "Display.py", line 1, in<module>
import wx
File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/
__init__.py", line 45, in<module>
from wx._core import *
File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/
_core.py", line 4, in<module>
import _core_
ImportError: /usr/lib/libwx_gtk2u_core-2.8.so.0: undefined symbol:
gdk_x11_window_get_drawable_impl
So I assumed that this is because I didn't install wxpython correctly
on the server,
It is trying to use the system wxPython and wxWidgets, not one that you may have built yourself. You'll need to set PYTHONPATH and probably LD_LIBRARY_PATH to run your build.
so I tried to install again. I'm not the admin, so I
could only install locally. I untar the file, ./configure, but then
when I use the make altinstall command, it gave me this:
$ make altinstall prefix=~/usr/local exec-prefix=~/usr/local
make: *** No rule to make target `altinstall'. Stop.
Just as it is telling you, there is no altinstall target in the wxWidgets Makefile. What makes you think that there should be one?
how do I go about doing this? Thanks!
For the 2.8 release series you should follow these instructions: http://wxpython.org/BUILD-2.8.html Read the text carefully, don't just blindly copy the commands shown because you will probably want to customize some things for your situation.