mherger wrote:
> Has anyone had success building jivelite on Mavericks? It did work on
> ML, but now it doesn't want to find X11/Xlib.h, or SDLmain. Tried to
> re-build SDL from scratch, but it fails Xlib.h as well, though it is
> there in /usr/local/include/X11
Michael, I built SDL from scratch as well, but I configured it with
./configure --disable-video-x11, which along with commenting out line 94
of ./SDL-1.2.15/src/video/quartz/SDL_QuartzVideo.h, as hinted already in
this thread
Code:
--------------------
//CGDirectPaletteRef palette; /* palette of an 8-bit display
--------------------
...allows SDL to compile fine (except for some warnings about deprecated
Cocoa backend API calls being used).
I also had to compile a few dependencies and install them in /usr/local,
using a typical routine of tar xvf <something>; cd something;
./configure; make; sudo make install, where <something> took turns at
being each item in the following list.
Code:
--------------------
LuaJIT-2.0.2
SDL-1.2.15
SDL_gfx-2.0.25
SDL_image-1.2.12
SDL_ttf-2.0.11
freetype-2.5.2
libpng-1.5.17
--------------------
I had to use the older libpng than libpng-1.6.8, because the ./configure
scripts for SDL_ttf-2.0.11 insisted on using that version for some of
its test compiles and not the libpng-1.6.8, which I tried first.
Finally, I made really small tweak to the one of the jivelite
Makefiles:
Code:
--------------------
diff --git a/src/Makefile.osx b/src/Makefile.osx
index 42e2605..5d000ec 100644
--- a/src/Makefile.osx
+++ b/src/Makefile.osx
@@ -1,7 +1,7 @@
# makefile wrapper for osx
# this is only needed if SDL is installed in /usr/local
-CFLAGS = -I/usr/local/include/SDL
+CFLAGS = -I/usr/local/include -I/usr/local/include/SDL
LDFLAGS = -lSDLmain -lresolv -Wl,-framework,Cocoa
--------------------
Anyway, with those few build quibbles out if the way, I was able to
build a functioning jivelite on Mac OS X and it seems to be working as
expected.
----------------------
"Dreamer, easy in the chair that really fits you..."
------------------------------------------------------------------------
dsdreamer's Profile: http://forums.slimdevices.com/member.php?userid=12588
View this thread: http://forums.slimdevices.com/showthread.php?t=98156
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix