AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.07.22 13:55 "[Tiff] tiff-3.7.3 build issues", by
2005.07.22 19:26 "Re: [Tiff] tiff-3.7.3 build issues", by Andrey Kiselev
2005.07.26 11:19 "Re: [Tiff] tiff-3.7.3 build issues", by Andrey Kiselev

2005.07.22 19:26 "Re: [Tiff] tiff-3.7.3 build issues", by Andrey Kiselev

On Fri, Jul 22, 2005 at 08:55:22AM -0500, Peter@thewrittenword.com wrote:

We had some problems with tiff-3.7.3, all minor, luckily.

On solaris it proved imposssible to build the c++ streams library without patching libtool. Should be fixed there fairly soon <http://lists.gnu.org/archive/html/libtool-patches/2005-07/msg00101.html>.

On AIX there were a couple of issues, one was that the tif_streams.cxx needs to #include "tifconfig.h" first to get the _LARGE_FILES definition otherwise it does not build complainging about oddities with lseek64 and others.

There was also a problem with AIX and Int8 etc.

Patches attached.

Thanks,
Peter

--- tif_stream.cxx.orig 2005-07-20 00:06:34.046089000 -0500
+++ tif_stream.cxx 2005-07-20 00:07:06.126333000 -0500
@@ -27,6 +27,7 @@
 /*
  * TIFF Library UNIX-specific Routines.
  */
+#include "tif_config.h"
 #include <iostream>
 #include "tiffiop.h"

--- tiff.h.orig 2005-07-17 08:23:35.470089000 -0500
+++ tiff.h 2005-07-19 21:05:37.634226000 -0500
@@ -57,7 +57,7 @@

  *
  * See http://bugzilla.remotesensing.org/show_bug.cgi?id=39
  */

-#if defined(_H_INTTYPES) && defined(_ALL_SOURCE) && defined(USING_VISUALAGE) +#if defined(_H_INTTYPES) && defined(_ALL_SOURCE)

 #define _TIFF_DATA_TYPEDEFS_
 typedef unsigned char uint8;

Hello Peter,

Ok, your patches will be applied, thanks. By the way, I will be very grateful for the account on the AIX system. I have a bunch of problems with the AIX and they are not easy to solve without real system.

If somebody have a possibility to get me access to the AIX system, please, do. I shall try to polish the libtiff port on that platform.

Best regards,
Andrey

--
Andrey V. Kiselev

Home phone: +7 812 5970603 ICQ# 26871517