On Thu, 5 Mar 2009 11:54:29 +0200 Noel da Costa <[email protected]> wrote:
| Hi there, | | My server runs CentOS5.. for which there are no IM binaries. | When I first set up the server I used rpmbuild --rebuild on the | ImageMagick.src.rpm. This worked wonderfully. However, now that I need | to upgrade ImageMagick, my process isn't working... (something about | prelink -u on the rpm breaking rebuild, or vice versa - https://bugzilla.redhat.com/show_bug.cgi?id=218222) | . | | I'm not a "make" guru.. I'm honestly clueless when it comes to the | nitty gritty of Unix appliation installation (why does it have to be | so complicated). | I've tried installing ImageMagick from source before manually and I've | never succeeded... not once, even when following the instructions for | Advanced Installation. There's always some undocumented gotcha, due to | system difference. There's always a trillion dependancies that fail | and I'm never sure where the files end up or how to actually register | them with the system so that all the libraries link up together. | | What I really need is a simple way for me to keep my ImageMagic | installation up to date. | What woudl be even better is if there was a way to install multiple | versions in different locations, so that if a feature breaks in a | newer version, I can just point the app back to the old version | without pulling out all my hair. | | Is this possible? Can you help? | Multiple versions do work... I configure IM with a --prefix specifying the install directory. For example... ./configure --prefix=$HOME/apps/im \ --with-magick-plus-plus=no --with-perl=no \ --disable-static --with-modules \ ; After building and installing you modify PATH and LD_LIBRARY_PATH to use the appropriate sub-directory for the version wanted BEFORE anything else, and then that is the version you will use. For quick testing however, just make the IM as normal in the source directory, BUT DO NOT INSTALL. Instead use {source_dir}/magick.sh convert {args}... and it will run the convert command that was just built in the source directory. I do this often when making changes in the core IM library and want to test without installing all the time. Anthony Thyssen ( System Programmer ) <[email protected]> ----------------------------------------------------------------------------- God creates dinosaurs. God destroys dinosaurs. God creates man. Man destroys God. Man creates dinosaurs. Dinosaurs eat man. -- "Jurasic Park" Movie ----------------------------------------------------------------------------- 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
