Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas023.isp.belgacom.be (localhost [127.0.0.1])
        by inav024.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k2S6CFOR005178
        for <joris.at.lebbeke@skynet.be>; Tue, 28 Mar 2006 08:12:15 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx013.isp.belgacom.be (inmx013.isp.belgacom.be [195.238.4.216])
        by inas023.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k2S6CB8J014568
        for <joris.at.lebbeke@skynet.be>; Tue, 28 Mar 2006 08:12:13 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx013.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id k2S6C1iQ031935
        for <joris.at.lebbeke@skynet.be>; Tue, 28 Mar 2006 08:12:01 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k2S5xEoU004251;
	Tue, 28 Mar 2006 01:00:10 -0500
Received: from mail.gmx.net (mail.gmx.de [213.165.64.20])
	by duke.maptools.org (8.12.11/8.12.10) with SMTP id k2S5xCG9004247
	for <tiff@lists.maptools.org>; Tue, 28 Mar 2006 00:59:12 -0500
Received: (qmail invoked by alias); 28 Mar 2006 05:59:09 -0000
Received: from dialin104137.justdsl.de (EHLO sirius.rasena) [85.25.104.137]
	by mail.gmx.net (mp010) with SMTP; 28 Mar 2006 07:59:09 +0200
X-Authenticated: #2969065
Received: by sirius.rasena (Postfix, from userid 500)
	id E4C70127BCA; Tue, 28 Mar 2006 08:19:03 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by sirius.rasena (Postfix) with ESMTP id D0AF5127BC8;
	Tue, 28 Mar 2006 08:19:03 +0200 (CEST)
Date: Tue, 28 Mar 2006 08:19:03 +0200 (CEST)
From: Kai-Uwe Behrmann <ku.b@gmx.de>
X-X-Sender: kuwe@sirius.rasena
To: Karyn Williams <karyn@calarts.edu>
Subject: Re: [Tiff] Compile errors Tiff-3.8.0 on FreeBSD 5.4
In-Reply-To: <3.0.1.32.20060327151853.01db36a0@muse.calarts.edu>
Message-ID: <Pine.LNX.4.61.0603280813010.9148@sirius.rasena>
References: <3206D8FDDF2F2541A7715A82522893771563E820@hq2.ingr-corp.com>
	<3206D8FDDF2F2541A7715A82522893771563E820@hq2.ingr-corp.com>
	<3.0.1.32.20060327151853.01db36a0@muse.calarts.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Y-GMX-Trusted: 0
Cc: tiff@lists.maptools.org
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
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>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00001466
X-MSP-STORE: Tue, 28 Mar 2006 08:12:25 +0200
Status:   

Be carefully with libtiff 3.8.0. As reported by Holger Schemel on 10 Mar 
2006 and others too, this version is buggy and caused allready numerous 
crashes. Better do an upgrade.

regards
Kai-Uwe Behrmann
                                + development for color management 
                                + imaging / panoramas
                                + email: ku.b@gmx.de
                                + http://www.behrmann.name


Am 27.03.06, 15:18 -0800 schrieb Karyn Williams:

