blob: faf13af6a8e7536a1869a5fe7ed9750344e6999a [file] [log] [blame]
cristy3ed852e2009-09-05 21:47:34 +00001Mac OS X-specific Build instructions
cristyebe41ab2010-01-14 02:58:18 +00002
3 Perform these steps as an administrator or with the sudo command:
4
5 Install MacPorts. Download and install http://www.macports.org/ and type the
6 following commands:
7
8 $magick> sudo port -v install freetype +bytecode
9 $magick> sudo port -v install librsvg
cristy64da4432014-10-06 15:49:07 +000010 $magick> sudo port -v install graphviz +gs +wmf +jbig +jpeg2 +lcms
cristyebe41ab2010-01-14 02:58:18 +000011
12 This installs many of the delegate libraries ImageMagick will utilize such as
13 JPEG and FreeType.
14
15 Install the latest Xcode from Apple.
16
17 Use the port command to install any delegate libraries you require, for example:
18
19 $magick> sudo port install jpeg
20
21 Now lets build ImageMagick:
22
23 Download the ImageMagick source distribution and verify the distribution
24 against its message digest.
25
26 Unpack and change into the top-level ImageMagick directory:
27
28 $magick> tar xvfz ImageMagick-6.5.9-0.tar.gz $magick> cd ImageMagick-6.5.9
29
30 Configure ImageMagick:
31
32 $magick> ./configure --prefix=/opt --with-quantum-depth=16 \
33 --disable-dependency-tracking --with-x=yes \
34 --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib/ \
35 --without-perl
36
37 Build ImageMagick:
38
39 $magick> make
40
41 Install ImageMagick:
42
43 $magick> sudo make install
44
45 To verify your install, type
46
47 $magick> /opt/local/bin/identify -list font
48
49 to list all the fonts ImageMagick knows about.
50
51 To test the ImageMagick GUI, in a new shell, type:
52
53 $magick> display -display :0