John J Foerch on wrote...
| Hello,
|
| What is a good way to install multiple versions of the imagemagick
| command line tools on a debian machine? For example, to install the
| current version as the main one, but also have an old version
| available for regression testing of scripts, or to have a Q16 version
| available as an alternate for experimentation with 16 bit images. It
| would be okay to either install them to the system with changed
| executable names (e.g. convert-q16) or to have them in other
| directories, as long as I could set some environment variables to
| switch between versions.
|
| Any ideas?
|
| Thank you,
| John Foerch
|
I have done this but it is not straightforward.
I have had a system install version of ImageMagick (usally an old one
that is from that linux systems repository), and a second one I have
buid with a specific 'prefix'.
The tricky part is that when you want to use a specific version
you build that version yourself using a
configure --prefix=/install/directory
And install it into that directory.
Then when you want to use it you not only call the right executable
(generally set by having the right 'PATH' variable) but that the
executable finds the right library (as per the 'LD_LIBRARY_PATH')
That is the IM you are using finds all its own specific binaries,
libraries, and coders (from the configuration).
If you then want to use a different IM you change the PATH and
LD_LIBRAY_PATH to a different installed version.
DO NOT MIX THEM!
See the Archeture notes on the IM web site, and my own raw notes
in http://www.cit.gu.edu.au/~anthony/info/graphics/imagemagick.hints
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
Now we make our own magic!
Now we create our own legends!
We build the future.
Now we stop -- being afraid of Shadows! -- Babylon 5, "Into the Fire"
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users