have followed all the steps in the wiki article on compiling but cannot get it to compile. Theres a lot missing there though, so if I can get this to work I will update the wiki with the missing stuff. The stuff I had to add included adding a bunch of missing libraries for ogg, theora etc.
I installed sdl, sdl_mixer and sdl_ttf after downloading the dmg's as per the instructions. I copied them into /library/frameworks.
I got a ton of errors about missing libraries, so i compiled and installed gettext, jpeg, libogg, libpng, libtheora and libvorbis. This seems to have cleared most of the missing library errors, except for one (sdl_ttf, even though i installed it already!). To eliminate problems i read about on the forum etc, i use the following configure command:
./configure LDFLAGS='-L/sw/lib' CFLAGS='-I/sw/include' CPPFLAGS="-I/sw/include" --disable-uforadiant --disable-universal --without-curses
all the missing libraries i compiled are installed under /sw, hence the extra flag declarations. I disabled uforadiant, universal and ncurses to try to get past the problem I have. The problem is the following error message when I run the above configure:
checking SDL_ttf.h usability... yes
checking SDL_ttf.h presence... no
configure: WARNING: SDL_ttf.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: SDL_ttf.h: proceeding with the compiler's result
checking for SDL_ttf.h... yes
checking for library containing TTF_Init... no
configure: error: You must have the SDL_ttf development libraries
Does this mean that copying the framework folder isnt enough, and that I need to do a full recompile of sdl_ttf? And help appreciated. I can also post the full result of the ./configure if thats any help. I have an intel macbook pro, running 10.6.2.
Thanks,
Smil