Invocation: ./configure --prefix-dir=/Users/kernigh/pkg --binary-dir=bin --with-zlib=/Users/kernigh/pkg/lib --with-lzo2=/Users/kernigh/pkg/lib Detecing awk... Trying: echo "a.c b.c c.c" | tr ' ' \\n | awk ' { ORS = " " } /\.c$/ { gsub(".c$", ".o", $0); print $0; }' 2>/dev/null Result: 'a.o b.o c.o ' checking awk... awk detecting OS... OSX checking build system type... CC/CXX not set (skipping) executing gcc -dumpmachine returned powerpc-apple-darwin8 exit code 0 checking build system type... powerpc-apple-darwin8 checking host system type... CC/CXX not set (skipping) executing gcc -dumpmachine returned powerpc-apple-darwin8 exit code 0 checking host system type... powerpc-apple-darwin8 checking universal build... no checking build cc... gcc checking host cc... gcc checking build c++... CC/CXX not set (skipping) executing g++ -dumpmachine returned powerpc-apple-darwin8 exit code 0 checking build c++... g++ checking host c++... CC/CXX not set (skipping) executing g++ -dumpmachine returned powerpc-apple-darwin8 exit code 0 checking host c++... g++ checking strip... disabled checking builtin depend... yes checking makedepend... disabled executing g++ tmp.64bit.cpp -o tmp.64bit -DTESTING 2>&1 returned In file included from src/stdafx.h:16, from tmp.64bit.cpp:2: src/os/macosx/osx_stdafx.h:57:3: error: #error "Compiling 64 bits without _SQ64 set! (or vice versa)" tmp.64bit.cpp:3: error: size of array '__ct_assert__' is negative exit code 1 detecting cpu-type... 32 bits executing g++ -msse4.1 tmp.sse.cpp -o tmp.sse 2>&1 returned cc1plus: error: invalid option 'sse4.1' exit code 1 detecting SSE... not found checking static... no checking unicode... no using debug level... no using desync debug level... no using link time optimization... no checking OSX sysroot... no (use system default) checking Allegro... OSX, skipping checking SDL... OSX, skipping checking COCOA... found checking whether to enable the Quartz window subdriver... yes executing g++ -mmacosx-version-min=10.3 tmp.osx.mm -framework Cocoa -o tmp.osx 2>&1 exit code 0 checking Quickdraw window subdriver... found checking GDI video driver... not Windows, skipping checking dedicated... not selected checking console application... not Windows, skipping checking network... found checking squirrel... found checking translator... no checking assert... enabled detecting zlib trying /Users/kernigh/pkg/lib/libz.a... found checking zlib... found detecting liblzma executing pkg-config liblzma --modversion returned 5.0.5 exit code 0 checking liblzma... found detecting lzo2 trying /Users/kernigh/pkg/lib/liblzo2.a... found checking lzo2... found detecting libxdg-basedir executing pkg-config libxdg-basedir --modversion returned exit code 1 checking libxdg-basedir... not found detecting libpng executing pkg-config libpng --modversion returned 1.6.12 exit code 0 checking libpng... found executing freetype_config --version returned 17.2.11 exit code 0 checking libfreetype... found checking libfontconfig... OSX, skipping executing icu-config --version returned 53.1 exit code 0 checking libicu... found checking psp-config... not PSP, skipping detecting libtimidity trying /usr/include/timidity.h... no trying /usr/local/include/timidity.h... no trying /mingw/include/timidity.h... no trying /opt/local/include/timidity.h... no checking libtimidity... not found checking direct-music... not Windows, skipping running echo | sort result was valid checking sort... sort checking endianness... PREPROCESSOR suppress language errors... no checking stripping... skipped checking distcc... no (only used when forced) checking ccache... no (only used when forced) executing grfcodec -v returned exit code 0 checking grfcodec... not found executing nforenum -v returned exit code 0 checking nforenum... not found detecting ppc970 (G5)... no checking revision... hg detection found iconv in iconv.h checking iconv... found executing g++ -c tmp.iconv.cpp -o tmp.iconv -DTESTING 2>&1 exit code 0 checking if iconv has non-const inbuf... no executing g++ tmp.iconv.cpp -o tmp.iconv -DTESTING 2>&1 exit code 1 checking whether to link to iconv... yes personal home directory... Documents/OpenTTD shared data directory... /Library/Application\\ Support/OpenTTD installation directory... / icon theme directory... none manual page directory... share/man/man6 menu item directory... none Running configure with following options: /bin/sh ./configure --ignore-extra-parameters --build="" --host="" --cc-build="gcc" --cc-host="gcc" --cxx-build="g++" --cxx-host="g++" --windres="" --strip="" --lipo="" --awk="awk" --os="OSX" --endian="PREPROCESSOR" --cpu-type="32" --config-log="config.log" --prefix-dir="/Users/kernigh/pkg" --binary-dir="bin" --data-dir="share/games/openttd" --doc-dir="share/games/openttd/docs" --icon-dir="share/pixmaps" --icon-theme-dir="" --man-dir="share/man/man6" --menu-dir="" --personal-dir="Documents/OpenTTD" --shared-dir="/Library/Application\\ Support/OpenTTD" --install-dir="/" --menu-group="Game;" --menu-name="OpenTTD" --binary-name="openttd" --enable-debug="0" --enable-desync-debug="0" --enable-profiling="0" --enable-lto="0" --enable-dedicated="0" --enable-network="1" --enable-static="0" --enable-translator="0" --enable-unicode="0" --enable-console="1" --enable-assert="1" --enable-strip="0" --enable-universal="0" --enable-osx-g5="0" --enable-cocoa-quartz="1" --enable-cocoa-quickdraw="1" --with-osx-sysroot="1" --with-application-bundle="1" --with-allegro="1" --with-sdl="1" --with-cocoa="1" --with-zlib="/Users/kernigh/pkg/lib" --with-lzma="1" --with-lzo2="/Users/kernigh/pkg/lib" --with-xdg-basedir="1" --with-png="1" --enable-builtin-depend="1" --with-makedepend="0" --with-direct-music="0" --with-sort="1" --with-iconv="2" --with-midi="" --with-midi-arg="" --with-libtimidity="0" --with-freetype="1" --with-fontconfig="1" --with-icu="1" --static-icu="0" --with-psp-config="1" --with-threads="1" --with-distcc="0" --with-ccache="0" --with-grfcodec="1" --with-nforenum="1" --with-sse="0" --CC="" --CXX="" --CFLAGS="" --CXXFLAGS="" --LDFLAGS="" --CFLAGS-BUILD="" --CXXFLAGS-BUILD="" --LDFLAGS-BUILD="" using CFLAGS_BUILD... -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Winit-self -fno-strict-aliasing -Wcast-qual using CXXFLAGS_BUILD... using LDFLAGS_BUILD... using CFLAGS... -O2 -fomit-frame-pointer -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Winit-self -fno-strict-aliasing -Wcast-qual -DOSX -fno-expensive-optimizations -isystem/opt/local/include -DUNIX -DWITH_COCOA -DENABLE_COCOA_QUARTZ -DENABLE_COCOA_QUICKDRAW -DWITH_ZLIB -DWITH_LZMA -I/Users/kernigh/pkg/include -DWITH_LZO -I/Users/kernigh/park/openttd-trunk/src/3rdparty/squirrel/include -DWITH_PNG -I/Users/kernigh/pkg/include/libpng16 -DWITH_FREETYPE -I/Users/kernigh/pkg/include/freetype2 -DWITH_ICU -I/Users/kernigh/pkg/include -DWITH_ICONV -DENABLE_NETWORK -DWITH_PERSONAL_DIR -DPERSONAL_DIR=\\"Documents/OpenTTD\\" -DWITH_SHARED_DIR -DSHARED_DIR=\\"/Library/Application\\ Support/OpenTTD\\" -DGLOBAL_DATA_DIR=\\"/Users/kernigh/pkg/share/games/openttd\\" using CXXFLAGS... using LDFLAGS... -lstdc++ -lc -framework QuickTime -F/System/Library/Frameworks -framework Cocoa -framework Carbon -framework AudioUnit -framework AudioToolbox -lz -L/Users/kernigh/pkg/lib -llzma -llzo2 -L/Users/kernigh/pkg/lib -lpng16 -L/Users/kernigh/pkg/lib -lfreetype -L/Users/kernigh/pkg/lib -lz -lbz2 -L/Users/kernigh/pkg/lib -licui18n -licuuc -licudata -licule -liculx -liconv -framework Cocoa Generating Makefile... Generating lang/Makefile... Generating setting/Makefile... Generating grf/Makefile... Generating objs/Makefile...