Error Running wxPython Demo from CVS

Quoting Kevin Ollivier <kevino@tulane.edu>:

Hi Ben,

> I am trying to install the CVS version of wxPython on Gnu/Linux.
>
> I have compiled and installed both wxWidgets and wxPython from the
> 2.6.1.0
> tarball to /opt/wx/2.6 and /usr/lib/python2.4/site-packages/wx-2.6-
> gtk2-unicode
> respectively. Everything seems to work fine.
>
> I have installed the CVS version of wxWidgets to /opt/wx/HEAD. No
> errors were given.
>
> I have ran python2.4 setup.py build_ext --inplace --debug UNICODE=1
> on the CVS
> wxPython code. No errors were reported.

Try the following command instead:

python2.4 setup.py build_ext --inplace --debug UNICODE=1 WX_CONFIG=/
opt/wx/HEAD/bin/wx-config

and see if that makes a difference. You need to delete the $WXDIR/
wxPython/build.unicode subdirectory before doing this though.

Kevin

Hi Kevin,

Removing the $WXDIR/wxPython/build.unicode directory wasn't enough. I ended up
removing everything in $WXDIR/wxPython and checking it back out of CVS.
Overkill I know, but it did the trick.

Thanks for your help.

Ben

···

On Aug 20, 2005, at 5:00 PM, Ben Armston wrote:

----------------------------------------------
This mail sent through http://www.ukonline.net

Hi Ben,

[snip]

Hi Kevin,

Removing the $WXDIR/wxPython/build.unicode directory wasn't enough. I ended up
removing everything in $WXDIR/wxPython and checking it back out of CVS.
Overkill I know, but it did the trick.

Sorry, now that you point this out, I just remembered that you probably needed to remove the .so files from the $WXDIR/wxPython/wx dir. Since none of the sources changed, it would see the .so files, consider the .so files up-to-date, and think it doesn't need to rebuild. ;-/ Sorry, but I'm glad you got it running anyways. :slight_smile:

Kevin

···

On Aug 30, 2005, at 3:59 PM, Ben Armston wrote:

Thanks for your help.

Ben

----------------------------------------------
This mail sent through http://www.ukonline.net

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-dev-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-dev-help@lists.wxwidgets.org