Page 1 of 1

Install from source on Mojave

Posted: 2019-03-31T19:18:54-07:00
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

Re: Install from source on Mojave

Posted: 2019-03-31T21:15:30-07:00
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