I tried your patch. Its interesting, it seems to autodetect everything, though not perfectly.
Here are some of the patch errors: Error during patching: patching file src/Gnu/configure Hunk #19 FAILED at 3331. 1 out of 20 hunks FAILED -- saving rejects to file src/Gnu/configure.rej
I put configure.reg at http://www.aproximation.com/configure.rej
Something I had to change in the configure file (changed from . makeauxlibs, it doesnt makeauxlibs now but the configure script passes this point at least) patch is in /usr/local/src/gem-0.90.0 and gemlibs are /usr/local/src/GemLibs: if test -d $GEMLIBS then . ../../GemLibs/makeauxlibs fi
It doesnt find libpng even though I have it installed: checking for main in -lpng... no checking alternate -lpng in png_set_compression_level... find: png_set_compression_level: No such file or directory configure: error: Build png library somewhere [wade@musicbox Gnu]$ ldconfig -p | grep png libpng12.so.0 (libc6,x86-64) => /usr/lib64/libpng12.so.0 libpng12.so.0 (libc6) => /usr/lib/libpng12.so.0 libpng12.so (libc6,x86-64) => /usr/lib64/libpng12.so ===> libpng.so.2 (libc6,x86-64) => /usr/lib64/libpng.so.2 libimlib-png.so (libc6,x86-64) => /usr/lib64/libimlib-png.so
I dont know how to fix the problem myself, my fimilarity with configure is lacking. Thanks for the help and the patch!
-thewade