Re: [PyOpenGL-Users] Failure to build on Linux
Brought to you by:
mcfletch
From: Richard J. <ric...@op...> - 2003-12-16 05:14:57
|
On Tue, 16 Dec 2003 03:37 pm, Mike C. Fletcher wrote: > Richard Jones wrote: > >I just tried to build 2.0.1.07 on Linux (Mandrake 9.1) against python > > 2.3.2. Used the standard "python setup.py install". It appeared to build > > OK, but any attempt to use it breaks: > > ... > > >The contents of OpenGL/GL/ are: > > > >_3DFX/ EXT/ IBM/ INTEL/ PGI/ SGIX/ > >APPLE/ GL__init__.py INGR/ KTX/ REND/ SUN/ > >ARB/ GL__init__.pyc __init__.py MESA/ S3/ SUNX/ > >ATI/ GL__init___.so* __init__.pyc NV/ SGI/ WIN/ > >Autodesk/ HP/ __init___.so* OML/ SGIS/ > > Where are those __init___.so files coming from I wonder? Possibly an > old 2.0.0 installation? 2.0.1 should not have any __init___.so files, > as they were renamed to GL__init___.so, GLU__init___.so and > GLUT__init___.so . OK, the dir now looks like: _3DFX/ Autodesk/ GL__init___.so* __init__.py MESA/ REND/ SGIX/ APPLE/ EXT/ HP/ __init__.pyc NV/ S3/ SUN/ ARB/ GL__init__.py IBM/ INTEL/ OML/ SGI/ SUNX/ ATI/ GL__init__.pyc INGR/ KTX/ PGI/ SGIS/ WIN/ GL__init__.py is definitely still referring to _GL__init__ and not=20 GL__init___. There's references to the former in: =2E/src/interface/GL.GL__init___.0100.inc =2E/src/interface/GL.GL__init___.0101.inc =2E/src/shadow/GL.GL__init__.0100.py =2E/src/shadow/GL.GL__init__.0101.py (and nowhere else) if that helps any. They're obviously constructed as part= of=20 the build process, as they don't exist in the source dist. There's no match= =20 on _GL__init__ in the raw source. I get a ton of these warnings when I run "python setup.py install" on a=20 freshly unpacked source:: interface/complex_typemaps.inc:193: Warning(119): %typemap(ignore) has been= =20 replaced by %typemap(in,numinputs=3D0). interface/complex_typemaps.inc:194: Warning(119): %typemap(ignore) has been= =20 replaced by %typemap(in,numinputs=3D0). and once the build is done, those "interface" and "shadow" files appear. I= =20 blame SWIG 1.3.19 ;) Richard |