Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx9.public.one.com ([195.47.247.105])
	by mail6.local.one.com (Dovecot) with LMTP id IdrkE6TSGVgg2gEAsyOMew
	for <filtered@awaresystems.be>; Wed, 02 Nov 2016 13:03:38 +0000
X-HalOne-ID: c520791b-a0fc-11e6-b4bb-246e961730ec
Received: from mail-oi0-f54.google.com (unknown [209.85.218.54])
	by mx9.public.one.com (Halon Mail Gateway) with ESMTPS
	for <filtered@awaresystems.be>; Wed,  2 Nov 2016 13:03:37 +0000 (UTC)
Received: by mail-oi0-f54.google.com with SMTP id v84so15493029oie.3
        for <filtered@awaresystems.be>; Wed, 02 Nov 2016 06:03:37 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-original-authentication-results:x-gm-message-state:delivered-to
         :mime-version:from:date:message-id:to:subject:precedence:list-id
         :list-unsubscribe:list-archive:list-post:list-help:list-subscribe
         :mime-version:sender:errors-to;
        bh=gpOy/HxSD+5lcGB9B//cjuB7yOLTKJrUwaCifYn+j3A=;
        b=gOrVxH53d3TFkekAqvAh5vkEErAFxg5uoPTvIKDWc3giJSEov295OzxiwG+nfzQlP7
         9l8nuXTG7EBF5KYDgpGFGm5ZLsFBCB/NhgYrTIPaKlQNKcEBQtj878QhAXNXdleSdkyM
         Z2IE4a78yddCCepjDMYocB2WvwJ7326guw0nz2jrwzhaHXCZdnv+O5VnOtzLbKb68byw
         x4hiGNXJPxl3EZz49hYy9j31MM1A1cboD3/xCcXTYtpD5RGY5pPR0f6YiIeixxIeBlwU
         SiQ4zrtI5IJgdrNjz/+DhyNzfGkhdMXW8SltVd/gGrWTzcIZcK9k/NrZQbwfeH7pEkW3
         oR+Q==
X-Original-Authentication-Results: mx.google.com;       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org;       dmarc=fail (p=QUARANTINE dis=NONE) header.from=instantluxe.com
X-Gm-Message-State: ABUngvfRz2a+HrXmznAxJYn06v6JO1VhHXctDmhZXsKML2K02MMP9EpjFVf0NNLvF1OtcJpb3nJe0cupPTZXRSA8U0BE9+0=
X-Received: by 10.202.3.193 with SMTP id 184mr2844599oid.177.1478091813427;
        Wed, 02 Nov 2016 06:03:33 -0700 (PDT)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 10.202.188.84 with SMTP id m81csp169111oif;
        Wed, 2 Nov 2016 06:03:32 -0700 (PDT)
X-Received: by 10.194.122.67 with SMTP id lq3mr3689913wjb.54.1478091812260;
        Wed, 02 Nov 2016 06:03:32 -0700 (PDT)
Return-Path: <tiff-bounces@lists.maptools.org>
Received: from lists.maptools.org (ks365428.kimsufi.com. [94.23.4.142])
        by mx.google.com with ESMTP id 64si3084457wmq.74.2016.11.02.06.03.02;
        Wed, 02 Nov 2016 06:03:32 -0700 (PDT)
Received-SPF: neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) client-ip=94.23.4.142;
Authentication-Results: mx.google.com;
       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org;
       dmarc=fail (p=QUARANTINE dis=NONE) header.from=instantluxe.com
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id CDF4D35C044;
	Wed,  2 Nov 2016 08:02:10 -0500 (EST)
Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com
	[209.85.215.53])
	by lists.maptools.org (Postfix) with ESMTPS id 538D735C044
	for <tiff@lists.maptools.org>; Wed,  2 Nov 2016 08:01:02 -0500 (EST)
Received: by mail-lf0-f53.google.com with SMTP id c13so11792399lfg.0
	for <tiff@lists.maptools.org>; Wed, 02 Nov 2016 06:01:02 -0700 (PDT)
X-Received: by 10.194.173.100 with SMTP id bj4mr2778861wjc.173.1478091660454; 
	Wed, 02 Nov 2016 06:01:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.178.142 with HTTP; Wed, 2 Nov 2016 06:00:39 -0700 (PDT)
From: Guillaume Rossolini <guillaume.rossolini@instantluxe.com>
Date: Wed, 2 Nov 2016 14:00:39 +0100
Message-ID: <CAE=Fn_56gq6qrbmUExqxK+i_nFOc54Zvt+rE7X3osrCvo1a_Eg@mail.gmail.com>
To: tiff@lists.maptools.org
Subject: [Tiff] Building libtiff from source fails with v4.0.6
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0451559312=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

--===============0451559312==
Content-Type: multipart/alternative; boundary=089e01184dc85e06280540510805

--089e01184dc85e06280540510805
Content-Type: text/plain; charset=UTF-8

Hi,

I am having trouble building version 4.0.6.

