summaryrefslogtreecommitdiff
path: root/Install-mac.txt
diff options
context:
space:
mode:
authorcristy <urban-warrior@git.imagemagick.org>2009-09-05 21:47:34 +0000
committercristy <urban-warrior@git.imagemagick.org>2009-09-05 21:47:34 +0000
commit3ed852eea50f9d4cd633efb8c2b054b8e33c2530 (patch)
tree02825a47137626849f8f6d9c486ea1587186f5ca /Install-mac.txt
downloadImageMagick-3ed852eea50f9d4cd633efb8c2b054b8e33c2530.tar.gz
Diffstat (limited to 'Install-mac.txt')
-rw-r--r--Install-mac.txt55
1 files changed, 55 insertions, 0 deletions
diff --git a/Install-mac.txt b/Install-mac.txt
new file mode 100644
index 000000000..f3e26ec7b
--- /dev/null
+++ b/Install-mac.txt
@@ -0,0 +1,55 @@
+Mac OS X-specific Build instructions
+
+Perform these steps as an administrator or with the sudo command:
+
+ * Install Fink. The default setup creates a /sw folder on your main hard
+ * drive. Make sure /sw/bin is in your path.
+ * Install the latest Xcode from Apple.
+ * Create a symbolic link in /Developer/SDKs/MacOSX10.4u.sdk/ to /sw:
+
+ cd /Developer/SDKs/MacOSX10.4u.sdk
+ ln -s sw /sw
+
+ * Use Fink, or FinkCommander to install any delegate libraries you
+ * require, for example:
+
+ fink install libjpeg
+
+As a regular user or administrator:
+
+ * Download the ImageMagick source distribution.
+ * Unpack and change into the top-level ImageMagick directory:
+
+ tar xvfz ImageMagick-6.3.3-0.tar.gz
+ cd ImageMagick-6.3.3
+
+ * Choose an architecture and set your CFLAGS environment variable. Here we
+ * set CFLAGS for an Intel build:
+
+ export CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk/ -arch i386 -I/sw/include/"
+
+ * Set your LDFLAGS environment variable to:
+
+ export
+LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk/,-L/sw/lib/"
+
+ * Configure ImageMagick:
+
+ ./configure --prefix=/sw --with-quantum-depth=16 \
+ --disable-dependency-tracking --with-x=yes \
+ --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib \
+ --without-perl
+
+ * Build ImageMagick:
+
+ make
+
+ * Install ImageMagick:
+
+ sudo make install
+
+ * To test the ImageMagick GUI, start X11 and in a new shell and type:
+
+ display -display :0
+
+