> Make and configure output below. Trying to make tiff-3.8.0 on freebsd 5.4,
> GNU Make 3.80. Have installed jpeg-6b and libtool-1.5.22. Any help would be
> appreciated.
> 
> 
> test# gmake
> Making all in port
> gmake[1]: Entering directory `/usr/src/tiff-3.8.0/port'
> gmake[1]: Nothing to be done for `all'.
> gmake[1]: Leaving directory `/usr/src/tiff-3.8.0/port'
> Making all in libtiff
> gmake[1]: Entering directory `/usr/src/tiff-3.8.0/libtiff'
> gmake  all-am
> gmake[2]: Entering directory `/usr/src/tiff-3.8.0/libtiff'
> if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I.
>  -g -O2 -Wall -W -MT tif_dirread.lo -MD -MP -MF ".deps/tif_dirread.Tpo" -c
> -o tif_dirread.lo tif_dirread.c; \
> then mv -f ".deps/tif_dirread.Tpo" ".deps/tif_dirread.Plo"; else rm -f
> ".deps/tif_dirread.Tpo"; exit 1; fi
>  gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -Wall -W -MT tif_dirread.lo -MD
> -MP -MF .deps/tif_dirread.Tpo -c tif_dirread.c  -fPIC -DPIC -o
> .libs/tif_dirread.o
> tif_dirread.c: In function `ChopUpSingleUncompressedStrip':
> tif_dirread.c:1716: error: syntax error before ')' token
> tif_dirread.c:1702: warning: unused variable `bytecount'
> tif_dirread.c:1703: warning: unused variable `offset'
> tif_dirread.c:1704: warning: unused variable `stripbytes'
> tif_dirread.c:1705: warning: unused variable `strip'
> tif_dirread.c:1705: warning: unused variable `nstrips'
> tif_dirread.c:1706: warning: unused variable `newcounts'
> tif_dirread.c:1707: warning: unused variable `newoffsets'
> tif_dirread.c: At top level:
> tif_dirread.c:1719: error: syntax error before "else"
> gmake[2]: *** [tif_dirread.lo] Error 1
> gmake[2]: Leaving directory `/usr/src/tiff-3.8.0/libtiff'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory `/usr/src/tiff-3.8.0/libtiff'
> gmake: *** [all-recursive] Error 1
> test# 
> 
> 
> test# ./configure
> checking build system type... i386-unknown-freebsd5.4
> checking host system type... i386-unknown-freebsd5.4
> checking target system type... i386-unknown-freebsd5.4
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables... 
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking whether gcc and cc understand -c and -o together... yes
> checking for C compiler warning flags... -Wall -W
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> checking for a sed that does not truncate output... /usr/bin/sed
> checking for egrep... grep -E
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for /usr/bin/ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking how to recognise dependent libraries... pass_all
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for dlfcn.h... yes
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> checking how to run the C++ preprocessor... g++ -E
> checking for g77... no
> checking for f77... f77
> checking whether we are using the GNU Fortran 77 compiler... yes
> checking whether f77 accepts -g... yes
> checking the maximum length of command line arguments... 16384
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> checking for objdir... .libs
> checking for ar... ar
> checking for ranlib... ranlib
> checking for strip... strip
> checking if gcc static flag  works... yes
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc supports -c -o file.o... yes
> checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
> checking whether -lc should be explicitly linked in... yes
> checking dynamic linker characteristics... freebsd5.4 ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for ld used by g++... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
> checking for g++ option to produce PIC... -fPIC
> checking if g++ PIC flag -fPIC works... yes
> checking if g++ supports -c -o file.o... yes
> checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
> checking dynamic linker characteristics... freebsd5.4 ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for f77 option to produce PIC... -fPIC
> checking if f77 PIC flag -fPIC works... yes
> checking if f77 supports -c -o file.o... yes
> checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes
> checking dynamic linker characteristics... freebsd5.4 ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking for main in -lc... yes
> checking for main in -lm... yes
> checking assert.h usability... yes
> checking assert.h presence... yes
> checking for assert.h... yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
> checking malloc.h usability... no
> checking malloc.h presence... no
> checking for malloc.h... no
> checking search.h usability... yes
> checking search.h presence... yes
> checking for search.h... yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking for unistd.h... (cached) yes
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking whether byte ordering is bigendian... no
> checking for off_t... yes
> checking for size_t... yes
> checking for int... yes
> checking size of int... 4
> checking for long... yes
> checking size of long... 4
> checking whether time.h and sys/time.h may both be included... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking for int8... no
> checking for int16... no
> checking for int32... no
> checking for floor... yes
> checking for isascii... yes
> checking for memmove... yes
> checking for memset... yes
> checking for mmap... yes
> checking for pow... yes
> checking for sqrt... yes
> checking for strchr... yes
> checking for strrchr... yes
> checking for strstr... yes
> checking for strtol... yes
> checking for getopt... yes
> checking for strcasecmp... yes
> checking for strtoul... yes
> checking for lfind... yes
> checking native cpu bit order... lsb2msb
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking for _LARGE_FILES value needed for large files... no
> checking for inflateEnd in -lz... yes
> checking zlib.h usability... yes
> checking zlib.h presence... yes
> checking for zlib.h... yes
> checking for jpeg_read_scanlines in -ljpeg... no
> checking jpeglib.h usability... no
> checking jpeglib.h presence... no
> checking for jpeglib.h... no
> checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
> checking for gethostbyname... yes
> checking for connect... yes
> checking for remove... yes
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... yes
> checking for the pthreads library -lpthreads... no
> checking whether pthreads work without any flags... no
> checking whether pthreads work with -Kthread... no
> checking whether pthreads work with -kthread... no
> checking for the pthreads library -llthread... no
> checking whether pthreads work with -pthread... yes
> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
> checking if more special flags are required for pthreads... -D_THREAD_SAFE
> checking for cc_r... gcc
> checking whether we are using the Microsoft C compiler... no
> checking windows.h usability... no
> checking windows.h presence... no
> checking for windows.h... no
> checking for OpenGL library... -lGL
> checking for OpenGL Utility library... -lGLU
> checking for GLUT library... no
> test: x: unexpected operator
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating contrib/Makefile
> config.status: creating contrib/acorn/Makefile
> config.status: creating contrib/addtiffo/Makefile
> config.status: creating contrib/dbs/Makefile
> config.status: creating contrib/dbs/xtiff/Makefile
> config.status: creating contrib/iptcutil/Makefile
> config.status: creating contrib/mac-cw/Makefile
> config.status: creating contrib/mac-mpw/Makefile
> config.status: creating contrib/mfs/Makefile
> config.status: creating contrib/ojpeg/Makefile
> config.status: creating contrib/pds/Makefile
> config.status: creating contrib/ras/Makefile
> config.status: creating contrib/stream/Makefile
> config.status: creating contrib/tags/Makefile
> config.status: creating contrib/win_dib/Makefile
> config.status: creating html/Makefile
> config.status: creating html/images/Makefile
> config.status: creating html/man/Makefile
> config.status: creating libtiff/Makefile
> config.status: creating man/Makefile
> config.status: creating port/Makefile
> config.status: creating test/Makefile
> config.status: creating tools/Makefile
> config.status: creating libtiff/tif_config.h
> config.status: libtiff/tif_config.h is unchanged
> config.status: creating libtiff/tiffconf.h
> config.status: libtiff/tiffconf.h is unchanged
> config.status: executing depfiles commands
> config.status: executing libtool commands
> 
> Libtiff is now configured for i386-unknown-freebsd5.4
> 
>   Installation directory:             /usr/local
>   Documentation directory:            ${prefix}/share/doc/tiff-3.8.0
>   C compiler:                         gcc -g -O2 -Wall -W
>   C++ compiler:                       g++ -g -O2
>   Enable runtime linker paths:        no
>   Support Microsoft Document Imaging: yes
> 
>  Support for internal codecs:
>   CCITT Group 3 & 4 algorithms:       yes
>   Macintosh PackBits algorithm:       yes
>   LZW algorithm:                      yes
>   ThunderScan 4-bit RLE algorithm:    yes
>   NeXT 2-bit RLE algorithm:           yes
>   LogLuv high dynamic range encoding: yes
> 
>  Support for external codecs:
>   ZLIB support:                       yes
>   Pixar log-format algorithm:         yes
>   JPEG support:                       no
>   Old JPEG support:                   no
> 
>   C++ support:                        yes
> 
>   OpenGL support:                     no
> 
> 
> -- 
> 
> Karyn Williams
> Network Services Manager
> California Institute of the Arts
> karyn@calarts.edu
> http://www.calarts.edu/network
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
