Problems installing

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
castus
Posts: 7
Joined: 2011-05-17T07:19:48-07:00
Authentication code: 8675308

Problems installing

Post by castus »

Hi,

ImageMagick seems to install, but never works, as I don't think the correct libraries are installed with it, plus it only seems to have the zlib delegate.

Here is apart of the config.log

configure:27644: checking if FlashPIX package is complete
configure:27662: result: no
configure:27812: result: -------------------------------------------------------------
configure:27814: checking for FreeType 2.0
configure:27816: result:
configure:27830: checking for freetype-config
configure:27846: found /usr/local/bin/freetype-config
configure:27857: result: freetype-config
configure:27876: checking for FT_Init_FreeType in -lfreetype
configure:27901: gcc -std=gnu99 -std=gnu99 -o conftest -fopenmp -g -O2 -Wall -pthread -I/usr/local/include/freetype2 -I/usr/local/include conftest.c -lfreetype -lz -lgomp -lrt -lm -ldl -lpthread -L/usr/local/lib -lfreetype -lz >&5
configure:27901: $? = 0
configure:27910: result: yes


I can't see anything for FlashPIX in the delegates folder, and I have just installed freetype.2.4.4

Any help is appreciated.
castus
Posts: 7
Joined: 2011-05-17T07:19:48-07:00
Authentication code: 8675308

Re: Problems installing

Post by castus »

I managed to find the flashpix delegate, and installed jpeg etc too, but now I get the following with make.

collect2: ld returned 1 exit status
make[1]: *** [utilities/animate] Error 1
make[1]: Leaving directory `/root/ImageMagick-6.6.9-9'
make: *** [all] Error 2
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Problems installing

Post by anthony »

It would help to know what machine OS you are using.
Linux and MacOSX tend to install all the delegates using a software package management system of some type.

For compiling IM I would typicality install the development package of IM which will then get all the typical delegate development packages (libraries and includes). I then un install the development package leaving the other packages so I can then build my own. Makes things a lot easier.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
castus
Posts: 7
Joined: 2011-05-17T07:19:48-07:00
Authentication code: 8675308

Re: Problems installing

Post by castus »

thanks for the reply.

I'm on Unix CentOS 5.6.

I just installed the normal IM 6.6.9-9 package. I didn't see any development versions. It installed ok before, but then when I installed the extra delegates, I started getting the problem with the 'make'.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Problems installing

Post by anthony »

Where did you get a CentOS version? Last I heard CentOS was way behind on IM version offered.

In any case you may need to look for the development versions of the delegate libraries you need.
This is my own list...

freetype-devel ghostscript-devel libwmf-devel jasper-devel lcms-devel bzip2-devel librsvg2 librsvg2-devel
liblpr-1 liblqr-1-devel libtool-ltdl-devel autotrace-devel

Note liblpr-1 and autotrace are optional and something I specifically need in my IM for generating IM Examples
Many delegates are actually optional, if not present the appropriate image file coder that uses that delegate is just not included.

The above list is from Building RPM's from source
http://www.imagemagick.org/Usage/api/#building
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
castus
Posts: 7
Joined: 2011-05-17T07:19:48-07:00
Authentication code: 8675308

Re: Problems installing

Post by castus »

I installed it from the links on here > http://www.imagemagick.org/script/insta ... e.php#unix
castus
Posts: 7
Joined: 2011-05-17T07:19:48-07:00
Authentication code: 8675308

Re: Problems installing

Post by castus »

All I am wanting to do is create a pdf preview image. Like how it's mentioned here > http://www.webvamp.co.uk/blog/coding/ho ... es-in-php/

And whereas I first installed IM it seemed to work, but when I tried convert or even disply, it kept throwing up errors. And only showed zlib delegate to be installed.

So I installed some of the delegates from http://www.imagemagick.org/download/delegates/ then I got the problem with the make.

I'll try installing a few of what you have mentioned and see what happens. Thanks.
castus
Posts: 7
Joined: 2011-05-17T07:19:48-07:00
Authentication code: 8675308

Re: Problems installing

Post by castus »

I've just tried installing on another server - with Fedora 8. And it worked straight away. Think I'll leave the CentOS unless absolutely neccessary.

Thanks for your help.
Post Reply