Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageMagick requires libtiff 4.0.3+ since 6.9.12-19 #289

Open
nradchenko opened this issue Nov 22, 2023 · 1 comment
Open

ImageMagick requires libtiff 4.0.3+ since 6.9.12-19 #289

nradchenko opened this issue Nov 22, 2023 · 1 comment

Comments

@nradchenko
Copy link

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 😄

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants