Page 1 of 1
New installation complete but Old version still the default
Posted: 2009-09-09T12:30:47-07:00
by bobkohm
Have been running ImageMagick-6.2.8 and just download the source for ImageMagick-6.5.3-10
Ran through the config, make, install and check process and everything came up fine.
Convert command is still accessing 6.2.8
The origingal version was installed using YUM. A binary distribution of 6.5.3-10 is not available for my CentOS system so I tried doing it from scratch. I have obviously missed something basic. Any help would be appreciated.
Re: New installation complete but Old version still the default
Posted: 2009-09-09T14:57:42-07:00
by rmagick
If you installed the new version using the default PREFIX, then it's in /usr/local/bin. I don't know where yum installs things. Probably /usr. Anyway, find out the directory in which the old ImageMagick is installed, and then make sure that /usr/local/bin precedes that directory in your PATH. If you don't know how to do this check out some doc for your shell. If you're using bash (you probably are) then here's a good start:
http://www.comptechdoc.org/os/linux/man ... gpath.html.
Re: New installation complete but Old version still the default
Posted: 2009-09-09T22:29:55-07:00
by anthony
If you are using yum then you are better off generating a RPM package for installation to replace the system one.
See the Build notes in
http://www.imagemagick.org/Usage/api/#building
Re: New installation complete but Old version still the default
Posted: 2009-09-11T11:24:58-07:00
by bobkohm
The convert command is now finding the proper installation but am having a new issue.
convert fig5.jpg fig5.png
convert: no decode delegate for this image format `fig5.jpg' @ constitute.c/ReadImage/503.
convert: missing an image filename `fig5.png' @ convert.c/ConvertImageCommand/2772.
I had to build from the source since my server has a Parallels control panel and running CentOS 64 bit OS. The linux kernal is Linux 2.6.18-128.1.6.el5
I could not find an RPM for this version of linux. Normally I can live with the older versions of software but I need some of the newer image processing option.
Thanks in advance.
Re: New installation complete but Old version still the default
Posted: 2009-09-11T12:07:55-07:00
by fmw42
you need to install all the image type delegates that you want to use, jpg, png, tif etc
see
http://www.imagemagick.org/download/delegates/
but you may want to Google for more current versions
you can type
convert -list configure
and look at the line starting with DELEGATES to see what IM knows is installed.
I Installed quite a few manually on my Mac and my configuration shows:
DELEGATES bzlib fftw fontconfig freetype gs jpeg jng jp2 lcms lqr openexr png tiff x11 xml zlib
But you only need to install those you want to use frequently. For PDF you need ghostscript (gs) and possibly freetype. I am not too sure. But you likely want jpeg, png, tiff at least.
You may have to re-install IM afterwards. I am not sure. Try installing the delegates and then issue
convert -list configure
If they don't show up, then re-install IM.
I am not a unix expert and will defer to the IM folks for expert instructions.
Re: New installation complete but Old version still the default
Posted: 2009-09-11T12:21:34-07:00
by bobkohm
Sounds like exactly what I need to do. Thanks