Hi all. I have returned to give compiling on my Mac another try. I got it once before but I think i can get it to work better. Yesterday, I compiled it on my linux box in about five minutes, so i see why compiling on mac is considered difficult.
Getting down to business, I'm on an iMac G5 running OSX 10.4.10 with xCode 2 installed from the operating system DVD. The Configure fails because it says GLUT is too old a version. This is the output of stdout:
checking for XmuGetHostname in -lXmu... no
checking for XListInputDevices in -lXi... no
checking for glut32 library... -F/Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks -framework OpenGL -framework GLUT -framework CoreAudio -lobjc -L -L/sw/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL -L/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/GLUT.framework/ -framework GLUT
no
checking for glut library... -F/Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks -framework OpenGL -framework GLUT -framework CoreAudio -lobjc -L -L/sw/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL -L/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/GLUT.framework/ -framework GLUT
no
configure: WARNING: Glut might fail because of missing libXmu-dev and/or headers!
configure: WARNING: Glut might fail because of missing libXi-dev and/or headers!
configure: error: GLUT library not found or too old version. 3.7 (beta) or later required.
Ill attach my config.log too. Hope someone can shed some light.
You do not have the required permissions to view the files attached to this post.
-L is good if it has a path afterwards, but for some reason it has a blank "-L" option so that's the problem.
I;m not sure what's causing that... I'm not much of a MAC expert.
One thing to try is to take out all of the "--with-..." arguments to configure.
If you need to specify a path to a library, do that in LDFLAGS, like this:
ace: thanks for your help, unfotunately, whatever i pass to LDFLAGS, the configure fails much earlier with "gcc cannot create executable files"
I think it cannot find gcc correctly, but i dont know how to correct this.
Isn't the above actually a bad idea, since it references the X11 libraries instead of the OS X Framework files?
Thanks for sharing this.. it got me past the configure stage, though I guess I will get stuck at your next problem too, since it looks X11 related. Sounds like you'll need to run it in an X11 window to get it to complete.
On my box it configures and runs much faster than the one with X11 and has shader support
Good luck, post if u have any other issues and i'll do my best to help out