I started another try to compile q2w on OS X (maybe the old problems are now fixed?), but this time I got a nerror from the configure command:
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
configure: error: Couldn't find GL/gl.h, please install OpenGL
thanks for your reply. There isn't such a packet called "libgl" in my packet manager here on OS X, but I think I got it already. I think the problem might be that it is in an unusual directory and the compiler can't find it there. I got it in:
/usr/X11/include/GL
and
/Developer/SDKs/MacOSX10.6.sdk/usr/X11/include/GL
Usually I would try to edit the makefile to specify this path, but in case of quake2world I don't know where?
The variable CPPFLAGS has a argument for including the headers in /usr/X11/include/ so GL/GH.h should be accessible by the configure script.
BTW check out the output of ./configure --help for additional configuration parameters. (Quake2World uses autotools which dynamically generates a makefile for a specific system.)
yes I know the OS X howto but you are right I messed it up. I think I forgot to use the configure parameters.
But I'm still getting an error from the make command:
ld: duplicate symbol _qglActiveTexture in client/.libs/libclient.a(libclient_la-cl_main.o) and client/.libs/libclient.a(libclient_la-cl_console.o)
collect2: ld returned 1 exit status
make[3]: *** [quake2world] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Would be so cool if we could fix it. I am looking forward so much to join you in q2w.
I tried but it doesn't work. Thank you anyway for the help. I guess I will just have to wait until someone fixes the error. Unfortunately I don't know C. :(