ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxpython-users
wxpython-users
Re: [wxpython-users] Can't get 2.8.10.1 to run
by Mike Driscoll other posts by this author
Jun 1 2009 11:36AM messages near this date
[wxpython-users] Can't get 2.8.10.1 to run | Re: [wxpython-users] Can't get 2.8.10.1 to run
chris botos wrote:
>  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 >         --en
able-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
>  ____________________

Are you actually trying to run wx from within IDLE? While I don't run 
Solaris, I have seen IDLE behave badly (especially the Tk GUI version of 
IDLE) when I try to run wx interactively  like that. In fact, IDLE will 
either hang, die or spit out a traceback.

- Mike
_______________________________________________
wxpython-users mailing list
wxpython-users@[...].org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
Thread:
Chris Botos
Mike Driscoll
Chris Botos
Robin Dunn

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved