Building v7 legacy under Cygwin

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Building v7 legacy under Cygwin

Post by snibgo »

I wanted to build IM v7.0.1-0 with legacy programs under Cygwin, so my ./configure was this, as reported in config.log:

Code: Select all

  $ ./configure --prefix=/home/Alan/imdevins7010 --with-quantum-depth=32 --enable-hdri --with-rsvg=yes --with-windows-font-dir=/cygdrive/c/Windows/Fonts --enable-docs --with-modules --enable-legacy-support
However, the only program that was built was magick.exe.

"grep -i legacy config.log" gives:

Code: Select all

  $ ./configure --prefix=/home/Alan/imdevins7010 --with-quantum-depth=32 --enable-hdri --with-rsvg=yes --with-windows-font-dir=/cygdrive/c/Windows/Fonts --enable-docs --with-modules --enable-legacy-support

CONFIGURE_ARGS='./configure  '\''--prefix=/home/Alan/imdevins7010'\'' '\''--with-quantum-depth=32'\'' '\''--enable-hdri'\'' '\''--with-rsvg=yes'\'' '\''--with-windows-font-dir=/cygdrive/c/Windows/Fonts'\'' '\''--enable-docs'\'' '\''--with-modules'\'' '\''--enable-legacy-support'\'''

LEGACY_SUPPORT_FALSE='#'
LEGACY_SUPPORT_TRUE=''
Am I doing something wrong? How do we build the legacy programs under Cygwin?
snibgo's IM pages: im.snibgo.com
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Building v7 legacy under Cygwin

Post by magick »

When you type 'make install', the other programs magically appear in /usr/local/bin. Alternatively you can just use the magick program, for example, magick identify logo:.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Building v7 legacy under Cygwin

Post by snibgo »

I specified "--prefix=/home/Alan/imdevins7010", so files went in there, not /usr/local/bin.

Using Windows "dir", I expected to see files like magick.exe and convert.exe. Magick was there but convert etc weren't.

It turns out that convert.exe and so on are there, but they are "system" files (merely symbolic links) so don't show in ordinary "dir" commands.

So, panic over, thanks.
snibgo's IM pages: im.snibgo.com
Post Reply