[Pythonmac-SIG] wxPython on 10.3

Kevin Ollivier kevino at tulane.edu
Mon Oct 27 13:21:06 EST 2003


Hi Arthur,

On Oct 26, 2003, at 4:16 PM, Arthur Elsenaar wrote:

>
> Hi Kevin,
>
>> There are two possible problems here:
>>
>> 1. Have you compiled wxWindows according to the build instructions in 
>> Build.OSX.txt before running setup.py?
>
> I did with the latest snapshot and configure, make and make install 
> went error free.
>
>> 2. You may need to add /usr/local/bin to your PATH. Just type the 
>> following into the terminal before building:
>>
>> setenv PATH /usr/local/bin:$PATH
>
> right, thanks, that cured some errors, but now I get a host of OpenGL 
> errors.. it can't find a contrib/ogl directory that should have been 
> there.. maybe I try compiling first plain vanilla and add other stuff 
> later?

What I did when I started building wxPython from source was turn off 
all the extensions by setting their BUILD_XXX value to 0 in setup.py 
(except for STC, which is needed for demo.py now) and then once that 
was building OK I went back and added the contribs back in by setting 
them to 1.

Also, did you run a plain vanilla build of wxWindows? That is, did you 
simply call ./configure with no arguments? Adding --with-opengl will 
tell wxWindows to build the OpenGL library, which it doesn't do by 
default.

>> This command assumes you're using tcsh as your terminal shell. As a 
>> side note, I've heard rumors that Panther uses Bash as the default 
>> shell now, but I just upgraded Friday and mine is still using tcsh. 
>> Has anyone does a clean install, and if so, has your shell changed to 
>> bash? You can find the default shell with 'echo $SHELL'.
>
> 10.3 indeed has Bash as default shell, one needs to use export instead 
> of setenv;
>
> export PATH=/usr/local/bin:$PATH

Thanks!

HTH,

Kevin




More information about the Pythonmac-SIG mailing list