[wxPython-users] 2.8.1.1 FreeBSD Build Problems

Robin Dunn robin at alldunn.com
Mon Jan 22 13:24:10 PST 2007


Nealie wrote:
> I am trying to build a new FreeBSD port for wxPython 2.8 (2.8.1.1) in
> the same way as I have for 2.6 but unfortunately I am unable to build
> because I am building against wxWidgets 2.8.0 (The latest stable
> release) which does not contain the file wx/srchctrl.h.
> 
> I can only assume that this has been added in since the release of
> wxWidgets 2.8.0 and that wxPython 2.8.1.1 contains newer code than the
> stable release.

Correct.

> 
> Will I be able at some point to build against the stable wxWidgets
> release or will I have to install the version that comes with wxPython?
> I'm not sure how this will work as other ports use wxWidgets and so
> install the port.

There should be another wxWidgets release soon which will include that 
file.  In fact, there is a 2.8.1 release floating around somewhere which 
should have it, but it was not very widely publicized...

In the mean time there is an alternative you can try if you don't want 
to build the wxWidgets in the wxPython tarball.  You can probably patch 
the wxPython sources to not include the srchctrl.h file.  (You might 
have to forward declare the classes instead though.)  Then wxPython will 
use a set of stub classes instead that will just raise an exception if 
you try to use them.

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





More information about the wxpython-users mailing list