Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx7.public.one.com ([10.246.18.27])
	by mail6.local.one.com (Dovecot) with LMTP id hmbUF3eXGljAogAAsyOMew
	for <filtered@awaresystems.be>; Thu, 03 Nov 2016 01:49:30 +0000
X-HalOne-ID: c1b89e48-a167-11e6-92ff-549f350a6292
Received: from mail-oi0-f53.google.com (unknown [209.85.218.53])
	by mx7.public.one.com (Halon Mail Gateway) with ESMTPS
	for <filtered@awaresystems.be>; Thu,  3 Nov 2016 01:49:28 +0000 (UTC)
Received: by mail-oi0-f53.google.com with SMTP id 62so53581645oif.1
        for <filtered@awaresystems.be>; Wed, 02 Nov 2016 18:49:28 -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
         :date:from:to:in-reply-to:message-id:references:user-agent
         :mime-version:cc:subject:precedence:list-id:list-unsubscribe
         :list-archive:list-post:list-help:list-subscribe
         :content-transfer-encoding:sender:errors-to;
        bh=s2F08PRNQfYDh6efiUItSyeN0+9JIcLvYYOfGyOiteY=;
        b=h5aivHIOL/EqcSQhkLXFb4NhQov0kXoeQ0z1kcVzmJiuNO4X2mkmWZ5Cid2bTKidzm
         SchczDQvui5PDsFYaIsZ9z+2P4mq+Py8QOV7tMZG9jBzT0lo2w9Yf7MJ8HAzjLlpusG0
         CXFb+FvFhsgDCdFZbcRGZrgP5L+f5LNfc1X9glE49vpa0colIHvKjcsgDt5w4iRTZgbL
         M4rZUyodAtLbLObcJTeSLJ6G5+/H5FBYgICqOj+cLjYbTC5wK4LRKuHGL1MCSnOWJ7rj
         oL6P1nHLunlHtOUsIxrJNEwZKEWjfqsKPYo2zN+T/5ZVniNIoShgEgleiECGkJhHM1WW
         5s9g==
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
X-Gm-Message-State: ABUngvdaWHE/mn53P27zfNSoNq2335RZyDpTlvGuU35xtN6pb4VP92G7OGqRrSnrYyiH1gpNuZNevBMBPU9NcjEOokYPAic=
X-Received: by 10.157.19.27 with SMTP id f27mr4223183ote.226.1478137766418;
        Wed, 02 Nov 2016 18:49:26 -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 m81csp466332oif;
        Wed, 2 Nov 2016 18:49:25 -0700 (PDT)
X-Received: by 10.28.100.135 with SMTP id y129mr5577359wmb.32.1478137765212;
        Wed, 02 Nov 2016 18:49:25 -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 h14si18375800wmg.22.2016.11.02.18.49.23;
        Wed, 02 Nov 2016 18:49:25 -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
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id E424435C05A;
	Wed,  2 Nov 2016 20:48:33 -0500 (EST)
Received: from smtp.simplesystems.org (smtp.simplesystems.org [65.66.246.90])
	by lists.maptools.org (Postfix) with ESMTPS id EDDF535C057
	for <tiff@lists.maptools.org>; Wed,  2 Nov 2016 20:46:37 -0500 (EST)
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by smtp.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id
	uA31kXFp000908; Wed, 2 Nov 2016 20:46:34 -0500 (CDT)
Date: Wed, 2 Nov 2016 20:46:33 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: Guillaume Rossolini <guillaume.rossolini@instantluxe.com>
In-Reply-To: <CAE=Fn_56gq6qrbmUExqxK+i_nFOc54Zvt+rE7X3osrCvo1a_Eg@mail.gmail.com>
Message-ID: <alpine.GSO.2.20.1611022031340.23214@freddy.simplesystems.org>
References: <CAE=Fn_56gq6qrbmUExqxK+i_nFOc54Zvt+rE7X3osrCvo1a_Eg@mail.gmail.com>
User-Agent: Alpine 2.20 (GSO 67 2015-01-07)
MIME-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
	(smtp.simplesystems.org [65.66.246.90]);
	Wed, 02 Nov 2016 20:46:34 -0500 (CDT)
Cc: tiff@lists.maptools.org
Subject: Re: [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: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

On Wed, 2 Nov 2016, Guillaume Rossolini wrote:

> 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

Since you are using --enable-jpeg12, how did you prepare the two 
different libjpeg builds (one built as 8-bit and the other as 12, 
and patched)?

I have not tried that particular build configuration for myself since 
it requires some dedication to prepare the JPEG libraries.

The problem is due to the bare "/usr/local/lib" occuring in this 
part of the command:

   "../port/libport.la /usr/local/lib -llzma"

I am not sure what happend to the -L.

While these many options are a convenience, there are actually no 
special powers to assure that the headers and libraries all occuring 
in the same directories will be discretely used by the 
compiler/linker since they all go into the same compound options.

It is just as well to use

./configure \
     'CPPFLAGS=-I/usr/local/include' \
     'LDFLAGS=-L/usr/local/lib' \
      --enable-jpeg12

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
