Page 1 of 1

Amazon Linux ImageMagick with AutoTrace

Posted: 2017-01-18T17:41:41-07:00
by augr
I am transitioning my server to Amazon Linux and can't for the life of me figure out how to remove the dependency to an old version of ImageMagick from Autotrace before I make everything for install.

Specifically, I am using AT only for its vector capabilities.

Any advice would be much appreciated!

Re: Amazon Linux ImageMagick with AutoTrace

Posted: 2017-01-19T05:20:02-07:00
by snibgo
Sadly, autotrace seems to be no longer maintained. Perhaps not much work would be needed to make it work with recent IM versions.

A workaround kludge is:

Code: Select all

./configure --without-magick
At the top of input.c, insert:

Code: Select all

#define HAVE_MAGICK 0
Then:

Code: Select all

make
The result is a working version of autotrace.

Re: Amazon Linux ImageMagick with AutoTrace

Posted: 2017-01-20T21:36:51-07:00
by augr
Thanks snibgo. I tried your suggestion and I didn't get any errors.

Unfortunately ImageMagic's value for autotrace is still no after I configure.

Code: Select all

make ./configure --with-autotrace=yes 
Perhaps there are other dependencies I need to install or remove?

Re: Amazon Linux ImageMagick with AutoTrace

Posted: 2017-01-20T23:13:50-07:00
by fmw42
Do you know that autotrace works standalone? If not, check the install (config.log) of autotrace to see if there are any errors?

Re: Amazon Linux ImageMagick with AutoTrace

Posted: 2017-01-21T09:02:35-07:00
by snibgo
You want to use autotrace as an internal delegate to IM? Okay. I've never done that. I don't know if it is possible with the hack I gave above (which builds autotrace without IM).

Re: Amazon Linux ImageMagick with AutoTrace

Posted: 2017-01-21T12:57:08-07:00
by augr
Yes it would be a delegate to IM. I've done it before but completely forgot how I set it up.

Does anyone know which version of IM AT references? I can just use that and be done with it - hopefully.

Re: Amazon Linux ImageMagick with AutoTrace

Posted: 2017-01-21T14:02:19-07:00
by snibgo
Hmm. Using a very old version of IM because AutoTrace (which is very old) requires it will probably cause problems in the future.

Why do you want AutoTrace as an internal delegate? It works fine as an external delegate (ie with an entry in delegates.xml).

Re: Amazon Linux ImageMagick with AutoTrace

Posted: 2017-01-22T18:19:24-07:00
by anthony
The following was extracted from my personal notes on creating a autotrace package for fedora

Basically I wanted to remove its dependency on imagemagick and pstoedit -- neither of which it really needs.
Other than creating a replacement 'package' for fedora, without those dependancys the notes boiled down to
just adding the configure options --without-magick --without-pstoedit