I'm currently having difficulties (understandably) compiling planeshift and CEL on macosx. First, CEL:

CEL is unable to use the jam that comes with the developer tools. That's ok, it's probably a custom build of it just for Project Builder, or something. I downloaded, built, and installed jam and it seemed to work. Your directions for getting Jam work for OSX.

The second issue is that it cannot use the Python SDK that comes with OSX dev tools (if they even exist). There are a lot of distributions of python, even a fink package, but I just want the SDK and the libraries, hopefully in a form that is compatible with the existing python binary installed on MacOSX by default (so that I don't get conflicts if I install a different version).

A third issue is that the celtest needs to link against some.. I think it's foundation frameworks and the objc library.. not sure. Here is a log of the jam build for celtest:

[iMac:~/Desktop/CS folder/cel] jeremybell% jam
...found 190 target(s)...
...updating 34 target(s)...
C++ celtest/celtest.o
Link celtst
ld: Undefined symbols:
.objc_class_name_NSApplication
.objc_class_name_NSAutoreleasePool
.objc_class_name_NSCursor
.objc_class_name_NSEvent
.objc_class_name_NSGraphicsContext
.objc_class_name_NSObject
.objc_class_name_NSProcessInfo
_NSApp
_objc_msgSend
_objc_msgSendSuper
_objc_msgSend_stret
.objc_class_name_NSUserDefaults
___CFConstantStringClassReference
.objc_class_name_NSString
_NSLog
.objc_class_name_NSMenu
.objc_class_name_NSMenuItem
_NSSelectorFromString

g++  -o celtst  celtest/celtest.o  -L/usr/local/crystal/lib -lcstool -lcsgfx -lcsgeom  -lcsutil -lcssys -lcsgeom -lcsutil  -multiply_defined suppress

...failed Link celtst ...

Other than that, a nearly clean build. Still some warnings.

OK, next up: planeshift.
The planeshift build system is based on newer autoconf, automake than the default. This is fine, I installed from fink and it worked. However, sometimes I think that the two versions are getting mixed and things aren't getting configured correctly. I can't seem to make the jamfiles because the  cs-config is unable to recognize the cel library. I added the two CEL and CSCONFIG environment variables as instructed, but cel isn't even listed in the libraries section of cs-config's help popup. Here is the configure log for planeshift:

[iMac:~/Desktop/CS folder/planeshift] jeremybell% ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for jam... jam
checking for install... install
checking build system type... powerpc-apple-darwin6.4
checking host system type... powerpc-apple-darwin6.4
checking for X... no
checking for --with-x... no (assume MacOS/X)
checking for Objective-C compiler... gcc -c
checking for Objective-C++ compiler... g++ -c
checking for socklen_t... no
checking for stdint-types... found in stdint.h
creating include/psstdint.h - (just to include  stdint.h)
checking for Crystal Space - version >= 0.94... Unknown lib: cel
Usage: cs-config [OPTIONS] [LIBRARIES]
Options:
        [--prefix]
        [--exec-prefix]
        [--version]
        [--longversion]
        [--libdir]
        [--includedir]
        [--libs]
        [--cflags]
        [--cxxflags]
        [--includes]
        [--makevars]
        [--help]
Libraries:
        csengine
        csgeom
        csgfx
        cssys
        cstool
        csutil
        csws

Note that the Crystal Space directory is detect by looking at the CRYSTAL
environment variable. Make sure this variable is set correctly.
Unknown lib: cel
Usage: cs-config [OPTIONS] [LIBRARIES]
Options:
        [--prefix]
        [--exec-prefix]
        [--version]
        [--longversion]
        [--libdir]
        [--includedir]
        [--libs]
        [--cflags]
        [--cxxflags]
        [--includes]
        [--makevars]
        [--help]
Libraries:
        csengine
        csgeom
        csgfx
        cssys
        cstool
        csutil
        csws

Note that the Crystal Space directory is detect by looking at the CRYSTAL
environment variable. Make sure this variable is set correctly.
Unknown lib: cel
Usage: cs-config [OPTIONS] [LIBRARIES]
Options:
        [--prefix]
        [--exec-prefix]
        [--version]
        [--longversion]
        [--libdir]
        [--includedir]
        [--libs]
        [--cflags]
        [--cxxflags]
        [--includes]
        [--makevars]
        [--help]
Libraries:
        csengine
        csgeom
        csgfx
        cssys
        cstool
        csutil
        csws

Note that the Crystal Space directory is detect by looking at the CRYSTAL
environment variable. Make sure this variable is set correctly.
no
*** Could not run Crystal Space test program, checking why...
configure: error:
*** Crystal Space couldn't be found. The latest version is always avaiable
*** from http://crystal.linuxgames.com.
***
*** be also sure that you've either installed CS or set the CRYSTAL var right.
*** You also have to compile the cs-config script in CS. Do this with the
*** following command in your CS dir:
***     make csconf

Is there some way to hack the cs-config file to find the cel? some change in the build process of CS or CEL?

Jeremy Bell
WolverineSoft Project Coordinator
www.umich.edu/~wsoft

WolverineSoft is a student game development community at the University of Michigan.

PS: oh, and with CEL, jam install results in the following errors:
[iMac:~/Desktop/CS folder/cel] jeremybell% jam install
...found 195 target(s)...
...updating 12 target(s)...
Install cpersist.csplugininstall
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...

        install -c  cpersist.csplugin

...failed Install cpersist.csplugininstall ...
Install pfengine.csplugininstall
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...

        install -c  pfengine.csplugin

...failed Install pfengine.csplugininstall ...
Install pfinput.csplugininstall
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...

        install -c  pfinput.csplugin

...failed Install pfinput.csplugininstall ...
Install pfinv.csplugininstall
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...

        install -c  pfinv.csplugin

...failed Install pfinv.csplugininstall ...
Install pfmesh.csplugininstall
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...

        install -c  pfmesh.csplugin

...failed Install pfmesh.csplugininstall ...
Install pfmove.csplugininstall
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...

        install -c  pfmove.csplugin

...failed Install pfmove.csplugininstall ...
Install pftest.csplugininstall
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...

        install -c  pftest.csplugin

...failed Install pftest.csplugininstall ...
Install pftools.csplugininstall
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...

        install -c  pftools.csplugin

...failed Install pftools.csplugininstall ...
Install plimp.csplugininstall
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...

        install -c  plimp.csplugin

...failed Install plimp.csplugininstall ...
Install bltest.csplugininstall
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...

        install -c  bltest.csplugin

...failed Install bltest.csplugininstall ...
Link celtst
ld: Undefined symbols:
.objc_class_name_NSApplication
.objc_class_name_NSAutoreleasePool
.objc_class_name_NSCursor
.objc_class_name_NSEvent
.objc_class_name_NSGraphicsContext
.objc_class_name_NSObject
.objc_class_name_NSProcessInfo
_NSApp
_objc_msgSend
_objc_msgSendSuper
_objc_msgSend_stret
.objc_class_name_NSUserDefaults
___CFConstantStringClassReference
.objc_class_name_NSString
_NSLog
.objc_class_name_NSMenu
.objc_class_name_NSMenuItem
_NSSelectorFromString

g++  -o celtst  celtest/celtest.o  -L/usr/local/crystal/lib -lcstool -lcsgfx -lcsgeom  -lcsutil -lcssys -lcsgeom -lcsutil  -multiply_defined suppress

...failed Link celtst ...
...skipped celtstinstall for lack of celtst...
...failed updating 11 target(s)...
...skipped 1 target(s)...