Re: [PyOpenGL-Users] Solaris install problems
Brought to you by:
mcfletch
From: <il...@ya...> - 2002-08-02 23:36:33
|
Good work. When you verify these fixes I'll add them into cvs for the next release. Could you list all the changes you had to make? Or, if you're interested, maybe Mike Fletcher could give you write access to cvs so that you could add your changes directly instead of going through me. Have fun. --- Todd Alan Pitts <ta...@sa...> wrote: > Rene, > > Thanks for your suggestion. I was able to get > things working. > The problem *appears* to be use of gcc -shared. It > should be gcc > -Wl,-G > on solaris. Compiling glut with gcc made no > difference. However, > after using -Wl,-G on PyOpenGL the compilation ran > to completion > and the install worked. So do the demos (if you > remove the alpha > channel > specification on those that want it -- but that's > just my display). I > did this by > setting an environment variable after trying it > manually. Then I > recompiled several > other tools with my new found knowledge --one of > these being Python. > However, there is > another subtle interaction. As I was composing this > email I tried to > reproduce > the problem and its solution and could not (I wanted > to mention the name > of > the variable and couldn't remember it). In the > interim, however, I had > recompiled python2.2 > after changing > > 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' > > in python's configure.in file and running autoconf. > The python install > went fine and then recompiling > the PyOpenGL out of the box (except for the > well-known #define statmenet > problem) worked -- including > the togl widget for Tcl/Tk. I am verifying what I > have just recounted > and will post to the list in a few days > if this turns out to be correct. > > -Todd > __________________________________________________ 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 |