[bug-gs] Build error on Linux (Centos) Unable to find
jasper/src/libjasper/include/jas_config.h
Brett Sutton
bsutton at noojeeit.com.au
Tue Jan 24 05:10:54 PST 2006
I've followed the build instructions for ghostscript 8.50 gpl, however
when I run ./configure I get the following error:
configure: error:
Unable to find jasper/src/libjasper/include/jas_config.h,
or generate generate such a file for this system. You will
have to build one by hand, or configure, build and install
the jasper library separately.
You can also pass --without-jasper to configure to disable
JPEG 2000 PDF image support entirely.
Reading some of the other posts it appears that jas_config.h is meant to
be generated by the configure script.
I've google'd on this but there appears to be no real answers.
So the question is why isn't it being created.
Note: if i do a chmod a+x jasper/configure the script still generates
the same error but it does run to completion. However the second problem
is that the resulting Makefile is zero bytes long.
The following is the complete log from running ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking supported compiler flags...
-O2
-Wall
-Wstrict-prototypes
-Wmissing-declarations
-Wmissing-prototypes
-Wcast-qual
-Wwrite-strings
-fno-builtin
-fno-common
...done.
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking sys/window.h usability... no
checking sys/window.h presence... no
checking for sys/window.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_blocks... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for unsigned long int... yes
checking size of unsigned long int... 4
checking for unsigned long long... yes
checking size of unsigned long long... 8
checking for cos in -lm... yes
checking for local jpeg library source... jpeg
checking for jmemsys.h... yes
checking for local zlib source... yes
checking for local png library source... yes
checking for local ijs library source... yes
checking for local jbig2dec library source... jbig2dec
checking for local jasper library source... jasper
checking for local jasper config header... no
checking for local jasper configure script... no
checking for local jasper autogen.sh script...
More information about the bug-gs
mailing list