Re: [PyOpenGL-Users] Solaris install problems
Brought to you by:
mcfletch
|
From: Todd A. P. <ta...@sa...> - 2002-08-08 21:51:17
|
The problem appears to be with the Python compilation and *not* with PyOpenGL. If one compiles python with the proper flags then PyOpenGL picks up on this and uses those same flags during its compilation. I made the changes shown below in the configure.in script under the Python2.2 root directory and re-ran autoconf. If you do *not* do this python appears to install fine except for a couple of extensions (zlib being one of them) which have exactly the same problem as I was having with PyOpenGL (hundreds of unknown symbols during link). Correcting the problem in python is the way to go. After this, PyOpenGL compiles and installs just fine (including the togl extension). -Todd > > > > SunOS/5*) > > if test "$GCC" = "yes" > > then LDSHARED='$(CC) -shared' > > else LDSHARED="$(CC) -G"; > > fi ;; > > > > to > > > > SunOS/5*) > > if test "$GCC" = "yes" > > then LDSHARED='$(CC) -Wl,-G' > > else LDSHARED="$(CC) -G"; > > fi ;; > > > > A diff yields: > > > > 777c777 > > < then LDSHARED='$(CC) -shared' > > --- > > > then LDSHARED='$(CC) -Wl,-G' > > |