AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2001.06.21 22:07 "AIX DSO support", by John Marquart
2001.06.22 20:42 "AIX DSO support (fwd)", by John Marquart
2001.06.22 21:22 "Re: AIX DSO support (fwd)", by Frank Warmerdam
2001.06.22 21:53 "Re: AIX DSO support (fwd)", by John Marquart

2001.06.22 20:42 "AIX DSO support (fwd)", by John Marquart

Ppl:

I am unsure if this was posted yesterday due to problems getting my list membership confirmed. I wanted to respond to my own question w/ a solution.

By modifying the "configure" script - I was able to build the tools such that they no longer looked for "../libtiff/libtiff.a" but instead searched the LIBPATH. here follows the patch necessary. I would appreciate it if the maintainers could verify/add it to the CVS repository - so that future ppl like me don't get bitten. Also many thanks for fixing (in 3.5.7-alpha?) the problem w/ int8, int16, int32 being redefined by tiff.h - it is greatly appreciated.

-----SNIP-----

diff -c tiff-v3.5.7-alpha.orig/configure tiff-v3.5.7-alpha.new/configure
*** tiff-v3.5.7-alpha.orig/configure    Fri May 11 22:11:59 2001
--- tiff-v3.5.7-alpha.new/configure     Fri Jun 22 12:23:20 2001
***************
*** 504,510 ****
         no-*-irix*)     C_ANSI="-ansi";;
        no-*-hp*)       C_ANSI="-D_HPUX_SOURCE";;
       no-*-apollo-*)  C_ANSI="-A nansi";;
!    no-*-aix*)      C_ANSI="-Dunix -qlanglvl=ansi -qsrcmsg";;
       *-sco*)         C_ANSI="-Dsco";;
        esac
      else
--- 504,510 ----
          no-*-irix*)     C_ANSI="-ansi";;
        no-*-hp*)       C_ANSI="-D_HPUX_SOURCE";;
       no-*-apollo-*)  C_ANSI="-A nansi";;
!    no-*-aix*)      C_ANSI="-Dunix -qlanglvl=ansi -qsrcmsg -qmaxmem=8192";;
         *-sco*)         C_ANSI="-Dsco";;
        esac
      else
***************
*** 1136,1141 ****
--- 1136,1142 ----
       DSOOPTS='-r'
    LIBCOPTS="-bM\:SRE"
     DSO=AIX
+        TIFFLIBREF='-L${DEPTH}/libtiff -ltiff'
          ;;
      *-hpux*yes)
          DSOSUF=sl

-----SNIP-----

-jjm