[Pythonmac-SIG] Problem with wxPython and wx-config during build of 3rd party lib

Robin Dunn robin at alldunn.com
Wed Oct 1 02:06:46 CEST 2008


newbie73 wrote:
> I am attempting to build parts of the Enthought Tool Suite and am running
> into some trouble with a package that uses wxPython (and wx-config).  My
> system has two versions of wx-config, the one that comes with Leopard and
> the one I installed. I believe the problem with the installation is the use
> of the wrong wx-config, though I am not sure how to correct the problem.  
> 
> Default Version: /usr/bin/wx-config
> Custom Version: /usr/local/lib/wxPython-unicode-2.8.8.1/bin/wx-config
> 
> Full log of the installation attempt is attached to the e-mail
> Partial Install Log:
> 
> $ export WX_CONFIG=/usr/local/lib/wxPython-unicode-2.8.8.1/bin/wx-config

Instead of putting it in the env add it to the setup.py command-line. 
Or if that can't be done for some reason then temporarily alter your 
PATH so /usr/local/lib/wxPython-unicode-2.8.8.1/bin comes before /usr/bin.


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



More information about the Pythonmac-SIG mailing list