[wx-dev] Build problems on RHEL 4

Robin Dunn robin at alldunn.com
Mon Jun 2 12:14:30 PDT 2008


Ted Carney wrote:
> I looked at my error output a little closer (see below) and can see that 
> wx is assuming python2.5 is in /usr/lib.  My python2.5 path is:
> /usr/local/lib/python2.5.  Does import wx assume a path?  I should have 
> been a bit clearer below.  "Attempted to run" means:


The wxPython RPMs are built on systems where the python used for the 
build is installed witha prefix of /usr.  If you need to use a different 
Python then the best thing to do is to build your own wxPython RPMs too. 
  You can do that from the source tarball with the rpmbuild command. 
See http://wxpython.org/download.php#sources.  You'll probably also have 
to add a --define for the full path to python, or edit the .spec file.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!



More information about the wx-dev mailing list