Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ImageMagick installation on Debian

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

like image 221
nKognito Avatar asked Aug 09 '12 10:08

nKognito


People also ask

Where is ImageMagick installed on Linux?

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 .


1 Answers

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.

like image 69
loptrinho Avatar answered Oct 04 '22 14:10

loptrinho