cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | Mac OS X-specific Build instructions |
cristy | ebe41ab | 2010-01-14 02:58:18 +0000 | [diff] [blame] | 2 | |
| 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 |
| 10 | $magick> sudo port -v install +graphviz +gs +wmf +jbig +jpeg2 +lcms |
| 11 | |
| 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 |