ImageMagick / ImageMagick6

🧙‍♂️ ImageMagick 6
https://legacy.imagemagick.org
Other
194 stars 80 forks source link

ImageMagick requires libtiff 4.0.3+ since 6.9.12-19 #289

Open nradchenko opened 7 months ago

nradchenko commented 7 months ago

ImageMagick version

6.9.12-19

Operating system

Linux

Operating system, version and so on

Ubuntu 12.04

Description

After commit f4feb3e, libtiff version 4.0.3 and onward is required (see changelog entry).

coders/tiff.c: In function 'TIFFSetProfiles':
coders/tiff.c:2930:11: error: unknown type name 'TIFFField'
coders/tiff.c:2942:14: warning: assignment from incompatible pointer type [enabled by default]
coders/tiff.c:2943:9: warning: implicit declaration of function 'TIFFFieldDataType' [-Wimplicit-function-declaration]
coders/tiff.c: In function 'TIFFIgnoreTags':
coders/tiff.c:2158:5: warning: ignoring return value of 'strtol', declared with attribute warn_unused_result [-Wunused-result]
make[1]: *** [coders/magick_libMagickCore_6_Q16_la-tiff.lo] Error 1
make[1]: Leaving directory `/build/tmp-build/6.9.12-19/ImageMagick6-6.9.12-19'
make: *** [all] Error 2

My suggestion is to fix configure scripts to require a recent version of libtiff.

Maintaining a backward compatibility is also welcome, in case if legacy ImageMagick version is targeted for legacy systems :smile:

Steps to Reproduce

Try to build ImageMagick 6.9.12-19 for an older system, mine is Ubuntu 12.04 with libtiff 3.9.5.

Images

No response

dlemstra commented 7 months ago

Since version 4.0.3 was released 11 years ago I think we should change the minimum required version to 4.0.3.