Re: [PyOpenGL-Users] PyOpenGL 2.0.1.03
Brought to you by:
mcfletch
|
From: <il...@ya...> - 2003-02-18 22:15:36
|
doh
More of my brain dead errors. The check was supposed
to just print a warning on wrong version of swig, but
I forgot to change it in both places. Code
duplication strikes again!
Also was not putting the correct '-version' string
after the command.
Moved handling the wrong swig version into function
handle_wrong_swig_version(). No more duplication in
this part.
Fixes are in cvs now.
Sorry :) Maybe the next release will work ;)
--- Scott Nichols <scu...@ho...> wrote: > I
ran into two different swig related bugs when
> trying to install the new
> PyOpenGL2.0.1.03 package on RedHat 8.0
>
> Both involved the file setup/build_w.py, in
> particular the function below.
>
> def check_swig_version(swig_name):
> sin,sout,stderr = os.popen3(swig_name)
> if serr.read().find("1.3.13") == -1:
> return 0
> else:
> return 1
>
>
> Problem 1: serr is not correct variable (should be
> stderr), I fixed this
> but then got the error that I wasn't using
> swig-1.3.13
>
> Problem 2: Died because I wasn't using
> swig-1.3.13, I made the
> check_swig_version function return 1 regardless of
> the version of swig
> found, this made the install work perfectly.
>
>
> FYI, I probably need to upgrade my swig anyways
> (currently running
> swig-1.1), but I didn't have any problems installing
> once I made the
> check_swig_version return 1. If I upgrade swig to
> the latest version, isn't
> it over 1.3.13, won't that cause the install to fail
> as well? This newest
> patch fixed the other problems I was running into
> with the
> texture_compression library.
>
> Scott
>
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
|