On Mon, 10 May 2010 17:23:47 -0700
[email protected] wrote:

| > If I do the above is it going to overwrite the current install or prompt
| 
| Add --prefix to your configure script command line.
|

I do this for a HDRI version of IM.

I build it with a --prefix to install in a specific location.

I then use a script called 'hdri' to call this version of IM

=======8<--------CUT HERE----------axes/crowbars permitted---------------
#!/bin/sh
#
#   hdri imagemagick_command....
#
# Run the HDRI version of imagemagick (or other personal installed IM)
#
###
#
#  Anthony Thyssen      1 July 2009
#

# Where is the HDRI version of IM stored (configure --prefix setting)
export MAGICK_HOME=/opt/im_hdri

# Yes these are still necessary - especially if MAGICK_HOME has moved
# from where IM was installed using configure --prefix
#
# The LD_LIBRARY_PATH is especially important to get the right library.
#
# However the PATH does not help IM find the "show:" delegate!
# That is the location of "display" is hardcoded in the show delegate!
# As such if the MAGICK_HOME directory is moved "show:" will fail
# unless I remove the path from the "delegate.xml" file and add the
# following environment variables.
#
export PATH="$MAGICK_HOME/bin:$PATH"
export LD_LIBRARY_PATH="$MAGICK_HOME/lib:$LD_LIBRARY_PATH"

# Execute the HDRI version of the command
exec "$@"

=======8<--------CUT HERE----------axes/crowbars permitted---------------

now I cane use

  hdri convert ....

to use that version of IM.




  Anthony Thyssen ( System Programmer )    <[email protected]>
 --------------------------------------------------------------------------
  Windows Multitasking :- Start a download, Get a Coke, Fly a kite.
 --------------------------------------------------------------------------
   Anthony's Castle     http://www.cit.griffith.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users
  • ... da . mihi . sis . bubulae . frustrum . assae . solana . tuberosa . in . modo . gallico . fricta . ac . quassum . lactatum . coagulatum . crassum
    • ... Bob Meetin
      • ... Anthony Thyssen
    • ... da . mihi . sis . bubulae . frustrum . assae . solana . tuberosa . in . modo . gallico . fricta . ac . quassum . lactatum . coagulatum . crassum
      • ... Anthony Thyssen
        • ... Bob Meetin
          • ... Anthony Thyssen
            • ... Steven Matison

Reply via email to