![]() |
“The beast is actively interested only in now, and, as it is always now and always shall be, there is an eternity of time for the accomplishment of objects.” - the wisdom of Tarzan |
Kyng Chaos |
|
Table of Contents
Expat Build
version: 2.0.1 Note: this is mainly to make sure we have one, and it's in a consistent location. In Mac OS X, libexpat is in X11. But on OS X Server, you don't normally install X11, yet libexpat is in the Apache 2 distribution on Server. Bleh. The X11 expat is a little out-of-date, and I don't know about Server's copy. Leopardconfigurein expat source dir: export MACOSX_DEPLOYMENT_TARGET=10.5 ./configure --mandir=/usr/local/share/man \ CFLAGS="-Os -arch i386 -arch x86_64 -arch ppc -arch ppc64" edit expat_config.hreplace BYTEORDER line: #ifdef __BIG_ENDIAN__ #define BYTEORDER 4321 #else #define BYTEORDER 1234 #endif replace WORDS_BIGENDIAN line: #ifdef __BIG_ENDIAN__ #define WORDS_BIGENDIAN 1 #else #undef WORDS_BIGENDIAN #endif Note: only BYTEORDER used in sources. make & installmake sudo make install Tigerconfigurein expat source dir: export MACOSX_DEPLOYMENT_TARGET=10.4 ./configure --mandir=/usr/local/share/man \ CFLAGS="-Os -arch i386 -arch ppc"
If you are compiling on a PPC Mac, add " CFLAGS="-Os -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk" expat_config.hsame edits as Leopard make & installmake sudo make install Pantherin expat source dir: ./configure --mandir=/usr/local/share/man make sudo make install |
| Copyright © 2004-2008 Kyng Chaos All trademarks and copyrights on this page are owned by their respective owners. |
Powered By Geeklog |