make issue with tiff-3.8.2

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
LangeNet

make issue with tiff-3.8.2

Post by LangeNet »

I'm trying to add tiff support and during the make, I get the following:


libtool: link: ( cd ".libs" && rm -f "libtiff.la" && ln -s "../libtiff.la" "libtiff.la" )
source='tif_stream.cxx' object='tif_stream.lo' libtool=yes DEPDIR=.deps depmode=none /bin/ksh ../config/depcomp /bin/ksh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I. -c -o tif_stream.lo tif_stream.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I. -c tif_stream.cxx
../libtool[11]: g++: not found
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.

Can someone help with this please?

Regards,

Robert
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: make issue with tiff-3.8.2

Post by magick »

How was libtiff installed on your system? It looks like it was build with a C++ compiler but there is none on your system. To fix, install g++ or rebuild/reinstall the TIFF delegate library and make sure its compiled with an ANSI C compiler rather than a C++ compiler.
LangeNet

Re: make issue with tiff-3.8.2

Post by LangeNet »

I'm not sure. I've untar'd the kit and made the assumption that all required was included. There is a libtiff directory but I didn't install anything. Should I have? If so how? I'm quite novice with this and would appreciate any help anyone could offer.The system is running Tru64 v5.1b on AlphaServer DS25.
I have installed the base ImageMagick application and again, make the assumption that any optional image components need to be added once the base is installed and configured.

Again, any help would be greatly appreciated.

Robert
LangeNet

Re: make issue with tiff-3.8.2

Post by LangeNet »

bump...
please can someone help with this?

When I run configure I get the following:
Libtiff is now configured for alphaev68-dec-osf5.1b

Installation directory: /usr/local
Documentation directory: ${prefix}/share/doc/tiff-3.8.2
C compiler: cc -g
C++ compiler: g++
Enable runtime linker paths: no
Support Microsoft Document Imaging: yes

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
LangeNet

Re: make issue with tiff-3.8.2

Post by LangeNet »

I'm trying to build without C++ but can't seem to force configure not to use C++
I've set CC=/usr/bin/cc, CCX="" to no avail.
Here's what configure outputs despite my attemp to just use the C compiler.

Libtiff is now configured for alphaev68-dec-osf5.1b

Installation directory: /usr/local
Documentation directory: ${prefix}/share/doc/tiff-3.8.2
C compiler: /usr/bin/cc -g
C++ compiler: cc
Enable runtime linker paths: no
Support Microsoft Document Imaging: yes

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
Post Reply