]> granicus.if.org Git - imagemagick/blob - www/advanced-unix-installation.html
51ca2eb3ac57cff42afe6a816bcfaf6c3636ded2
[imagemagick] / www / advanced-unix-installation.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
2   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html version="-//W3C//DTD XHTML 1.1//EN"
4       xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
5       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6       xsi:schemaLocation="http://www.w3.org/1999/xhtml
7                           http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd">
8 <head>
9   <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
10   <meta name="google-site-verification" content="MxsMq6bdLOx0KSuz1MY6yG9ZTIJ7_7DVRfl5NCAT5Yg"/>
11   <title>ImageMagick: Advanced Unix Source Installation</title>
12   <meta http-equiv="content-language" content="en-US"/>
13   <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
14   <meta http-equiv="reply-to" content="magick-users@imagemagick.org"/>
15   <meta name="application-name" content="ImageMagick"/>
16   <meta name="description" content="Use ImageMagick to convert, edit, or compose bitmap images in a variety of formats.  In addition resize, rotate, shear, distort and transform images automagically."/>
17   <meta name="application-url" content="http://www.imagemagick.org"/>
18   <meta name="generator" content="PHP"/>
19   <meta name="keywords" content="advanced, unix, source, installation, ImageMagick, PerlMagick, image processing, OpenMP, software development library, image, photo, software, Magick++, MagickWand"/>
20   <meta name="rating" content="GENERAL"/>
21   <meta name="robots" content="INDEX, FOLLOW"/>
22   <meta name="generator" content="ImageMagick Studio LLC"/>
23   <meta name="author" content="ImageMagick Studio LLC"/>
24   <meta name="revisit-after" content="2 DAYS"/>
25   <meta name="resource-type" content="document"/>
26   <meta name="copyright" content="Copyright (c) 1999-2012 ImageMagick Studio LLC"/>
27   <meta name="distribution" content="Global"/>
28   <link rel="icon" href="../images/wand.png"/>
29   <link rel="shortcut icon" href="../images/wand.ico"  type="images/x-icon"/>
30   <link rel="canonical" href="http://www.imagemagick.org" />
31   <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"/>
32   <!-- Add jQuery library -->
33   <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
34   
35   <!-- Optionaly include easing and/or mousewheel plugins -->
36   <script type="text/javascript" src="http://www.imagemagick.org/fancybox/jquery.easing-1.3.pack.js"></script>
37   <script type="text/javascript" src="http://www.imagemagick.org/fancybox/jquery.mousewheel-3.0.6.pack.js"></script>
38   
39   <!-- Add fancyBox -->
40   <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/jquery.fancybox.css?v=2.0.4" type="text/css" media="screen" />
41   <script type="text/javascript" src="http://www.imagemagick.org/fancybox/jquery.fancybox.pack.js?v=2.0.4"></script>
42   
43   <!-- Optionaly include button and/or thumbnail helpers -->
44   <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-buttons.css?v=2.0.4" type="text/css" media="screen" />
45   <script type="text/javascript" src="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-buttons.js?v=2.0.4"></script>
46   
47   <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-thumbs.css?v=2.0.4" type="text/css" media="screen" />
48   <script type="text/javascript" src="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-thumbs.js?v=2.0.4"></script>
49   <script type="text/javascript">
50         $(document).ready(function() {
51                 $(".fancybox").fancybox();
52         });
53   </script>
54   <!-- ImageMagick style -->
55   <link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
56   <style type="text/css" media="all">
57     @import url("../www/magick.css");
58   </style>
59 </head>
60
61 <body id="www-imagemagick-org">
62 <div class="titlebar">
63 <div style="margin: 17px auto; float: left;">
64   <script type="text/javascript">
65   <!--
66     google_ad_client = "pub-3129977114552745";
67     google_ad_slot = "5439289906";
68     google_ad_width = 728;
69     google_ad_height = 90;
70   //-->
71   </script>
72   <script type="text/javascript"
73     src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
74   </script>
75 </div>
76 <a href="../discourse-server">
77   <img src="../images/logo.jpg"
78   alt="ImageMagick Logo"
79   style="width: 123px; height: 118px; border: 0px; float: right;" /></a>
80 <a href="../index.html">
81   <img src="../images/sprite.jpg"
82   alt="ImageMagick Sprite"
83   style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
84 </div>
85
86 <div class="westbar">
87
88 <div class="menu">
89   <a title="About ImageMagick" href="../index.html">About ImageMagick</a>
90 </div>
91 <div class="menu">
92   <a title="Binary Releases" href="binary-releases.html">Binary Releases</a>
93 </div>
94 <div class="sub">
95     <a title="Binary Release: Unix" href="binary-releases.html#unix">Unix</a>
96 </div>
97 <div class="sub">
98     <a title="Binary Release: MacOS X" href="binary-releases.html#macosx">Mac OS X</a>
99 </div>
100 <div class="sub">
101     <a title="Binary Release: iOS" href="binary-releases.html#iOS">iOS</a>
102 </div>
103 <div class="sub">
104     <a title="Binary Release: Windows" href="binary-releases.html#windows">Windows</a>
105 </div>
106 <div class="sep"></div>
107 <div class="menu">
108   <a title="Command-line Tools" href="command-line-tools.html">Command-line Tools</a>
109 </div>
110 <div class="sub">
111     <a title="Command-line Tools: Processing" href="command-line-processing.html">Processing</a>
112 </div>
113 <div class="sub">
114     <a title="Command-line Tools: Options" href="command-line-options.html">Options</a>
115 </div>
116 <div class="sub">
117     <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
118 </div>
119 <div class="menu">
120   <a title="Program Interfaces" href="api.html">Program Interfaces</a>
121 </div>
122 <div class="sub">
123     <a title="Program Interface: MagickWand" href="magick-wand.html">MagickWand</a>
124 </div>
125 <div class="sub">
126     <a title="Program Interface: MagickCore" href="magick-core.html">MagickCore</a>
127 </div>
128 <div class="sub">
129     <a title="Program Interface: PerlMagick" href="perl-magick.html">PerlMagick</a>
130 </div>
131 <div class="sub">
132     <a title="Program Interface: Magick++" href="magick++.html">Magick++</a>
133 </div>
134 <div class="sep"></div>
135 <div  class="menu">
136    <a title="Install from Source" href="install-source.html">Install from Source</a>
137 </div>
138 <div class="sub">
139     <a title="Install from Source: Unix" href="install-source.html#unix">Unix</a>
140 </div>
141 <div class="sub">
142     <a title="Install from Source: Windows" href="install-source.html#windows">Windows</a>
143  </div>
144 <div class="menu">
145   <a title="Resources" href="resources.html">Resources</a>
146 </div>
147 <div class="menu">
148   <a title="Architecture" href="architecture.html">Architecture</a>
149 </div>
150 <div class="menu">
151   <a title="Download" href="download.html">Download</a>
152 </div>
153 <div class="sep"></div>
154 <div class="menu">
155   <a title="Search" href="search.html">Search</a>
156 </div>
157 <div class="sep"></div>
158 <div class="menu">
159   <a title="Site Map" href="sitemap.html">Site Map</a>
160 </div>
161 <div  class="sub">
162   <a title="Site Map: Links" href="links.html">Links</a>
163 </div>
164 <div class="sep"></div>
165 <div class="menu">
166   <a rel="follow" title="Sponsors" href="sponsors.html">Sponsors:</a>
167
168   <a href="http://www.networkredux.com"> <img src="../images/networkredux.png" width="140" height="31" alt="[sponsor]" style="margin-top: 4px; margin-left: 4px; border: 0px; float: left;" /></a>
169   <a href="http://www.dinodirect.com/ipads-tablets/"> <img src="../images/dino-direct.jpg" width="140" height="90" alt="[sponsor]" style="margin-top: 4px; margin-left: 4px; border: 0px; float: left;" /></a><!-- 201208010120 mickey@163... -->
170 <div class="sponsbox">
171 <div class="sponsor">
172   <a rel="follow" title="Sponsor: The Fastest &amp; Easiest Way to Find Images" href="http://www.graphicsfactory.com">The Fastest &amp; Easiest Way to Find Images</a><!-- 201210010270 graphicsfac... -->
173 </div>
174 <div class="sponsor">
175   <a rel="follow" title="Sponsor: VPS" href="http://www.interdominios.com/vps">VPS</a><!-- 201209010090 barsh@inter... -->
176 </div>
177 <div class="sponsor">
178   <a rel="follow" title="Werbebanner Werbeplane" href="http://www.allesbanner.de">Werbebanner Werbeplane</a><!-- 201212010450 info@druck... -->
179 </div>
180 <div class="sponsor">
181   <a rel="follow" title="Entertainment News &amp; Photos" href="http://www.zimbio.com">Entertainment News &amp; Photos</a><!-- 201211010540 bd@zimb... -->
182 </div>
183 <div class="sponsor">
184   <a rel="follow" title="Sponsor: LED24" href="http://led24.de/">LED24</a><!-- 201207010270 info@led24... -->
185 </div>
186 <div class="sponsor">
187   <a rel="follow" title="Sponsor: Best Website Hosting" href="http://www.top-cheap-web-hosting.com">Best Website Hosting</a><!-- 201304010090 eunge.liu-->
188 </div>
189 <div class="sponsor">
190   <a rel="follow" title="Android Tablet" href="http://www.dinodirect.com/ipads-tablets/">Android Tablet</a><!-- 201208010120 mickey@163... -->
191 </div>
192 <div class="sponsor">
193   <a rel="follow" title="Sponsor: Web Site Hosting" href="http://webhostinggeeks.com">Web Site Hosting</a><!-- 201302010900 funds@enmob... -->
194 </div>
195 <div class="sponsor">
196    <a rel="follow" title="Sponsor: Premium Quality Stock Photos" href="http://www.f1online.pro/en/">Premium Quality Stock Photos</a><!-- 2012080100540 ... -->
197 </div>
198 <div class="sponsor">
199    <a rel="follow" title="Sponsor: Druckerei" href="http://print24.com/de/">Druckerei</a><!-- 2012070100250 ... -->
200 </div>
201 <div class="sponsor">
202   <a rel="follow" title="Sponsor: Managed Server" href="http://www.robhost.de">Managed Server</a><!-- 201210010720 klikics... -->
203 </div>
204 <div class="sponsor">
205   <a rel="follow" title="Sponsor: Druckerei" href="http://www.allesdruck.de">Druckerei</a><!-- 201303011500 r.leo -->
206 </div>
207 <div class="sponsor">
208    <a rel="follow" title="Sponsor: Notebook Reparatur" href="http://www.notebook-reparaturen-berlin.de">Notebook Reparatur</a><!-- 2012080100300 atlas-multimedia-->
209 </div>
210 <div class="sponsor">
211    <a rel="follow" title="Sponsor: Fototapete - Tapetendruck" href="http://www.druck-expert.com/Fototapete-Tapetendruck,category,8830.html">Fototapete - Tapetendruck</a><!-- 2012100100155 info@druck-->
212 </div>
213 </div>
214 </div>
215 </div>
216
217 <div class="eastbar">
218   <div class="g-plusone" id="gplusone"></div>
219   <script type="text/javascript">
220     window.___gcfg = {
221       lang: 'en-US'
222     };
223
224     (function() {
225       var po = document.createElement('script');
226       po.type = 'text/javascript'; po.async = true;
227       po.src = 'https://apis.google.com/js/plusone.js';
228       var script = document.getElementsByTagName('script')[0];
229       script.parentNode.insertBefore(po, script);
230     })();
231     var gplusone = document.getElementById("gplusone");
232     gplusone.setAttribute("data-size","medium");
233     gplusone.setAttribute("data-count","false");
234   </script>
235 </div>
236
237 <div class="main">
238
239
240 <h1>ImageMagick Advanced Unix Installation</h1>
241 <p class="navigation-index">[<a href="advanced-unix-installation.html#download">Download &amp; Unpack</a> &bull; <a href="advanced-unix-installation.html#configure">Configure</a>  &bull; <a href="advanced-unix-installation.html#build">Build</a> &bull; <a href="advanced-unix-installation.html#install">Install</a> &bull; <a href="advanced-unix-installation.html#linux">Linux-specific Build Instructions</a> &bull; <a href="advanced-unix-installation.html#macosx">Mac OS X-specific Build Instructions</a> &bull; <a href="advanced-unix-installation.html#mingw">MinGW-specific Build Instructions</a> &bull; <a href="advanced-unix-installation.html#problems">Dealing with Unexpected Problems</a>]</p>
242
243 <div class="doc-section">
244 <p>It's possible you don't want to concern yourself with advanced installation under Unix or Linux systems.  If so, you also have the option of installing a pre-compiled <a href="binary-releases.html#unix">binary release</a>  or if you still want to install from source without all the fuss see the simple <a href="install-source.html#unix">Install From Source</a> instructions.  However, if you want to customize the configuration and installation of ImageMagick under Unix or Linux systems, lets begin.</p>
245 </div>
246
247 <h2><a id="download"></a>Download &amp; Unpack</h2>
248 <div class="doc-section">
249
250 <p>ImageMagick builds on a variety of Unix and Unix-like operating systems including Linux, Solaris, FreeBSD, Mac OS X, and others.  A compiler is required and fortunately almost all modern Unix systems have one.  Download <a href="http://www.imagemagick.org/download/ImageMagick.tar.gz">ImageMagick.tar.gz</a> from <a href="http://www.imagemagick.org/download">ftp.imagemagick.org</a> or its <a href="download.html">mirrors</a> and verify the distribution against its <a href="http://www.imagemagick.org/download/digest.rdf">message digest</a>.</p>
251
252 <p>Unpack the distribution it with this command:</p>
253
254 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>tar xvfz ImageMagick.tar.gz</span></p>
255 <p>Now that you have the ImageMagick Unix/Linux source distribution unpacked, let's configure it.</p>
256
257 </div>
258
259 <h2><a id="configure"></a>Configure</h2>
260 <div class="doc-section">
261
262 <p>The configure script looks at your environment and decides what it can cobble together to get ImageMagick compiled and installed on your system.  This includes finding a compiler, where your compiler header files are located (e.g. stdlib.h), and if any delegate libraries are available for ImageMagick to use (e.g. JPEG, PNG, TIFF, etc.).  If you are willing to accept configure's default options, and build from within the source directory, you can simply type:</p>
263
264 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>cd ImageMagick-6.7.7-5</span><span class='crtout'></span><span class="crtprompt"> $ </span><span class='crtin'>./configure</span></p>
265 <p>Watch the configure script output to verify that it finds everything that
266  you think it should.  Pay particular attention to the last lines of the script output.  For example, here is a recent report from our system:</p>
267
268 <div class="viewport">
269 ImageMagick is configured as follows. Please verify that this configuration
270 matches your expectations.
271
272 Host system type: x86_64-unknown-linux-gnu
273 Build system type: x86_64-unknown-linux-gnu
274
275                   Option                     Value
276 -------------------------------------------------------------------------------
277 Shared libraries  --enable-shared=yes           yes
278 Static libraries  --enable-static=yes           yes
279 Module support    --with-modules=yes            yes
280 GNU ld            --with-gnu-ld=yes             yes
281 Quantum depth     --with-quantum-depth=16       16
282 High Dynamic Range Imagery
283                   --enable-hdri=no              no
284
285 Delegate Configuration:
286 BZLIB             --with-bzlib=yes              yes
287 Autotrace         --with-autotrace=yes  yes
288 DJVU              --with-djvu=yes               no
289 DPS               --with-dps=yes                no
290 FlashPIX          --with-fpx=yes                no
291 FontConfig        --with-fontconfig=yes yes
292 FreeType          --with-freetype=yes           yes
293 GhostPCL          None                  pcl6 (unknown)
294 GhostXPS          None                  gxps (unknown)
295 Ghostscript       None                  gs (8.63)
296 result_ghostscript_font_dir='none'
297 Ghostscript fonts --with-gs-font-dir=default
298 Ghostscript lib   --with-gslib=yes              no (failed tests)
299 Graphviz          --with-gvc=yes                yes
300 JBIG              --with-jbig=          no
301 JPEG v1           --with-jpeg=yes               yes
302 JPEG-2000         --with-jp2=yes                yes
303 LCMS              --with-lcms=yes               yes
304 LQR               --with-lqr=yes                no
305 Magick++          --with-magick-plus-plus=yes   yes
306 OpenEXR           --with-openexr=yes            yes
307 PERL              --with-perl=yes               /usr/bin/perl
308 PNG               --with-png=yes                yes
309 RSVG              --with-rsvg=yes               yes
310 TIFF              --with-tiff=yes               yes
311 result_windows_font_dir='none'
312 Windows fonts     --with-windows-font-dir=
313 WMF               --with-wmf=yes                yes
314 X11               --with-x=                     yes
315 XML               --with-xml=yes                yes
316 ZLIB              --with-zlib=yes               yes
317
318 X11 Configuration:
319       X_CFLAGS        =
320       X_PRE_LIBS      = -lSM -lICE
321       X_LIBS          =
322       X_EXTRA_LIBS    =
323
324 Options used to compile and link:
325   PREFIX          = /usr/local
326   EXEC-PREFIX     = /usr/local
327   VERSION         = 6.4.8
328   CC              = gcc -std=gnu99
329   CFLAGS          = -fopenmp -g -O2 -Wall -W -pthread
330   MAGICK_CFLAGS   = -fopenmp -g -O2 -Wall -W -pthread
331   CPPFLAGS        = -I/usr/local/include/ImageMagick
332   PCFLAGS         = -fopenmp
333   DEFS            = -DHAVE_CONFIG_H
334   LDFLAGS         = -lfreetype
335   MAGICK_LDFLAGS  = -L/usr/local/lib -lfreetype
336   LIBS            = -lMagickCore -llcms -ltiff -lfreetype -ljpeg -lfontconfig -lXext
337                     -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lgomp -lpthread -lltdl
338   CXX             = g++
339   CXXFLAGS        = -g -O2 -Wall -W -pthread
340 </div>
341
342 <p>You can influence choice of compiler, compilation flags, or libraries of the configure script by setting initial values for variables in the configure command line. These include, among others:</p>
343
344 <dl class="doc">
345 <dt>CC</dt>
346   <dd>Name of C compiler (e.g. <kbd>cc -Xa</kbd>) to use.</dd>
347 <dt>CXX</dt>
348   <dd>Name of C++ compiler to use (e.g. <kbd>CC</kbd>).</dd>
349 <dt>CFLAGS</dt>
350   <dd>Compiler flags (e.g. <kbd>-g -O2</kbd>) to compile C code.</dd>
351 <dt>CXXFLAGS</dt>
352   <dd>Compiler flags (e.g. <kbd>-g -O2</kbd>) to compile C++ code.</dd>
353 <dt>CPPFLAGS</dt>
354   <dd>Include paths (.e.g. <kbd>-I/usr/local</kbd>) to look for header files.</dd>
355 <dt>LDFLAGS</dt>
356   <dd>Library paths (.e.g. <kbd>-L/usr/local</kbd>) to look for libraries systems that support the notion of a library run-path may require an additional argument in order to find shared libraries at run time. For example, the Solaris linker requires an argument of the form <em>-R/path</em>.  Some Linux systems will work with <kbd>-rpath /usr/local/lib</kbd>, while some other Linux systems who's gcc does not pass <kbd>-rpath</kbd> to the linker, require an argument of the form <kbd>-Wl,-rpath,/usr/local/lib</kbd>.</dd>
357 <dt>LIBS</dt>
358   <dd>Extra libraries (.e.g. <kbd>-l/usr/local/lib</kbd>) required to link.</dd>
359 </dl>
360
361 <p>Here is an example of setting configure variables from the command line:</p>
362
363 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>./configure CC=c99 CFLAGS=-O2 LDFLAGS='-L/usr/local/lib -R/usr/local/lib' LIBS=-lposix</span></p>
364 <p>Any variable (e.g. CPPFLAGS or LDFLAGS) which requires a directory path must specify an absolute path rather than a relative path.</p>
365
366 <p>Configure can usually find the X include and library files automagically, but if it doesn't, you can use the <em>--x-includes=path</em> and <em>--x-libraries=path</em> options to specify their locations.</p>
367
368 <p>The configure script provides a number of ImageMagick specific options.  When disabling an option <em>--disable-something</em> is equivalent to specifying <em>--enable-something=no</em> and <em>--without-something</em> is equivalent to <em>--with-something=no</em>.  The configure options are as follows (execute <kbd>configure --help</kbd> to see all options).</p>
369
370 <p> ImageMagick options represent either features to be enabled, disabled, or packages to be included in the build.  When a feature is enabled (via <em>--enable-something</em>), it enables code already present in ImageMagick.  When a package is enabled (via <em>--with-something</em>), the configure script will search for it, and if is properly installed and ready to use (headers and built libraries are found by compiler) it will be included in the build.  The configure script is delivered with all features disabled and all packages enabled. In general, the only reason to disable a package is if a package exists but it is unsuitable for the build (perhaps an old version or not compiled with the right compilation flags).</p>
371
372 <p>Here are the optional features you can configure:</p>
373
374 <dl class="doc">
375 <dt>--enable-shared</dt>
376   <dd>build the  shared libraries and support for loading coder and process modules. Shared libraries are preferred because they allow programs to share common code, making the individual programs much smaller. In addition shared libraries are required in order for PerlMagick to be dynamically loaded by an installed PERL (otherwise an additional PERL (PerlMagick) must be installed.
377   <br /><br />
378   ImageMagick built with delegates (see MAGICK PLUG-INS below) can pose additional challenges. If ImageMagick is built using static libraries (the default without <kbd>--enable-shared</kbd>) then delegate libraries may be built as either static libraries or shared libraries. However, if ImageMagick is built using shared libraries, then all delegate libraries must also be built as shared libraries.  Static libraries usually have the extension <kbd>.a</kbd>, while shared libraries typically have extensions like <kbd>.so</kbd>, <kbd>.sa</kbd>, or <kbd>.dll</kbd>. Code in shared libraries normally must compiled using a special compiler option to produce Position Independent Code (PIC). The only time this not necessary is if the platform compiles code as PIC by default.
379   <br /><br />
380   PIC compilation flags differ from vendor to vendor (gcc's is <kbd>-fPIC</kbd>). However, you must compile all shared library source with the same flag (for gcc use <kbd>-fPIC</kbd> rather than <kbd>-fpic</kbd>). While static libraries are normally created using an archive tool like <kbd>ar</kbd>, shared libraries are built using special linker or compiler options (e.g. <kbd>-shared</kbd> for gcc).
381   <br/><br />
382   If <kbd>--enable-shared</kbd> is not specified, a new PERL interpreter (PerlMagick) is built which is statically linked against the PerlMagick extension. This new interpreter is installed into the same directory as the ImageMagick utilities. If <kbd>--enable-shared</kbd> is specified, the PerlMagick extension is built as a dynamically loadable object which is loaded into your current PERL interpreter at run-time. Use of dynamically-loaded extensions is preferable over statically linked extensions so use <kbd>--enable-shared</kbd> if possible (note that all libraries used with ImageMagick must be shared libraries!).</dd>
383 <dt>--disable-static</dt>
384   <dd>static archive libraries (with extension <kbd>.a</kbd>) are not built.  If you are building shared libraries, there is little value to building static libraries. Reasons to build static libraries include: 1) they can be easier to debug; 2) clients do not have external dependencies (i.e. libMagick.so); 3) building PIC versions of the delegate libraries may take additional expertise and effort; 4) you are unable to build shared libraries.</dd>
385 <dt>--disable-installed</dt>
386   <dd>disable building an installed ImageMagick (default enabled).
387   <br/><br />
388   By default the ImageMagick build is configured to formally install into a directory tree.  This the most secure and reliable way to install ImageMagick.  Use this option to configure ImageMagick so that it doesn't use hard-coded paths and locates support files by computing an offset path from the executable (or from the location specified by the MAGICK_HOME environment variable. The uninstalled configuration is ideal for binary distributions which are expected to extract and run in any location.</dd>
389 <dt>--enable-ccmalloc</dt>
390   <dd>enable 'ccmalloc' memory debug support (default disabled).</dd>
391 <dt>--enable-prof</dt>
392   <dd>enable 'prof' profiling support (default disabled).</dd>
393 <dt>--enable-gprof</dt>
394   <dd>enable 'gprof' profiling support (default disabled).</dd>
395 <dt>--enable-gcov</dt>
396   <dd>enable 'gcov' profiling support (default disabled).</dd>
397 <dt>--disable-openmp</dt>
398   <dd>disable OpenMP (default enabled).
399   <br/><br />
400   Certain ImageMagick algorithms, for example convolution, can achieve a significant speed-up with the assistance of the OpenMP API when running on modern dual and quad-core processors.</dd>
401 <dt>--disable-largefile</dt>
402   <dd>disable support for large (64 bit) file offsets.
403   <br/><br />
404   By default, ImageMagick is compiled with support for large files (&gt; 2GB on a 32-bit CPU) if the operating system supports large files.  Some applications which use the ImageMagick library may also require support for large files. By disabling support for large files via <kbd>--disable-largefile</kbd>, dependent applications do not require special compilation options for large files in order to use the library.</dd>
405 </dl>
406
407 <p>Here are the optional packages you can configure:</p>
408
409 <dl class="doc">
410 <dt>--with-quantum-depth</dt>
411   <dd>number of bits in a pixel quantum (default 16).
412   <br/><br />
413   Use this option to specify the number of bits to use per pixel quantum (the size of the red, green, blue, and alpha pixel components). For example, <kbd>--with-quantum-depth=8</kbd> builds ImageMagick using 8-bit quantums.  Most computer display adapters use 8-bit quantums. Currently supported arguments are 8, 16, or 32. We recommend the default of 16 because some image formats support 16 bits-per-pixel. However, this option is important in determining the overall run-time performance of ImageMagick.
414   <br /><br />
415   The number of bits in a quantum determines how many values it may contain. Each quantum level supports 256 times as many values as the previous level. The following table shows the range available for various quantum sizes.
416   <br /><br />
417   <pre class="text">
418   Quantum Depth     Valid Range (Decimal)   Valid Range (Hex)
419       8             0-255                   00-FF
420      16             0-65535                 0000-FFFF
421      32             0-4294967295            00000000-FFFFFFFF
422   </pre>
423   <br /><br />
424   Larger pixel quantums can cause ImageMagick to run more slowly and to require more memory. For example, using sixteen-bit pixel quantums can cause ImageMagick to run 15% to 50% slower (and take twice as much memory) than when it is built to support eight-bit pixel quantums.
425   <br /><br />
426   The amount of virtual memory consumed by an image can be computed by the equation <em>(5 * Quantum Depth * Rows * Columns) / 8</em>. This an important consideration when resources are limited, particularly since processing an image may require several images to be in memory at one time. The following table shows memory consumption values for a 1024x768 image:
427   <br /><br />
428   <pre class="text">
429   Quantum Depth   Virtual Memory
430        8               3MB
431       16               8MB
432       32              15MB
433   </pre></dd>
434   <dt>--enable-hdri</dt>
435   <dd>accurately represent the wide range of intensity levels.</dd>
436   <dt>--enable-osx-universal-binary</dt>
437   <dd>build a universal binary on OS X.</dd>
438   <dt>--without-modules</dt>
439   <dd>disable support for dynamically loadable modules.
440   <br /><br />
441   Image coders and process modules are built as loadable modules which are installed under the directory <em>[prefix]/lib/ImageMagick-X.X.X/modules-QN</em> (where 'N' equals 8, 16, or 32 depending on the quantum depth) in the subdirectories <kbd>coders</kbd> and <kbd>filters</kbd> respectively. The modules build option is only available in conjunction with <kbd>--enable-shared</kbd>. If <kbd>--enable-shared</kbd> is not also specified, support for building modules is disabled.  Note that if <kbd>--enable-shared</kbd> and <kbd>--disable-modules</kbd> are specified, the module loader is active (allowing extending an installed ImageMagick by simply copying a module into place) but ImageMagick itself is not built using modules.</dd>
442 <dt>--with-cache</dt>
443   <dd>set pixel cache threshold (defaults to available memory).
444   <br /><br />
445   Specify a different image pixel cache threshold with this option. This sets the maximum amount of heap memory that ImageMagick is allowed to consume before switching to using memory-mapped temporary files to store raw pixel data.</dd>
446 <dt>--without-threads</dt>
447   <dd>disable threads support.
448   <br /><br />
449   By default, the ImageMagick library is compiled with multi-thread support.  If this undesirable, specify <kbd>--without-threads</kbd>.</dd>
450 <dt>--with-frozenpaths</dt>
451   <dd>enable frozen delegate paths.
452   <br /><br />
453   Normally, external program names are substituted into the <kbd>delegates.xml</kbd> configuration file without full paths. Specify this option to enable saving full paths to programs using locations determined by configure. This useful for environments where programs are stored under multiple paths, and users may use different PATH settings than the person who builds ImageMagick.</dd>
454 <dt>--without-magick-plus-plus</dt>
455   <dd>disable build/install of Magick++.
456   <br /><br />
457   Disable building Magick++, the C++ application programming interface to ImageMagick. A suitable C++ compiler is required in order to build Magick++. Specify the CXX configure variable to select the C++ compiler to use (default <kbd>g++</kbd>), and CXXFLAGS to select the desired compiler optimization and debug flags (default <kbd>-g -O2</kbd>). Antique C++ compilers will normally be rejected by configure tests so specifying this option should only be necessary if Magick++ fails to compile.</dd>
458 <dt>--without-perl</dt>
459   <dd>disable build/install of PerlMagick, or
460   <br /><br />
461   By default, PerlMagick is conveniently compiled and installed as part of ImageMagick's normal <kbd>configure</kbd>, <kbd>make</kbd>, <kbd>sudo make install</kbd> process. When <kbd>--without-perl</kbd> is specified, you must first install ImageMagick, change to the PerlMagick subdirectory, build, and finally install PerlMagick. Note, PerlMagick is configured even if <kbd>--without-perl</kbd> is specified. If the argument <em>--with-perl=/path/to/perl</em> is supplied, <em>/../path/to/perl</em> is be taken as the PERL interpreter to use. This important in case the <kbd>perl</kbd> executable in your PATH is not PERL5, or is not the PERL you want to use.</dd>
462 <dt>--with-perl=PERL</dt>
463   <dd>use specified Perl binary to configure PerlMagick.</dd>
464 <dt>--with-perl-options=OPTIONS</dt>
465   <dd>options to pass on command-line when generating PerlMagick's Makefile from Makefile.PL.
466   <br /><br />
467   The PerlMagick module is normally installed using the Perl interpreter's installation PREFIX, rather than ImageMagick's. If ImageMagick's installation prefix is not the same as PERL's PREFIX, then you may find that PerlMagick's <kbd>sudo make install</kbd> step tries to install into a directory tree that you don't have write permissions to. This common when PERL is delivered with the operating system or on Internet Service Provider (ISP) web servers. If you want PerlMagick to install elsewhere, then provide a PREFIX option to PERL's configuration step via "--with-perl-options=PREFIX=/some/place". Other options accepted by MakeMaker are 'LIB', 'LIBPERL_A', 'LINKTYPE', and 'OPTIMIZE'. See the ExtUtils::MakeMaker(3) manual page for more information on configuring PERL extensions.</dd>
468 <dt>--without-bzlib</dt>
469   <dd>disable BZLIB support.</dd>
470 <dt>--without-dps</dt>
471   <dd>disable Display Postscript support.</dd>
472 <dt>--with-fpx</dt>
473   <dd>enable FlashPIX support.</dd>
474 <dt>--without-freetype</dt>
475   <dd>disable TrueType support.</dd>
476 <dt>--with-gslib</dt>
477   <dd>enable Ghostscript library support.</dd>
478 <dt>--without-jbig</dt>
479   <dd>disable JBIG support.</dd>
480 <dt>--without-jpeg</dt>
481   <dd>disable JPEG support.</dd>
482 <dt>--without-jp2</dt>
483   <dd>disable JPEG v2 support.</dd>
484 <dt>--without-lcms</dt>
485   <dd>disable LCMS support.</dd>
486 <dt>--without-lzma</dt>
487   <dd>disable LZMA support.</dd>
488 <dt>--without-png</dt>
489   <dd>disable PNG support.</dd>
490 <dt>--without-tiff</dt>
491   <dd>disable TIFF support.</dd>
492 <dt>--without-wmf</dt>
493   <dd>disable WMF support.</dd>
494 <dt>--with-fontpath</dt>
495   <dd>prepend to default font search path.</dd>
496 <dt>--with-gs-font-dir</dt>
497   <dd>directory containing Ghostscript fonts.
498   <br /><br />
499   Specify the directory containing the Ghostscript Postscript Type 1 font files (e.g. <kbd>n022003l.pfb</kbd>) so that they can be rendered using the FreeType library. If the font files are installed using the default Ghostscript installation paths (<em>${prefix}/share/ghostwww/fonts</em>), they should be discovered automagically by configure and specifying this option is not necessary. Specify this option if the Ghostscript fonts fail to be located automagically, or the location needs to be overridden.</dd>
500 <dt>--with-windows-font-dir</dt>
501   <dd>directory containing MS-Windows fonts.
502   <br /><br />
503   Specify the directory containing MS-Windows-compatible fonts. This not necessary when ImageMagick is running under MS-Windows.</dd>
504 <dt>--without-xml</dt>
505   <dd>disable XML support.</dd>
506 <dt>--without-zlib</dt>
507   <dd>disable ZLIB support.</dd>
508 <dt>--without-x</dt>
509   <dd>don't use the X Window System.
510   <br /><br />
511   By default, ImageMagick uses the X11 delegate libraries if they are available. When --without-x is specified, use of X11 is disabled.  The display, animate, and import sub-commands are not included. The remaining sub-commands have reduced functionality such as no access to X11 fonts (consider using Postscript or TrueType fonts instead).</dd>
512 <dt>--with-share-path=DIR</dt>
513   <dd>Alternate path to share directory (default share/ImageMagick).</dd>
514 <dt>--with-libstdc=DIR</dt>
515   <dd>use libstdc++ in DIR (for GNU C++).</dd>
516 </dl>
517
518 <p>While <kbd>configure</kbd> is designed to ease installation of ImageMagick, it often discovers problems that would otherwise be encountered later when compiling ImageMagick. The configure script tests for headers and libraries by executing the compiler (CC) with the specified compilation flags (CFLAGS), pre-processor flags (CPPFLAGS), and linker flags (LDFLAGS). Any errors are logged to the file <kbd>config.log</kbd>. If configure fails to discover a header or library please review this log file to determine why, however, please be aware that *errors in the <kbd>config.log</kbd> are normal* because configure works by trying something and seeing if it fails. An error in <kbd>config.log</kbd> is only a problem if the test should have passed on your system.</p>
519
520 <p>Common causes of configure failures are: 1) a delegate header is not in the header include path (CPPFLAGS -I option); 2) a delegate library is not in the linker search/run path (LDFLAGS -L/-R option); 3) a delegate library is missing a function (old version?); or 4) compilation environment is faulty.</p>
521 <p>If all reasonable corrective actions have been tried and the problem appears be due to a flaw in the configure script, please send a bug report to the <a href="http://www.imagemagick.org/discourse-server/viewforum.php?f=3">ImageMagick Defect Support Forum</a>. All bug reports should contain the operating system type (as reported by <kbd>uname -a</kbd>) and the compiler/compiler-version. A copy of the configure script output and/or the relevant portion of  <kbd>config.log</kbd> file may be valuable in order to find the problem.  If you post portions of <kbd>config.log</kbd>, please also send a script of the configure output and a description of what you expected to see (and why) so the failure you are observing can be identified and resolved.</p>
522
523 <p>ImageMagick is now configured and ready to build</p>
524
525 </div>
526
527 <h2><a id="build"></a>Build</h2>
528 <div class="doc-section">
529
530 <p>Once ImageMagick is configured, these standard build targets are available from the generated <kbd>make</kbd> files:</p>
531
532 <dl class="doc">
533 <dt>make</dt>
534   <dd>build ImageMagick.</dd>
535 <dt>sudo make install</dt>
536   <dd>install ImageMagick.</dd>
537 <dt>make check</dt>
538   <dd>Run tests using the installed ImageMagick (<kbd>sudo make install</kbd> must be done first). Ghostscript is a prerequisite, otherwise the EPS, PS, and PDF
539     tests will fail.</dd>
540 <dt>make clean</dt>
541   <dd> Remove everything in the build directory created by <kbd>make</kbd>.</dd>
542 <dt>make distclean</dt>
543   <dd>remove everything in the build directory created by <kbd>configure</kbd> and <kbd>make</kbd>.  This useful if you want to start over from scratch.</dd>
544 <dt>make uninstall</dt>
545   <dd>Remove all files from the system which are (or would be) installed by <kbd>sudo make install</kbd> using the current configuration.  Note that this target is imperfect for PerlMagick since Perl no longer supports an <em>uninstall</em> target.</dd>
546 </dl>
547
548 <p>In most cases you will simply wand to compile ImageMagick with this command:</p>
549
550 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>make</span></p>
551 <p>Once built, you can optionally install ImageMagick on your system as discussed below.</p>
552 </div>
553
554 <h2><a id="install"></a>Install</h2>
555 <div class="doc-section">
556
557 <p>Now that ImageMagick is configured and built, type:</p>
558
559 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>make install</span></p>
560 <p>to install it.</p>
561
562 <p>By default, ImageMagick is installs binaries in <kbd>/../usr/local/bin</kbd>, libraries in <kbd>/../usr/local/lib</kbd>, header files in <kbd>/../usr/local/include</kbd> and documentation in <kbd>/../usr/local/share</kbd>.  You can specify an alternative installation prefix other than <kbd>/../usr/local</kbd> by giving <kbd>configure</kbd> the option <em>--prefix=PATH</em>.  This valuable in case you don't have privileges to install under the default paths or if you want to install in the system directories instead.</p>
563
564 <p>To confirm your installation of the ImageMagick distribution was successful, ensure that the installation directory is in your executable search path and type:</p>
565
566 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>display</span></p>
567 <p>The ImageMagick logo is displayed on your X11 display.</p>
568
569 <p>To verify the ImageMagick build configuration, type:</p>
570
571 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>identify -list configure</span></p>
572 <p>To list which image formats are supported , type:</p>
573
574 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>identify -list format</span></p>
575 <p>For a more comprehensive test, you run the ImageMagick test suite by typing:</p>
576
577 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>make check</span></p>
578 <p>Ghostscript is a prerequisite, otherwise the EPS, PS, and PDF tests will fail.  Note that due to differences between the developer's environment and your own it is possible that a few tests may fail even though the results are ok. Differences between the developer's environment environment and your own may include the compiler, the CPU type, and the library versions used. The ImageMagick developers use the current release of all dependent libraries.</p>
579
580 </div>
581
582 <h2><a id="linux"></a>Linux-specific Build instructions</h2>
583 <div class="doc-section">
584
585 <p>Download <a href="http://www.imagemagick.org/download/linux/SRPMS/ImageMagick.src.rpm">ImageMagick.src.rpm</a> from <a href="http://www.imagemagick.org/download">ftp.imagemagick.org</a> or its <a href="download.html">mirrors</a> and verify the distribution against its <a href="http://www.imagemagick.org/download/linux/SRPMS/digest.rdf">message digest</a>.</p>
586
587 <p>Build ImageMagick with this command:</p>
588
589 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>rpmbuild --rebuild ImageMagick.src.rpm</span></p>
590 <p>After the build you, locate the RPMS folder and install the ImageMagick binary RPM distribution:</p>
591
592 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>rpm -ivh ImageMagick-6.7.7-?.*.rpm</span></p>
593 </div>
594
595 <h2><a id="macosx"></a>Mac OS X-specific Build instructions</h2>
596 <div class="doc-section">
597
598 <p>Perform these steps as an administrator or with the <tt>sudo</tt> command:</p>
599
600 <div class="doc-section">
601   <p>Install <a href="http://www.macports.org">MacPorts</a>.  Download and install MacPorts and type the following commands:</p>
602
603 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>sudo port -v install freetype +bytecode</span><span class='crtout'></span><span class="crtprompt"> $ </span><span class='crtin'>sudo port -v install librsvg</span><span class='crtout'></span><span class="crtprompt"> $ </span><span class='crtin'>sudo port -v install +graphviz +gs +wmf +jbig +jpeg2 +lcms</span></p>
604 <p>This installs many of the delegate libraries ImageMagick will utilize such as JPEG and FreeType.</p>
605
606
607           <p>Install the latest <a href="http://developer.apple.com/tools/download/">Xcode</a> from Apple.</p>
608           <p>Use the <tt>port</tt> command to install any delegate libraries you require, for example:</p>
609           <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>sudo port install jpeg</span></p>        </div>
610
611 <p>Now lets build ImageMagick:</p>
612
613         <div class="doc-section">
614           <p><a href="download.html">Download</a> the ImageMagick source distribution and verify the distribution against its <a href="http://www.imagemagick.org/download/digest.rdf">message digest</a>.</p>
615           <p>Unpack and change into the top-level ImageMagick directory:</p>
616                 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>tar xvfz ImageMagick-6.7.7-5.tar.gz</span><span class='crtout'></span><span class="crtprompt"> $ </span><span class='crtin'>cd ImageMagick-6.7.7-5</span></p>        <p>Configure ImageMagick:</p>
617         <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>./configure --prefix=/opt --with-quantum-depth=16 \ <br/>
618                 --disable-dependency-tracking --with-x=yes \ <br/>
619                 --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib/ \ <br/>
620                 --without-perl</span></p>         <p>Build ImageMagick:</p>
621         <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>make</span></p>      <p>Install ImageMagick:</p>
622         <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>sudo make install</span></p>  <p>To verify your install, type</p>
623
624   <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>/opt/local/bin/identify -list font</span></p>
625   <p>to list all the fonts ImageMagick knows about.</p>
626           <p>To test the ImageMagick GUI, in a new shell, type:</p>
627         <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>display -display :0</span></p></div>
628
629 </div>
630
631 <h2><a id="mingw"></a>MinGW-specific Build instructions</h2>
632 <div class="doc-section">
633
634 <p>Although you can download and install delegate libraries yourself, many are already available in the <a href="http://gnuwin32.sourceforge.net/">GnuWin32</a> distribution.  Download and install whichever delegate libraries you require such as JPEG, PNG, TIFF, etc.  Make sure you specify the development headers when you install a package.  Next type,</p>
635
636 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>tar jxvf ImageMagick-6.7.7-?.tar.bz2</span><span class='crtout'></span><span class="crtprompt"> $ </span><span class='crtin'>cd ImageMagick-6.7.7-5</span><span class='crtout'></span><span class="crtprompt"> $ </span><span class='crtin'>export CPPFLAGS="-Ic:/Progra~1/GnuWin32/include"</span><span class='crtout'></span><span class="crtprompt"> $ </span><span class='crtin'>export LDFLAGS="-Lc:/Progra~1/GnuWin32/lib"</span><span class='crtout'></span><span class="crtprompt"> $ </span><span class='crtin'>./configure --without-perl</span><span class='crtout'></span><span class="crtprompt"> $ </span><span class='crtin'>make</span><span class='crtout'></span><span class="crtprompt"> $ </span><span class='crtin'>sudo make install</span></p></div>
637
638 <h2><a id="problems"></a>Dealing with Unexpected Problems</h2>
639 <div class="doc-section">
640
641 <p>Chances are the download, configure, build, and install of ImageMagick went flawlessly as it is intended, however, certain systems and environments may cause one or more steps to fail.  We discuss a few problems we've run across and how to take corrective action to ensure you have a working release of ImageMagick</p>
642
643 <h4>Build Problems</h4>
644 <p>If the build complains about missing dependencies (e.g. <em>.deps/source.PLO</em>), add <kbd>--disable-dependency-tracking</kbd> to your <kbd>configure</kbd> command line.</p>
645
646 <p>Some systems may fail to link at build time due to unresolved symbols. Try adding the LDFLAGS to the <kbd>configure</kbd> command line:</p>
647
648 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>configure LDFLAGS='-L/usr/local/lib -R/usr/local/lib'</span></p>
649 <h4>Dynamic Linker Run-time Bindings</h4>
650 <p>On some systems, ImageMagick may not find its shared library, <em>libMagick.so</em>.  Try running the <kbd>ldconfig</kbd> with the library path:</p>
651
652 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>/sbin/ldconfig /usr/local/lib</span></p>
653 <p>Solaris and Linux systems have the <kbd>ldd</kbd> command which is useful to track which libraries ImageMagick depends on:</p>
654
655 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>ldd `which convert`</span></p>
656 <h4>Delegate Libraries</h4>
657 <p>On occasion you may receive these warnings:</p>
658 <pre class="text">
659   no decode delegate for this image format
660   no encode delegate for this image format
661 </pre>
662 <p>This exception indicates that an external delegate library or its headers were not available when ImageMagick was built.  To add support for the image format, download and install the requisite delegate library and its header files and reconfigure, rebuild, and reinstall ImageMagick.  As an example, lets add support for the JPEG image format.  First we install the JPEG RPMS:</p>
663
664 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>yum install libjpeg libjpeg-devel</span></p>
665 <p>Now reconfigure, rebuild, and reinstall ImageMagick.  To verify JPEG is now properly supported within ImageMagick, use this command:</p>
666
667 <p class='crt'><span class="crtprompt"> $ </span><span class='crtin'>identify -list format</span></p>
668 <p>You should see a mode of rw- associated with the JPEG tag.  This mode means the image can be read or written and can only support one image per image file.</p>
669
670 <h4>PerlMagick</h4>
671 <p>If PerlMagick fails to link with a message similar to <em>libperl.a is not found</em>, rerun <kbd>configure</kbd> with the <kbd>--enable-shared</kbd> or <kbd>--enable-shared --with-modules</kbd> options.</p>
672
673 </div>
674
675 </div>
676
677 <div id="linkbar">
678     <span id="linkbar-west">&nbsp;</span>
679     <span id="linkbar-center">
680       <a href="../discourse-server">Discourse Server</a> &bull;
681       <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
682     </span>
683     <span id="linkbar-east">&nbsp;</span>
684   </div>
685   <div class="footer">
686     <span id="footer-west">&copy; 1999-2012 ImageMagick Studio LLC</span>
687     <span id="footer-east"> <a href="contact.html">Contact the Wizards</a></span>
688   </div>
689   <div style="clear: both; margin: 0; width: 100%; "></div>
690   <script type="text/javascript">
691     var _gaq = _gaq || [];
692     _gaq.push(['_setAccount', 'UA-17690367-1']);
693     _gaq.push(['_trackPageview']);
694
695     (function() {
696       var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
697       ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
698       var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
699     })();
700   </script>
701 </body>
702 </html>