Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-k.b-one.net (mx-k.one.com [91.198.169.58])
	by mail9.b-one.net (Postfix) with ESMTP id 20F0140013C
	for <info@awaresystems.be>; Mon, 23 Aug 2010 16:24:41 +0200 (CEST)
Received: by mx-k.b-one.net (Postfix, from userid 106)
	id 1018A45696A1; Mon, 23 Aug 2010 16:24:41 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=4 tests=[none]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144]) by
 mx-k.b-one.net (Postfix) with ESMTP id 1A60E45696A0 for
 <info@awaresystems.be>; Mon, 23 Aug 2010 16:24:39 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by
 lists.maptools.org (Postfix) with ESMTP id 32DAA1D184BEB; Mon, 23 Aug 2010
 09:23:55 -0500 (EST)
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com
 [209.85.214.172]) by lists.maptools.org (Postfix) with ESMTP id 2FFB41D0E40FA
 for <tiff@lists.maptools.org>; Mon, 23 Aug 2010 09:17:51 -0500 (EST)
Received: by iwn3 with SMTP id 3so5407191iwn.3 for <tiff@lists.maptools.org>;
 Mon, 23 Aug 2010 07:17:51 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.231.174.196 with SMTP id u4mr6523348ibz.19.1282573071129;
 Mon, 23 Aug 2010 07:17:51 -0700 (PDT)
Received: by 10.231.176.6 with HTTP; Mon, 23 Aug 2010 07:17:51 -0700 (PDT)
In-Reply-To: <AANLkTikM_OiS4P8efuiogz25rkK476nv_KHCS6eZNnT-@mail.gmail.com>
References: <AANLkTi=qgx6PWZrHGfO_f6mor3v8vi8RvzvJjeMTYLUp@mail.gmail.com>
 <AANLkTi=dWwaKsCk70JFnNc_UZB+9ow-+1b2RBgE8Jb2L@mail.gmail.com>
 <AANLkTimywabXXTuK6CO+HtV9TM8utL-g=e9skET0Ee3w@mail.gmail.com>
 <20100823140237.7ad6b03f.pullmoll@t-online.de>
 <AANLkTikM_OiS4P8efuiogz25rkK476nv_KHCS6eZNnT-@mail.gmail.com>
Date: Mon, 23 Aug 2010 16:17:51 +0200
Message-ID: <AANLkTi=d=0_Q_KkDzpbeXE6sDZn5MiLzTRjsiVw4YwjO@mail.gmail.com>
From: =?ISO-8859-1?Q?Dennis_M=F8lhom_Hansen?= <molholm@gmail.com>
To: Libtiff <tiff@lists.maptools.org>
Subject: Re: [Tiff] TIFFWriteScanline works on Windows and Linux but fails on
 Mac
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="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

Minor break: I got a TIFFError redirected so now it finally prints:

I get the following message when TIFFWriteScanline fails: "compression
support is not configured"

I can't se any issues in the configure output, but I will check again.

Any ideas on how to configure compression support for LZW?

2010/8/23 Dennis M=F8lhom Hansen <molholm@gmail.com>:
> Hi,
>
> The only flag I used for the built was --prefix. I checked the
> makefile as you mentioned, and the only option I found in my version
> was --disable-lzw... It seems to be enable by default. I do not see
> any general compression flag either.
>
> I tried the sample program "tiffcp -c lzw in_uncompressed.tif
> out_lzw.tif" and I was able to lzw compressed the tif file. So
> something is working, right now i'm comparing the source codes to find
> the issue, but so far without much luck...
>
> On Mon, Aug 23, 2010 at 2:02 PM, Juergen Buchmueller
> <pullmoll@t-online.de> wrote:
>> On Mon, 23 Aug 2010 12:18:25 +0200
>> Dennis M=F8lhom Hansen <molholm@gmail.com> wrote:
>>
>>> Update: any compression seems to fail on mac, only uncompressed work.
>>> Any ideas where to look for a cause/solution?
>>
>> Perhaps the library was built without support for compression? IIRC
>> you can disable the various schemes and the default may even be to
>> build without compression support. You should take a look at the
>> Makefile for the environment flags to set for supporting LZW compression
>> and possibly others. Or was libtiff autoconf'd? I don't remember. In
>> that case use ./configure --help to see the various options.
>>
>> HTH
>> Juergen
>>
>> _______________________________________________
>> Tiff mailing list: Tiff@lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/tiff
>> http://www.remotesensing.org/libtiff/
>>
>
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
