Build with old TIFF

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
zofer
Posts: 1
Joined: 2011-11-14T00:44:23-07:00
Authentication code: 8675308

Build with old TIFF

Post by zofer »

I am using RHEL4 that has libtiff-3.6.1-12.el4_8.4 installed. Although this is an old distro and an old version of libtiff, we are obliged to use it.

When configuring the latest version of ImageMagick with the tiff option the test for TIFFIsBigEndian for fails, which is ok for this libtiff version. Alas, failure of this test fails the tiff support for incomplete package.

Looking around in the posts, it was suggested in previous versions to comment out the relevant call in coders/tiff.c.

It seems a reasonable suggestion as this is not a major issue.

The problem I am facing is that I cannot make automatic builds of recent ImageMagick versions with my older env, that do contain tiff support.

I suggest to either make this part of the code depends on the presence of TIFFIsBigEndian and/or add a replacement code that performs this check, and remove the dependency between the existence of it and the completeness of tiff check.

I think this is the a main concept in using configure prior to build, so the most appropriate code is used, while taking the chance that some of the functionality will not work with old dependent packages.

Needless to say, this will resolve the conflict I have... :)
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Build with old TIFF

Post by magick »

We'll get a patch into the next point release to fix the problem you reported. Thanks.
Post Reply