AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.02.28 14:11 "[Tiff] libtiff in cygwin", by Thom DeCarlo
2005.02.28 14:24 "[Tiff] libtiff nightly tarballs?", by Thom DeCarlo
2005.02.28 14:56 "Re: [Tiff] libtiff in cygwin", by Bob Friesenhahn
2005.02.28 15:14 "[Tiff] compiling libtiff in cygwin", by Thom DeCarlo
2005.02.28 15:56 "Re: [Tiff] compiling libtiff in cygwin", by Bob Friesenhahn
2005.02.28 16:00 "Re: [Tiff] compiling libtiff in cygwin", by Edward Lam
2005.02.28 16:05 "Re: [Tiff] compiling libtiff in cygwin", by Edward Lam
2005.03.01 04:07 "Re: [Tiff] compiling libtiff in cygwin", by Thom DeCarlo
2005.03.21 16:16 "RE: [Tiff] compiling libtiff in cygwin", by Thom DeCarlo
2005.03.21 19:40 "Re: [Tiff] compiling libtiff in cygwin", by Andrey Kiselev
2005.03.21 21:27 "RE: [Tiff] compiling libtiff in cygwin", by Thom DeCarlo
2005.03.21 21:58 "RE: [Tiff] compiling libtiff in cygwin", by Bob Friesenhahn
2005.03.22 01:13 "Re: [Tiff] compiling libtiff in cygwin", by Thom DeCarlo

2005.03.01 04:07 "Re: [Tiff] compiling libtiff in cygwin", by Thom DeCarlo

Bob,

After grabbing a cvs update (nothing had changed since yesterday night) I tried to run the configure. The first attempt failed when creating libtool:

   checking if libtool supports shared libraries... yes
   checking whether to build shared libraries... yes
   checking whether to build static libraries... yes
   configure: creating libtool
   ./configure: line 12232: unexpected EOF while looking for matching `"'
   ./configure: line 12233: syntax error: unexpected end of file

The second attempt (no changes, just run configure again) succeeded. However, the make fails quickly in the port directory:

thom@hatter /cygdrive/s/OSG/libtiff
$ make
Making all in port

make[1]: Entering directory `/cygdrive/s/OSG/libtiff/port' if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff -g -O2 -MT dummy.lo -MD -MP -MF ".deps/dummy.Tpo" -c -o dummy.lo dummy.c; \ then mv -f ".deps/dummy.Tpo" ".deps/dummy.Plo"; else rm -f ".deps/dummy.Tpo"; exit 1; fi

mkdir .libs
  gcc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff -g -O2 -MT
dummy.lo -MD -MP -MF .deps/dummy.Tpo -c dummy.c -DPIC -o .libs/dummy.o
  gcc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff -g -O2 -MT

dummy.lo -MD -MP -MF .deps/dummy.Tpo -c dummy.c -o dummy.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o libport.la dummy.lo -ljpeg -lz -lc ../libtool: line 3555: syntax error: unexpected end of file make[1]: *** [libport.la] Error 2

make[1]: Leaving directory `/cygdrive/s/OSG/libtiff/port' make: *** [all-recursive] Error 1

thom@hatter /cygdrive/s/OSG/libtiff
$

thom@hatter /cygdrive/s/OSG/libtiff
$ make
Making all in port

make[1]: Entering directory `/cygdrive/s/OSG/libtiff/port' /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o libport.la dummy.lo -ljpeg -lz -lc ../libtool: line 3219: syntax error: unexpected end of file make[1]: *** [libport.la] Error 2

make[1]: Leaving directory `/cygdrive/s/OSG/libtiff/port' make: *** [all-recursive] Error 1

thom@hatter /cygdrive/s/OSG/libtiff
$ make
Making all in port

make[1]: Entering directory `/cygdrive/s/OSG/libtiff/port' /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o libport.la dummy.lo -ljpeg -lz -lc ../libtool: line 3225: unexpected EOF while looking for matching `"'

../libtool: line 3226: syntax error: unexpected end of file make[1]: *** [libport.la] Error 2

make[1]: Leaving directory `/cygdrive/s/OSG/libtiff/port' make: *** [all-recursive] Error 1

thom@hatter /cygdrive/s/OSG/libtiff
$

I really don't understand what is happening here. It seems that the make fails in a different place each time I run it. But it always complains about an unexpected end of file. ARGH!

Do you have any idea what's going on here?

Thanks,
Thom

It does seem that new build failures have been added since I last looked:

g++ -shared -nostdlib /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/crtbegin.o .libs/tif_stream.o -L/usr/local/lib /usr/lib/libjpeg.dll.a -lz -L/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1

-L/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../.. -lstdc++ -lgcc -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/crtend.o -o .libs/cygtiffxx-3.dll -Wl,--image-base=0x10000000 -Wl,--out-implib,.libs/libtiffxx.dll.a Creating library file: .libs/libtiffxx.dll.a .libs/tif_stream.o(.text+0x542): In function `_Z15_tiffStreamOpenPKcS0_Pv': /uhome/src/graphics/libtiff/libtiff/tif_stream.cxx:244: undefined reference to `_TIFFClientOpen' collect2: ld returned 1 exit status make[2]: *** [libtiffxx.la] Error 1

make[2]: Leaving directory `/home/bfriesen/cygwin/libtiff/libtiff'

--
Thom DeCarlo

-=-=-

If ignorance is bliss, why aren't more people happy?