It appears that there is something wrong with the --with-include-zlib code. ./configure --with-included-zlib ..... grep ZLIBS config.status s%@ZLIBS@%%g This seems to be because of the following test from configure.in if test "use_local_zlib" = yes ; then ^ which is likely to fail most of the time :) I suggest adding a $ Soren