Bug 687160 - Ghostscript fails to compile jbig2dec on Solaris 9
Summary: Ghostscript fails to compile jbig2dec on Solaris 9
Status: RESOLVED DUPLICATE of bug 687007
Alias: None
Product: jbig2dec
Classification: Unclassified
Component: Build Process (show other bugs)
Version: unspecified
Hardware: Sun Solaris
: P2 normal
Assignee: Ralph Giles
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-21 15:50 UTC by Mario Antonio F.
Modified: 2007-12-13 12:55 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Antonio F. 2003-11-21 15:50:49 UTC
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:
Comment 1 Mario Antonio F. 2003-11-21 15:52:39 UTC
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
Comment 2 Mario Antonio F. 2003-11-21 16:00:55 UTC
By the way, the version of ghostscript is 8.11
Comment 3 Ralph Giles 2003-11-21 18:08:54 UTC
note that you can 'configure --without-jbig2dec' as a work-around.

*** This bug has been marked as a duplicate of 687007 ***