2005.02.28 22:19 "[Tiff] tiff 3.7.1 does not compile on AIX", by Tony Bennett

2005.02.28 22:19 "[Tiff] tiff 3.7.1 does not compile on AIX", by Tony Bennett

Platform:       AIX 5.1
C Compiler:     xlc     ( IBM's "C for AIX" compiler)
C++ Compiler:   none

Configure command:

                CC=xlc  ./configure \
                --prefix=/usr/local/dms \
                        '--disable-cxx'    \
                        --disable-shared \
                        --enable-static

Note: --disable-cxx based upon this posting: http://www.asmail.be/msg0054883561.html

This does not appear to disable an attempt to build tif_stream.cxx.

Here is a summary following running the above configure:

                Libtiff is now configured for powerpc-ibm-aix5.1.0.0

                  Installation directory:            /usr/local/dms
                  C compiler:                        xlc -g
                  C++ compiler:                      g++
                  Enable runtime linker paths:       no

                 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:                      no
                  Pixar log-format algorithm:        no
                  JPEG support:                      no
                  Old JPEG support:                  no

                  C++ support:                       yes

                  OpenGL support:                    no

Here is the end of running "make":

                        source='tif_zip.c' object='tif_zip.lo' libtool=yes  DEPDIR=.deps depmode=aix /bin/sh ../depc
                omp  /bin/sh ../libtool --tag=CC --mode=compile xlc -DHAVE_CONFIG_H  -I. -I. -I. -I.      -g -c -o t
                if_zip.lo tif_zip.c
                 xlc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -c -M tif_zip.c -o tif_zip.o
                        source='tif_stream.cxx' object='tif_stream.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/s
                h ../depcomp  /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H  -I. -I. -I. -I.
                 -c -o tif_stream.lo tif_stream.cxx
                 g++ -DHAVE_CONFIG_H -I. -I. -I. -I. -c tif_stream.cxx
                ../libtool[1158]: g++:  not found
                make: 1254-004 The error code from the last command is 1.


                Stop.
                make: 1254-004 The error code from the last command is 2.


                Stop.
                make: 1254-004 The error code from the last command is 1.


                Stop.

Does anyone have any recommendations???

Thanks,

-tony