have_header: checking for zlib.h... -------------------- yes "gcc -E -I/usr/local/lib/ruby/1.8 -I/usr/local/lib/ruby/1.8/universal-darwin8.0 -I. -I./include -IDvector -IDvector/include -IDtable -IDtable/include -IFlate -IFlate/include -IFunction -IFunction/include -g -O2 -fno-common -pipe -fno-common -O2 -g -Wall -Werror-implicit-function-declaration conftest.c -o conftest.i" ./mkmf2.rb:1435: warning: Insecure world writable dir /Applications/ImageMagick-6.2.8/bin in PATH, mode 040777 checked program was: /* begin */ #include /* end */ -------------------- have_library: checking for compress() in -lz... -------------------- no "gcc -o conftest $INCFLAGS conftest.c -I$hdrdir -g -O2 -fno-common -pipe -fno-common -O2 -g -Wall -Werror-implicit-function-declaration $src $LIBPATH -arch i386 -lpthread -ldl -lobjc -lz" cc1: error: unrecognized command line option "-arch" checked program was: /* begin */ #include /*top*/ int main() { return 0; } int t() { compress(); return 0; } /* end */ "gcc -o conftest $INCFLAGS conftest.c -I$hdrdir -g -O2 -fno-common -pipe -fno-common -O2 -g -Wall -Werror-implicit-function-declaration $src $LIBPATH -arch i386 -lpthread -ldl -lobjc -lz" cc1: error: unrecognized command line option "-arch" checked program was: /* begin */ #include /*top*/ int main() { return 0; } int t() { void ((*volatile p)()); p = (void ((*)()))compress; return 0; } /* end */ --------------------