Here's the Highlights from my first CVS after Plugins are enabled? for MAC
Remember I Started with a fresh, clean install of MacOSX 10.3.9
I have NOT installed FINK.
On my first CVS try I didn't have SDL, now I know I need that, so I canceled CVS, and got it at
http://www.libsdl.org/index. Installation is easy.
Now on my second CVS try, My report begins with the command
./autogen.sh
The first three lines are...
Found GNU Autoconf version 2.57
Found GNU Automake version 1.6.3
Found GNU Libtool version 1.5.0
Now I suddenly know why I was getting the Glibtoolize warning I mentioned in an earlier post. I was using these four commands...
aclocal> autoheader> automake --add-missing > autoconf
when I should have just used ./autogen. Now I have "Gnu-Libtoolize" YAY!
That's finished, so now I use...
./configure --enable-plugins
I'm not sure why I used that command, but I did.....
Now I get this...
checking for ares_init in -lcares... no
configure: WARNING: using an internal c-ares lib.
configure: WARNING: Consider installing an updated library at system level
configure: WARNING: link is
http://daniel.haxx.se/projects/c-ares/
I've been told that this is just a warning, not an error, and I should ignore it. I had screwed up when I needlessly used fink to update c-ares last month. Using the BZFlag-internal c-ares library is fine.
Now it's time to run "make"
No question, Compiling takes way longer with plugins. I have plenty of time to write this report.
Finally Make ends like this...
Making all in platform
Making all in MacOSX
source='MacDisplay.cxx' object='MacDisplay.lo' libtool=yes \
depfile='.deps/MacDisplay.Plo' tmpdepfile='.deps/MacDisplay.TPlo' \
depmode=gcc3 /bin/sh ../../../misc/depcomp \
/bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../src/platform -pipe -ansi -pedantic -fno-exceptions -W -Wall -Wundef -Wstrict-prototypes -g -O2 -DBZ_BUILD_DATE=20050905 -O3 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -fno-exceptions -c -o MacDisplay.lo `test -f 'MacDisplay.cxx' || echo './'`MacDisplay.cxx
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../src/platform -pipe -ansi -pedantic -fno-exceptions -W -Wall -Wundef -Wstrict-prototypes -g -O2 -DBZ_BUILD_DATE=20050905 -O3 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -fno-exceptions -c MacDisplay.cxx -MT MacDisplay.lo -MD -MP -MF .deps/MacDisplay.TPlo -fno-common -DPIC -o .libs/MacDisplay.o
In file included from MacDisplay.h:10,
from MacDisplay.cxx:1:
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:33:37: CarbonSound/CarbonSound.h: No such file or directory
make[3]: *** [MacDisplay.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
This does not look good at all. Looks like I still need a framework, It doesn't look related to fink.
So I poke around on my hard drive for awhile, accomplish nothing, and decide to compile a plugin.
Running make on airspawn looks good to me, and ends like this...
(cd .libs && rm -f libairspawn.0.0.0.dylib && ln -s libairspawn.0.dylib libairspawn.0.0.0.dylib)
ar cru .libs/libairspawn.a airspawn.o
ranlib .libs/libairspawn.a
creating libairspawn.la
(cd .libs && rm -f libairspawn.la && ln -s ../libairspawn.la libairspawn.la)
Now that looked like it compiled fine, but there is no resultant "Airspawn.so" file. PlayHistoryTracker and ShockWaveDeath had the same result.
Racetoseven gave about 99 arrors...
Oh Well, time to post. I'll keep trying.
P.S
I think this is a good thing, I had X11 until last week, and losing it was a benefit of re-installing OSX. Should I get X11 again?
checkingX11/Xlib.h usability... no
checking X11/Xlib.h presence... no
checking for X11/Xlib.h... no