[wxpython-users] Can't get 2.8.10.1 to run
by Chris Botos other posts by this author
May 31 2009 7:12PM messages near this date
Re: [wxpython-users] Dabo 0.9.2 released
|
Re: [wxpython-users] Can't get 2.8.10.1 to run
Hi,
I'm trying to get 2.8.10.1 up and running on a Solaris 10 x86 box, python 2.5.
Following the BUILD instructions, and making a couple of adjustments,
I have been able to compile everything to the point where one of two
things happen, depending on some conditions.
1) With LD_LIBRARY_PATH = /opt/wx/2.8/lib, and the
PYTHONPATH=/opt/wx/wxPython-src-2.8.10.1/wxPython:... I get the
following:
Python 2.5 (r25:51908, Dec 20 2007, 16:09:34)
[GCC 3.4.3 (csl-sol210-3_4-branch+sol_rpath)] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
> >> import wx
Traceback (most recent call last):
 File "<stdin> ", line 1, in <module>
 File "/opt/wx/wxPython-src-2.8.10.1/wxPython/wx/__init__.py", line
45, in <module>
  from wx._core import *
 File "/opt/wx/wxPython-src-2.8.10.1/wxPython/wx/_core.py", line 4, in <module>
  import _core_
ImportError: ld.so.1: python2.5: fatal: libiconv.so.2: open failed: No
such file or directory
> >>
2) If I add the location of libiconv.so.2, so that  LD_LIBRARY_PATH =
/opt/wx/2.8/lib:/usr/local/lib and repeat the above, wx seems to
import without error.
However, when I try to create an app, as follows, the system hangs, is
unresponsive, and I am stuck.
> >> import wx
> >> app = wx.PySimpleApp()
----------
To get to this point, the first thing I did was upgrade to GTK+-2.12.0
and dependencies from sunfreeware.com, installed in /usr/local.
I've tried a number of variations of the BUILD instructions' parameters.
In those cases where the build was completed without apparent error,
my procedure has been:
setenv LD_LIBRARY_PATH /usr/local/lib
setenv PKG_CONFIG_PATH /usr/local/lib/pkgconfig
Create .configure and .make in $WXDIR/bld :
../configure --prefix=/opt/wx/2.8 --with-gtk --with-opengl --with
-gnomeprint --enable-optimize --enable-debug_flag --enable-geometry
--enable-graphics_ctx --enable-sound --with-sdl --enable-mediactrl
--enable-display --enable-unicode
gmake $* && gmake -C contrib/src/gizmos $* && gmake -C contrib/src/stc $*
Then execute:
.config
.make
.make install
cd ../wxPython
gedit config.py ---> Uncomment the recommended block of code for Solaris
python2.5 setup.py build_ext --inplace
--include-dirs="/usr/X11R6/include" --force
(without the include, there was a compile error)
Then I try the experiments from 1 and 2 above.
I'd appreciate any help or suggestions.
Chris Botos
_______________________________________________
wxpython-users mailing list
wxpython-users@[...].org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
Thread:
Chris Botos
Mike Driscoll
Chris Botos
Robin Dunn
|