Re: [PyOpenGL-Users] Solaris install problems
Brought to you by:
mcfletch
From: <il...@ya...> - 2002-07-31 23:36:26
|
A couple of guesses here, as I don't know sunos. Could you try compiling glut with gcc, or see if the demos work if they are compiled with gcc? Is gcc -shared the right way to make shared libraries on sunos? I saw this in a posting on the swig mailing list a while ago. Might work. gcc -g -O2 -Wl,-G -o blah.so ... ^^^^^^ for Solaris Maybe try it manually, and if that works, then we need to figure out how to put it into the config. gcc -Wl -G build/temp.solaris-2.8-sun4u-2.2/GLUT.o -L/usr/lib -L/usr/local/lib -L/usr/X11/lib -Lbuild/temp.solaris-2.8-sun4u-2.2 -lGL -lX11 -lXext -lGLU -lglut -lXi -lXmu -linterface_util -lGLE -o build/lib.solaris-2.8-sun4u-2.2/OpenGL/GLUT.so --- Todd Alan Pitts <ta...@sa...> wrote: > Hello all, > > I am trying to install PyOpenGL version 2.0.0.44 > on Solaris 8 > (sunos5). I have both the Sun Workshop compiler and > gcc 3.1 installed. > I also have the openGL libraries for Solaris > installed and apparently > working (I compiled glut-3.7 from the sources with > cc from Sun and all > the demos seem to work just fine). I created a > config file called > sunos.cfg by copying the linux.cfg file in the > config subdirectory per a > posting as read on the list. I also (in file > src/interface/GL.EXT.vertex_array.0110.inc after > line 741) added: > > #define GL_TEXTURE_COORD_ARRAY_EXT > 0x8078 > > to aleviate another problem mentioned in the > posting. The compile > (which is using gcc 3.1) proceeds for a while and > then I get the > compile snipet below. Eventually the symbol > referencing problems end > and the compile/install fails. I have no idea what > to do here. I would > appreciate any help. > > -Todd > > -------------BEGIN COMPILE EXCERPT-------------- > skipping 'GLU.__init___' extension (up-to-date) > building 'GLUT' extension > skipping src/interface/GLUT.c > (build/temp.solaris-2.8-sun4u-2.2/GLUT.o > up-to-date) > gcc -shared build/temp.solaris-2.8-sun4u-2.2/GLUT.o > -L/usr/lib > -L/usr/local/lib -L/usr/X11/lib > -Lbuild/temp.solaris-2.8-sun4u-2.2 -lGL > -lX11 -lXext -lGLU -lglut -lXi -lXmu > -linterface_util -lGLE -o > build/lib.solaris-2.8-sun4u-2.2/OpenGL/GLUT.so > Text relocation remains referenced > against symbol offset in file > <unknown> 0x80 > /usr/lib/libglut.a(glut_8x13.o) > <unknown> 0xa4 > /usr/lib/libglut.a(glut_8x13.o) > <unknown> 0xc8 > /usr/lib/libglut.a(glut_8x13.o) > <unknown> 0xec > /usr/lib/libglut.a(glut_8x13.o) > <unknown> 0x110 > /usr/lib/libglut.a(glut_8x13.o) > <unknown> 0x134 > /usr/lib/libglut.a(glut_8x13.o) > <unknown> 0x158 > /usr/lib/libglut.a(glut_8x13.o) > <unknown> 0x178 > /usr/lib/libglut.a(glut_8x13.o) > ------------- MANY MORE ERRORS CUT------------------ > > > > > <cut miles of adds> __________________________________________________ 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 |