[PyOpenGL-Users] PyOpenGL 2.0.1.03
Brought to you by:
mcfletch
From: Scott N. <scu...@ho...> - 2003-02-18 13:35:12
|
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 _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail |