AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2006.01.09 14:02 "[Tiff] bug: The macro STRIP_SIZE_DEFAULT has a "blank" value", by Norihiko Murase
2006.01.09 16:58 "Re: [Tiff] bug: The macro STRIP_SIZE_DEFAULT has a "blank" value", by Bob Friesenhahn
2006.01.11 06:29 "Re: [Tiff] bug: The macro STRIP_SIZE_DEFAULT has a "blank" value", by Norihiko Murase
2006.01.11 16:36 "Re: [Tiff] bug: The macro STRIP_SIZE_DEFAULT has a "blank" value", by Bob Friesenhahn

2006.01.09 14:02 "[Tiff] bug: The macro STRIP_SIZE_DEFAULT has a "blank" value", by Norihiko Murase

Hi,

I tried to build LibTIFF-3.8.0 on the FreeBSD (4.11-RELEASE)

box, but failed. I attach the report on this problem.

Problem Detail
===========================================================
In executing the configure script without specifing the
default size of the strip via the option
"--with-default-strip-size", the macro STRIP_SIZE_DEFAULT
is defined as a BLANK value:
    #define STRIP_SIZE_DEFAULT

This ridiculous definition does cause unreasonable and

curious build errors! (-_-#) X-(

Solution
===========================================================
VERY SIMPLE!!:
          s/==/=/g in configure.ac

Please apply the following patch:

----------patch_configure.ac----------
--- configure.ac.orig Fri Dec 30 06:48:36 2005
+++ configure.ac Mon Jan 9 17:31:30 2006
@@ -454,7 +454,7 @@
 if test "$HAVE_STRIPCHOP" = "yes" ; then
   AC_DEFINE(STRIPCHOP_DEFAULT,TIFF_STRIPCHOP,[Support strip chopping (whether or not to convert single-strip uncompressed images to mutiple strips of specified size to reduce memory usage)])

- if test "x$with_default_strip_size" == "x" ; then
+ if test "x$with_default_strip_size" = "x" ; then
     with_default_strip_size="8192"
   fi

----------patch_configure.ac----------

Best regards,

---
Norihiko Murase
  The University of Aizu
E-mail: skeleten [AT] shillest.net
        s1080224 [AT] u-aizu.ac.jp