Objective-C and SDL: How-to compile SDLobjc?

Member
Posts: 43
Joined: 2009.02
Post: #1
Following the instructions at http://savannah.nongnu.org/cvs/?group=sdlobjc I checkout the whole sdlobjc folder via:

cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/sdlobjc co .

I then 'cd sdlobjc' and run the autogen.sh (sh autogen.sh). It tells me I need libtoolize. Doing some research, I find that I have 'glibtoolize' installed. Anyway to install normal 'libtoolize'? I tried going into the autogen.sh and changing all the references from libtoolize to be glibtoolize, but then I get this from the autogen.sh:

configure.in:27: warning: macro `AM_PATH_SDL' not found in library
configure.in:25: installing `./missing'
configure.in:25: installing `./install-sh'
examples/Makefile.am: installing `./depcomp'
/usr/share/automake-1.10/am/depend2.am: am__fastdepOBJC does not appear in AM_CONDITIONAL
/usr/share/automake-1.10/am/depend2.am: The usual way to define `am__fastdepOBJC' is to add `AC_PROG_OBJC'
/usr/share/automake-1.10/am/depend2.am: to `configure.in' and run `aclocal' and `autoconf' again.
Makefile.am: installing `./INSTALL'
configure.in:27: error: possibly undefined macro: AM_PATH_SDL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
You are now ready to run ./configure


Then I go for the ./configure and get this:

Code:
checking build system type... powerpc-apple-darwin9.5.0
checking host system type... powerpc-apple-darwin9.5.0
checking target system type... powerpc-apple-darwin9.5.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
./configure: line 2548: syntax error near unexpected token `$SDL_VERSION,'
./configure: line 2548: `AM_PATH_SDL($SDL_VERSION, :, { { echo "$as_me:$LINENO: error: *** SDL version $SDL_VERSION not found!" >&5'

Anyone able to help me?
Quote this message in a reply
Nibbie
Posts: 2
Joined: 2009.03
Post: #2
Looks like you need the SDL C libraries first.
Quote this message in a reply
Post Reply