tar xf GeoIP-1.4.8.tar.gz && cd GeoIP-1.4.8 export GEOIP_ARCH='-arch i386 -arch x86_64' LDFLAGS=$GEOIP_ARCH CFLAGS=$GEOIP_ARCH ./configure --disable-dependency-tracking make sudo su make install exit kpatch: cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.6.sdk -DCMAKE_OSX_DEPLOYMENT_TARGET=10.6 -DCMAKE_OSX_ARCHITECTURES=i386 -DFMOD_LIBRARY="/Developer/FMOD Programmers API Mac/api/lib/libfmodex.dylib" -DCMAKE_C_FLAGS="-I/usr/local/include" -DCMAKE_EXE_LINKER_FLAGS="-L/usr/local/lib -lGeoIP" -DSERVERONLY=1 ..