linux - How do I configure/make/install against an older version of a library? -


I'm trying to install a piece of software () dependent on "Imagemagick 6.3.9+" - I installed Trying to get the latest version of ImageMagick (6.5.4-5) but when I tried to "create" moddims, then found the following error:

  mod_dims_ops.c: function 'dims_smart_crop_operation' In: mod_dims_ops.c: 34: Error: There are fewer logic to perform the work of 'Parsegravity Gemetry'. Probably the function signature image has changed somewhere between Magic 6.3.9 and the current version.  

I like to try installing moddims against the older version of ImageMagick - but I want to install ImageMagick 6.3.9 without interfering with previously installed 6.5.4-5 version .

.configure incantations I can use a) Install the old version of ImageMagic in a way that it does not write more or otherwise interfere with my modern version and b) use that older version To compile moddims

I'm on OSX but I hope to have the same problem for later when I need to install moddims on a Linux production server.

Obviously, you have to install, compile and install an earlier version of ImageMagic.

Facing this problem - especially when it is in an experimental stage (you do not know for sure that you want to keep image magic around this version) - I would:

  • Create a new directory to install Image Magic:

      / opt / imagemagick  
  • < P> Image Magic to configure 6.3.9 to install - probably:

      ./configure --prefix = / opt / ImageMagick  
    <

  • Image from before standard locations Configure moddims to see the location:

      Export LDFLAGS = -L / opt / ImageMagick / lib Export CPPFLAGS = -I / opt / ImageMagick / include ./configure .... < / Code> 
  • Check that the produced moddims code uses your preferred libr Aries:

      otool -L ... moddims-progam -or-library ... #MicOS X ldd ... moddims-program-or-library ... #Linux, etc.  

The first check is "configured when moddims compiles"; If this does not happen, you may be using the 'standard' version of the moddes header file, despite an attempt to avoid doing so.

There may also be options to specify where the image should be drawn from the Magic Library - ' ./config-help ' (and / Or 'Configure grep -i image' ').


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -