Install from source on Mojave

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
stonesteps
Posts: 5
Joined: 2019-03-31T19:12:05-07:00
Authentication code: 1152

Install from source on Mojave

Post by stonesteps »

Aloha. I am trying to install IM from source (and delegates from source). I do not want to use homebrew or ports. I successfully compiled IM but it is not finding any of the delegates I've also compiled and installed but I can't figure out why they are not found.

Anyone have any insight into what environment variables my be helpful or wrong? Here's what it sees:

Code: Select all

 Delegate Program Configuration:
  GhostPCL          None                                pcl6 (unknown)
  GhostXPS          None                                gxps (unknown)
  Ghostscript       None                                gs (9.23)

  Font Configuration:
  Apple fonts       --with-apple-font-dir=default
  Dejavu fonts      --with-dejavu-font-dir=default      none
  Ghostscript fonts --with-gs-font-dir=default  /usr/local/share/ghostscript/fonts/
  URW-base35 fonts  --with-urw-base35-font-dir=default  none
  Windows fonts     --with-windows-font-dir=default     none

  X11 Configuration:
        X_CFLAGS        =  -I/usr/X11/include
        X_PRE_LIBS      =  -lSM -lICE
        X_LIBS          =  -L/usr/X11/lib
        X_EXTRA_LIBS    =

  Options used to compile and link:
    PREFIX          = /Users/hellyj/src/ImageMagick-7.0.8-35/build
    EXEC-PREFIX     = /Users/hellyj/src/ImageMagick-7.0.8-35/build
    VERSION         = 7.0.8
    CC              = gcc
    CFLAGS          =   -g -O2 -Wall -mtune=ivybridge -fexceptions -D_FORTIFY_SOURCE=0 -pthread -DMAGICKCORE_HDRI_ENABLE=1 \
-DMAGICKCORE_QUANTUM_DEPTH=16
    CPPFLAGS        =   -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16  -I/usr/X11/include
    PCFLAGS         =
    DEFS            = -DHAVE_CONFIG_H
    LDFLAGS         =   -L/usr/X11/lib
    LIBS            =                      -lXext -lXt   -lSM -lICE -lX11   -lbz2             -lm
    CXX             = g++
    CXXFLAGS        =  -pthread
    FEATURES        = DPC HDRI Cipher
    DELEGATES       = bzlib mpeg ps x
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Install from source on Mojave

Post by fmw42 »

You have to install all the delegates manually first. The way I do it, is that I install all delegates from MacPorts, but then install ImageMagick from source. See https://www.imagemagick.org/discourse-s ... =1&t=29100
Post Reply