[64 bit] ghostscript configure script doesn't recognize libtiff

Dr. Volker Zell vzell@volkerzell.de
Tue Apr 23 04:55:00 GMT 2013


Hi

I need help compiling ghostscript for 64 bit. The configure script doesn't
recognize libtiff somehow. Any ideas ?


configure:6227: checking for TIFFOpen in -ltiff
configure:6252: gcc -o conftest.exe -ggdb -O2 -pipe -fdebug-prefix-map=/cygdrive/d/misc/src/release64/ghostscript-9.06-1/build=/usr/src/debug/ghostscript-9.06-1 -fdebug-prefix-map=/cygdrive/d/misc/src/release64/ghostscript-9.06-1/src/ghostscript-9.06=/usr/src/debug/ghostscript-9.06-1 -DUSE_LIBICONV_GNU   conftest.c -ltiff -ljpeg -ldl -lm  -liconv -lidn >&5
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../lib/libtiff.dll.a when searching for -ltiff
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: skipping incompatible /lib/../lib/libtiff.dll.a when searching for -ltiff
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: skipping incompatible /usr/lib/../lib/libtiff.dll.a when searching for -ltiff
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../libtiff.dll.a when searching for -ltiff
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: skipping incompatible /usr/lib/libtiff.dll.a when searching for -ltiff
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../lib/libtiff.dll.a when searching for -ltiff
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: skipping incompatible /lib/../lib/libtiff.dll.a when searching for -ltiff
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: skipping incompatible /usr/lib/../lib/libtiff.dll.a when searching for -ltiff
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../libtiff.dll.a when searching for -ltiff
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: skipping incompatible /usr/lib/libtiff.dll.a when searching for -ltiff
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -ltiff
collect2: error: ld returned 1 exit status
configure:6252: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_DIR_H 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define TIME_WITH_SYS_TIME 1
| #define SIZEOF_UNSIGNED_LONG_INT 8
| #define HAVE_LIBM 1
| #define USE_LIBICONV_GNU 1
| #define HAVE_LIBDL 1
| #define HAVE_JPEGLIB_H 1
| #define DONT_HAVE_JMEMSYS_H 1
| #define HAVE_ZLIB_H 1
| #define HAVE_PNG_H 1
| #define HAVE_LCMS2_H 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char TIFFOpen ();
| int
| main ()
| {
| return TIFFOpen ();
|   ;
|   return 0;
| }
configure:6261: result: no
configure:6285: Could not find a copy of libtiff on your system.


Ciao
  Volker



More information about the Cygwin-apps mailing list