I am trying to install the CVS version of wxPython on Gnu/Linux.
I have compiled and installed both wxWidgets and wxPython from the 2.6.1.0
tarball to /opt/wx/2.6 and /usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode
respectively. Everything seems to work fine.
I have installed the CVS version of wxWidgets to /opt/wx/HEAD. No errors were given.
I have ran python2.4 setup.py build_ext --inplace --debug UNICODE=1 on the CVS
wxPython code. No errors were reported.
I have exported LD_LIBRARY_PATH=/opt/wx/HEAD/lib and PYTHONPATH=$WXDIR/wxPython.
When I try to run $WXDIR/wxPython/demo/demo.py I get the following error
ben@wagner:~/src/wxWidgets/wxPython $ demo/demo.py Traceback (most recent call
last):
File "demo/demo.py", line 3, in ?
import Main
File "/home/ben/src/wxWidgets/wxPython/demo/Main.py", line 32, in ?
import wx # This module uses the new wx namespace
File "/home/ben/src/wxWidgets/wxPython/wx/__init__.py", line 42, in ?
from wx._core import *
File "/home/ben/src/wxWidgets/wxPython/wx/_core.py", line 4, in ?
import _core_
ImportError: libwx_gtk2ud_qa-2.6.so.0: cannot open shared object file: No such
file or directory
I can't find a corresponding source file so it would seem that this has been
removed from CVS. So why does wxPython require it? And how can I build
wxPython without it?
Thanks for your help.
Ben Armston
···
----------------------------------------------
This mail sent through http://www.ukonline.net
Hi Ben,
I am trying to install the CVS version of wxPython on Gnu/Linux.
I have compiled and installed both wxWidgets and wxPython from the 2.6.1.0
tarball to /opt/wx/2.6 and /usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode
respectively. Everything seems to work fine.
I have installed the CVS version of wxWidgets to /opt/wx/HEAD. No errors were given.
I have ran python2.4 setup.py build_ext --inplace --debug UNICODE=1 on the CVS
wxPython code. No errors were reported.
Try the following command instead:
python2.4 setup.py build_ext --inplace --debug UNICODE=1 WX_CONFIG=/opt/wx/HEAD/bin/wx-config
and see if that makes a difference. You need to delete the $WXDIR/wxPython/build.unicode subdirectory before doing this though.
Kevin
···
On Aug 20, 2005, at 5:00 PM, Ben Armston wrote:
I have exported LD_LIBRARY_PATH=/opt/wx/HEAD/lib and PYTHONPATH=$WXDIR/wxPython.
When I try to run $WXDIR/wxPython/demo/demo.py I get the following error
ben@wagner:~/src/wxWidgets/wxPython $ demo/demo.py Traceback (most recent call
last):
File "demo/demo.py", line 3, in ?
import Main
File "/home/ben/src/wxWidgets/wxPython/demo/Main.py", line 32, in ?
import wx # This module uses the new wx namespace
File "/home/ben/src/wxWidgets/wxPython/wx/__init__.py", line 42, in ?
from wx._core import *
File "/home/ben/src/wxWidgets/wxPython/wx/_core.py", line 4, in ?
import _core_
ImportError: libwx_gtk2ud_qa-2.6.so.0: cannot open shared object file: No such
file or directory
I can't find a corresponding source file so it would seem that this has been
removed from CVS. So why does wxPython require it? And how can I build
wxPython without it?
Thanks for your help.
Ben Armston
----------------------------------------------
This mail sent through http://www.ukonline.net
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-dev-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-dev-help@lists.wxwidgets.org