After unpacking the sources (gunzip -c ~/Download/ghostscript-8.11.tar.gz | tar -xvf -) while configuring the build environment (cd ghostscript- 8.11; ./configure), a warning appears with the following message:
configure: WARNING: JBIG2 support requires stdint types which do not seem to be available. The compilation breaks while processing jbig2dec. The fix consists of appending the following lines to file os_types.h: #ifdef __sun__ #include <inttypes.h> #endif
By the way, the version of ghostscript is 8.11
note that you can 'configure --without-jbig2dec' as a work-around. *** This bug has been marked as a duplicate of 687007 ***