2005.02.28 15:14 "[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

Thom DeCarlo
-=-=-
If ignorance is bliss, why aren't more people happy?