Here are the commands used and their output:
make clean
./configure --with-zlib-include-dir=/usr/local/include
--with-zlib-lib-dir=/usr/local/lib
--with-jpeg-include-dir=/usr/local/include
--with-jpeg-lib-dir=/usr/local/lib
--with-lzma-include-dir=/usr/local/include
--with-lzma-lib-dir=/usr/local/lib --enable-jpeg12
--with-jpeg12-include-dir=/usr/local/include
--with-jpeg12-lib=/usr/local/lib
make && make install
[...]
libtool: link: ( cd ".libs" && rm -f "libtiffxx.la" && ln -s "../
libtiffxx.la" "libtiffxx.la" )
gcc -DHAVE_CONFIG_H -I.   -I/usr/local/include -I/usr/local/include
-I/usr/local/include   -g -O2 -Wall -W -MT mkg3states.o -MD -MP -MF
.deps/mkg3states.Tpo -c -o mkg3states.o mkg3states.c
mv -f .deps/mkg3states.Tpo .deps/mkg3states.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -Wall -W
 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib  -o mkg3states
mkg3states.o ../port/libport.la /usr/local/lib -llzma -ljbig -ljpeg -lz -lm
libtool: link: gcc -g -O2 -Wall -W -o mkg3states mkg3states.o
/usr/local/lib  -L/usr/local/lib ../port/.libs/libport.a
/usr/local/lib/liblzma.so -lrt -ljbig /usr/local/lib/libjpeg.so -lz -lm
-pthread
/usr/bin/ld: cannot find /usr/local/lib: File format not recognized
collect2: error: ld returned 1 exit status
Makefile:602: recipe for target 'mkg3states' failed
make[2]: *** [mkg3states] Error 1
make[2]: Leaving directory '/usr/local/src/tiff-4.0.6/libtiff'
Makefile:494: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/local/src/tiff-4.0.6/libtiff'
Makefile:545: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1


Could you please help me fix this issue on my boxes? One uses gcc v6.10 and
the other, gcc v4.9.2, both with the same error.

Thanks,

--089e01184dc85e06280540510805
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div class=3D"gmail_signature"><div dir=3D"ltr"><div>=
<div dir=3D"ltr"><div><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><d=
iv dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=
=3D"ltr"><div><span style=3D"color:rgb(0,0,0);font-size:12.8px">Hi,</span><=
/div><div><span style=3D"color:rgb(0,0,0);font-size:12.8px"><br></span></di=
v><div>I am having trouble building version 4.0.6.</div><div><br></div><div=
>Here are the commands used and their output:</div><div>make clean<br></div=
><div>./configure --with-zlib-include-dir=3D/usr/local/include --with-zlib-=
lib-dir=3D/usr/local/lib --with-jpeg-include-dir=3D/usr/local/include --wit=
h-jpeg-lib-dir=3D/usr/local/lib --with-lzma-include-dir=3D/usr/local/includ=
e --with-lzma-lib-dir=3D/usr/local/lib --enable-jpeg12 --with-jpeg12-includ=
e-dir=3D/usr/local/include --with-jpeg12-lib=3D/usr/local/lib<br></div><div=
>make &amp;&amp; make install<br></div><div>[...]</div><div><div>libtool: l=
ink: ( cd &quot;.libs&quot; &amp;&amp; rm -f &quot;<a href=3D"http://libtif=
fxx.la">libtiffxx.la</a>&quot; &amp;&amp; ln -s &quot;../<a href=3D"http://=
libtiffxx.la">libtiffxx.la</a>&quot; &quot;<a href=3D"http://libtiffxx.la">=
libtiffxx.la</a>&quot; )</div><div>gcc -DHAVE_CONFIG_H -I. =C2=A0 -I/usr/lo=
cal/include -I/usr/local/include -I/usr/local/include =C2=A0 -g -O2 -Wall -=
W -MT mkg3states.o -MD -MP -MF .deps/mkg3states.Tpo -c -o mkg3states.o mkg3=
states.c</div><div>mv -f .deps/mkg3states.Tpo .deps/mkg3states.Po</div><div=
>/bin/bash ../libtool =C2=A0--tag=3DCC =C2=A0 --mode=3Dlink gcc =C2=A0-g -O=
2 -Wall -W =C2=A0-L/usr/local/lib -L/usr/local/lib -L/usr/local/lib =C2=A0-=
o mkg3states mkg3states.o ../port/<a href=3D"http://libport.la">libport.la<=
/a> /usr/local/lib -llzma -ljbig -ljpeg -lz -lm</div><div>libtool: link: gc=
c -g -O2 -Wall -W -o mkg3states mkg3states.o /usr/local/lib =C2=A0-L/usr/lo=
cal/lib ../port/.libs/libport.a /usr/local/lib/liblzma.so -lrt -ljbig /usr/=
local/lib/libjpeg.so -lz -lm -pthread</div><div>/usr/bin/ld: cannot find /u=
sr/local/lib: File format not recognized</div><div>collect2: error: ld retu=
rned 1 exit status</div><div>Makefile:602: recipe for target &#39;mkg3state=
s&#39; failed</div><div>make[2]: *** [mkg3states] Error 1</div><div>make[2]=
: Leaving directory &#39;/usr/local/src/tiff-4.0.6/libtiff&#39;</div><div>M=
akefile:494: recipe for target &#39;all&#39; failed</div><div>make[1]: *** =
[all] Error 2</div><div>make[1]: Leaving directory &#39;/usr/local/src/tiff=
-4.0.6/libtiff&#39;</div><div>Makefile:545: recipe for target &#39;all-recu=
rsive&#39; failed</div><div>make: *** [all-recursive] Error 1</div></div><d=
iv><br></div><div><br></div><div>Could you please help me fix this issue on=
 my boxes? One uses gcc v6.10 and the other, gcc v4.9.2, both with the same=
 error.</div><div><br></div><div>Thanks,</div></div></div></div></div></div=
></div></div></div></div></div></div></div></div></div>
</div>

--089e01184dc85e06280540510805--

--===============0451559312==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
--===============0451559312==--
