Re: [PyOpenGL-Users] Solaris: need files please
Brought to you by:
mcfletch
From: Toby W. <tw...@sh...> - 2002-09-13 04:29:22
|
Hi Rene, I already read that message and recompiled Python using '-Wl -G' instead of '-shared' (note I had to remove the comma after -Wl because it wouldn't compile with it). Unfortunately it made no difference :(. I tried to compile PyOpenGL under Cygwin at home last night to see what files are built but my hard drive decided it was time to retire so it'll be a while before I'm set up to try again. Can you please confirm with me if I have all the files I should or some are missing? Then I'll know if it's Python's fault or compiling PyOpenGL that's failing. Important (I guess) files I end up with include: .../OpenGL/: -> __init__.py, GLE.so, GLUT.so, ... (no GL.so or GLU.so) .../OpenGL/GL: -> __init___.so, ... (no __init__.py or GL.so) .../OpenGL/GLU: -> __init___.so, ... (no __init__.py or GLU.so) .../OpenGL/GLX: -> __init__.py, ... .../OpenGL/Tk: -> __init__.py, ... Thanks in advance, Toby Rene Dudfield wrote: > Please check out this message from another solaris > user. > > http://sourceforge.net/mailarchive/forum.php?thread_id=1018105&forum_id=4353 > > I believe the pyopengl problems stem from the way > shared libraries are created. > > > > --- Toby Walsh <tw...@NO...> > wrote: > Hi everyone, > >>I can get PyOpenGL-2.0.0.44 to build and install on >>Solaris 2.7 running >>Python2.3a1 compiled with gcc-3.2. I end up with >>some missing files, >>though. The end result is that if I try: >> >>python -c 'import OpenGL.GL' >> >>I get: >> >>[stack traceback ...] >>ImportError: No module named GL >> >>I guess it's the same problem as outlined in this >>post: >> >> > > http://sourceforge.net/mailarchive/message.php?msg_id=1361348 > >>in item 4 i.e. I get __init___.so files in GL/ and >>GLU/ but no >>__init__.py files or GL.so or GLU.so files anywhere. >> >>I would really appreciate it if someone could e-mail >>me the __init__.py >>files so I can try them out. Alternatively, let me >>know which files I >>have to link to create GL.so and GLU.so manually. I >>tried a few >>combinations of .o files (which are all successfully >>created) but >>couldn't get either *.so to link. >> >>I'm hesitant to attach my buildlog and installog due >>to their size (if >>anyone's interested I can send them) but I couldn't >>find reference to >>either GL.so or GL's __init__.py (or GLU's). >> >>Thanks in advance, >> >>Toby >> > > > > __________________________________________________ > 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 > > -- Toby Walsh PhD Student School of Mechanical Engineering The University of Western Australia CRICOS provider no. 00126G Email: tw...@NO... |