Prev Up (Under construction)

libtiff

libtiff is a C function library for libtiff image manipulations. It includes command line tools (tiff2*, *2tiff, tiff*,etc).

Compilation (V4.0.3)

Needs libjpeg. Optionally zlib, libjbig.

AIX

Example:
                                     # AIX 6.1, C 9; 7.1 C 12.1
   ./configure --prefix=/tmp/tiff-4.0.3 CC="cc" CXX=xlC CXXFLAGS="-O2 -D_THREAD_SAFE -D_LARGE_FILES" CFLAGS="-O2 -qcpluscmt -D_LARGE_FILES" --enable-cxx --disable-shared --enable-static --with-zlib--dir=/nfs/local/71/ --with-zlib-lib-dir=/nfs/local/71/lib --with-jpeg--dir=/nfs/local/71/ --with-jpeg-lib-dir=/nfs/local/71/lib --with-jbig--dir=/nfs/local/71/ --with-jbig-lib-dir=/nfs/local/71/lib
   make 
   make test
   make install

Compilation (V3.9.5)

Needs libjpeg. Optionally zlib.

AIX

Example:
                                  # AIX 5.x, C 6
./configure CC="cc" CXX=xlC CXXFLAGS="-O2 -D_LARGE_FILES" CFLAGS="-O2 -qcpluscmt -D_LARGE_FILES" --disable-cxx --disable-shared --enable-static --with-zlib--dir=/tmp/zlib-1.2.5/ --with-zlib-lib-dir=/tmp/zlib-1.2.5/lib --with-jpeg--dir=/tmp/jpeg-8c/ --with-jpeg-lib-dir=/tmp/jpeg-8c/lib --prefix=/tmp/tiff-3.9.5
                                  # AIX 4.x, C 3.6.6
./configure CC="cc" CXX=xlC CXXFLAGS="-O2" CFLAGS="-O2 -qcpluscmt" --disable-cxx --with-zlib--dir=/nfs/local/41/zlib-1.2.5/ --with-zlib-lib-dir=/nfs/local/41/zlib-1.2.5/lib --with-jpeg--dir=/nfs/local/41/jpeg-8c/ --with-jpeg-lib-dir=/nfs/local/41/jpeg-8c/lib --prefix=/tmp/tiff-3.9.5
make 
make test
make install
Note that the build procedure (libtool) is a bit stupid, it can't cope with relative paths for the zlib and jpeg libraries.
Note further that there seem to be bugs in the data type definitions. Had to add in tiffio.h:
typedef int32_t int32;

Compilation (V3.8.2)

Needs libjpeg. Optionally zlib.

Tru64 5.1, AIX 5.3/6.1

straightforward according to the provided README. With $DST being the destination directory:
  1.                         # --disable-cxx if no C++ avail.
    			# T64:
    ./configure          CC="cc" CFLAGS="-O2"            --disable-cxx --with-zlib--dir=/nfs/local/51// --with-zlib-lib-dir=/nfs/local/51/lib/ --with-jpeg--dir=/nfs/local/51// --with-jpeg-lib-dir=/nfs/local/51/lib/ --prefix=$DST/tiff-3.8.2
    			# AIX:
    ./configure CXX="cc" CC="cc" CFLAGS="-O2 -qcpluscmt" --disable-cxx --with-zlib--dir=/nfs/local/61// --with-zlib-lib-dir=/nfs/local/61/lib/ --with-jpeg--dir=/nfs/local/61// --with-jpeg-lib-dir=/nfs/local/61/lib/ --prefix=$DST/tiff-3.8.2
    make
    make test
    
    (Note: on T64 5.1 ar and/or ld behave strange: some symbols aren't properly archived/retrieved. Hence jpeg support omitted for the time being)
  2. mkdir -p $DST/tiff-3.8.2 
    make install
    

HP-UX

Same as Tru64, but with following configures:
                        # --disable-cxx if no C++ avail.
                        # HP-UX 9.10
configure CC="cc" CFLAGS="-O"       --disable-cxx --with-zlib--dir=/nfs/local/0910// --with-zlib-lib-dir=/nfs/local/0910/lib/ --with-jpeg--dir=/nfs/local/0910// --with-jpeg-lib-dir=/nfs/local/0910/lib/ --prefix=$DST/tiff-3.8.2
                        # HP-UX 10.20
configure CC="cc" CFLAGS="-O -Ae -D_REENTRANT -D_FILE_OFFSET_BITS=64 +z" --disable-cxx --with-zlib--dir=/nfs/local/1020// --with-zlib-lib-dir=/nfs/local/1020/lib/ --with-jpeg--dir=/nfs/local/1020// --with-jpeg-lib-dir=/nfs/local/1020/lib/ --prefix=/tmp/tiff-3.8.2

Installation & configuration


Last updated: Sat, May 18, 2013 11:19:20 PM , M.Kraemer

Impressum Data privacy protection