I am trying to install an ImageMagick library on Debian. After downloading unpacking the package I run ./configure command (in the ImageMagick directory and under the root) and it fails with some errors (in the config.log):
conftest.c:14:28: error: ac_nonexistent.h: No such file or director
conftest.c:79: error: expected ';', ',' or ')' before 'text'
conftest.c: In function 'main':
conftest.c:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
conftest.c:133: error: 'newvar' undeclared (first use in this function)
conftest.c:133: error: (Each undeclared identifier is reported only once
conftest.c:133: error: for each function it appears in.)
What I am doing wrong? Thank you
UPD: version 6.7.8-8
By default, ImageMagick is installs binaries in /../usr/local/bin , libraries in /../usr/local/lib , header files in /../usr/local/include and documentation in /../usr/local/share . You can specify an alternative installation prefix other than /../usr/local by giving configure the option --prefix=PATH .
Instead of downloading and configuring the package yourself you could try the following (in console):
aptitude update && aptitude install imagemagick
It's quite a time since I have used debian, but I think this should work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With