Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx019.isp.belgacom.be (inmx019.isp.belgacom.be [195.238.3.138])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id j2148C49018623
        for <joris.at.lebbeke@skynet.be>; Tue, 1 Mar 2005 05:08:12 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx019.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j21482oc011367
        for <joris.at.lebbeke@skynet.be>; Tue, 1 Mar 2005 05:08:06 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id CE9AEFA6CD5; Mon, 28 Feb 2005 23:07:38 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from lakermmtao05.cox.net (lakermmtao05.cox.net [68.230.240.34])
	by xserve.flids.com (Postfix) with ESMTP id 1E595FA6CB1
	for <tiff@remotesensing.org>; Mon, 28 Feb 2005 23:07:37 -0500 (EST)
Received: from [127.0.0.1] (really [68.10.119.33]) by lakermmtao05.cox.net
	(InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP
	id <20050301040731.SQMW3789.lakermmtao05.cox.net@[127.0.0.1]>
	for <tiff@remotesensing.org>; Mon, 28 Feb 2005 23:07:31 -0500
Message-ID: <4223EA81.20703@cox.net>
Date: Mon, 28 Feb 2005 23:07:29 -0500
From: Thom DeCarlo <thomdecarlo@cox.net>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "'Tiff'" <tiff@remotesensing.org>
Subject: Re: [Tiff] compiling libtiff in cygwin
References: <007d01c51da8$2cec1db0$959877c6@cts1149>
	<Pine.SOC.4.60.0502280956000.8945@blade.simplesystems.org>
In-Reply-To: <Pine.SOC.4.60.0502280956000.8945@blade.simplesystems.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: 9c42c92bccc6a4843c8acb0da427762d

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



Bob Friesenhahn wrote:
> 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'
> 
> ======================================
> Bob Friesenhahn
> bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
> GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
> _______________________________________________
> Tiff mailing list
> Tiff@remotesensing.org
> http://xserve.flids.com/mailman/listinfo/tiff
> 
> 


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

_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
