Page 1 of 1

Re: ImageMagick is installed in a local directory, doesn't work

Posted: 2008-01-10T09:47:54-07:00
by magick
Add --disabled-installed to your configure script command line and rebuild/reinstall then use the MAGICK_HOME environment variable.

Re: ImageMagick is installed in a local directory, doesn't work

Posted: 2008-01-10T16:18:07-07:00
by anthony
Note --disabled-installed configuration does install a copy of IM
What it does is tell IM to try and NOT use the system installed installed version. That is it will look for libraries and coders in the directory given by the MAGICK_HOME environment variable first. This is the recommended solution as
you only need to set that environment variable and your command PATH.

If you do not want to use this, you can still have the system installed IM and a personal IM installed together. I myself have done this.

The trick in that case is to ensure that the personal installed version has the right --prefix configuration option to install in somewhere in your home, so the binaries and libraries have the right path locations for coders and delegates. Also when running you need to ensure that PATH and LD_LIBRARY_PATH, lists your personal IM before any system version, or you will get signature mismatches and other posible odd behaviours.

Basically you need to have to do a lot more work to make sure you only use your personal version of IM and not the system version. A little harder requiring more setup, especially for scripts run from web servers, daemons, GUI, or remotely. Caution and care is needed.