Show
Ignore:
Timestamp:
10/16/09 13:13:48 (5 months ago)
Author:
cristy
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/www/advanced-unix-installation.html

    r397 r399  
    124124<div class="sponsbox"> 
    125125<div  class="sponsor"> 
    126    <a href="http://www.buerodruck.de/stempel-service/index.html">Stempel bestellen</a><!-- 200910000035+ --> 
     126   <a href="http://www.abi-stoff.de/abizeitung/" title="Abibuch">Abizeitung</a><!-- 20090501000200 --> 
    127127</div> 
    128128<div  class="sponsor"> 
     
    176176<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> 
    177177 
    178 <p class='crt'><span class="crtprompt"> $magick&gt; </span><span class='crtin'>cd ImageMagick-6.5.6</span><span class='crtout'></span><span class="crtprompt"> $magick&gt; </span><span class='crtin'>./configure</span></p> 
     178<p class='crt'><span class="crtprompt"> $magick&gt; </span><span class='crtin'>cd ImageMagick-6.5.7</span><span class='crtout'></span><span class="crtprompt"> $magick&gt; </span><span class='crtin'>./configure</span></p> 
    179179<p>Watch the configure script output to verify that it finds everything that 
    180180 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> 
     
    503503<p>After the build you, locate the RPMS folder and install the ImageMagick binary RPM distribution:</p> 
    504504 
    505 <p class='crt'><span class="crtprompt"> $magick&gt; </span><span class='crtin'>rpm -ivh ImageMagick-6.5.6-?.*.rpm</span></p> 
     505<p class='crt'><span class="crtprompt"> $magick&gt; </span><span class='crtin'>rpm -ivh ImageMagick-6.5.7-?.*.rpm</span></p> 
    506506</div> 
    507507 
     
    523523          <p><a href="../www/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> 
    524524          <p>Unpack and change into the top-level ImageMagick directory:</p> 
    525                 <p class='crt'><span class="crtprompt"> $magick&gt; </span><span class='crtin'>tar xvfz ImageMagick-6.5.6-10.tar.gz</span><span class='crtout'></span><span class="crtprompt"> $magick&gt; </span><span class='crtin'>cd ImageMagick-6.5.6</span></p>     <p>Choose an architecture and set your CFLAGS environment variable.  Here we set CFLAGS for an Intel build:</p> 
     525                <p class='crt'><span class="crtprompt"> $magick&gt; </span><span class='crtin'>tar xvfz ImageMagick-6.5.7-0.tar.gz</span><span class='crtout'></span><span class="crtprompt"> $magick&gt; </span><span class='crtin'>cd ImageMagick-6.5.7</span></p>      <p>Choose an architecture and set your CFLAGS environment variable.  Here we set CFLAGS for an Intel build:</p> 
    526526        <p class='crt'><span class="crtprompt"> $magick&gt; </span><span class='crtin'>export CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.5.sdk/ \ <br/> 
    527527        -arch i386 -I/sw/include/"</span></p>     <p>Set your LDFLAGS environment variable to:</p> 
     
    552552<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> 
    553553 
    554 <p class='crt'><span class="crtprompt"> $magick&gt; </span><span class='crtin'>tar jxvf ImageMagick-6.5.6-?.tar.bz2</span><span class='crtout'></span><span class="crtprompt"> $magick&gt; </span><span class='crtin'>cd ImageMagick-6.5.6</span><span class='crtout'></span><span class="crtprompt"> $magick&gt; </span><span class='crtin'>export CPPFLAGS="-Ic:/Progra~1/GnuWin32/include"</span><span class='crtout'></span><span class="crtprompt"> $magick&gt; </span><span class='crtin'>export LDFLAGS="-Lc:/Progra~1/GnuWin32/lib"</span><span class='crtout'></span><span class="crtprompt"> $magick&gt; </span><span class='crtin'>./configure --without-perl</span><span class='crtout'></span><span class="crtprompt"> $magick&gt; </span><span class='crtin'>make</span><span class='crtout'></span><span class="crtprompt"> $magick&gt; </span><span class='crtin'>sudo make install</span></p></div> 
     554<p class='crt'><span class="crtprompt"> $magick&gt; </span><span class='crtin'>tar jxvf ImageMagick-6.5.7-?.tar.bz2</span><span class='crtout'></span><span class="crtprompt"> $magick&gt; </span><span class='crtin'>cd ImageMagick-6.5.7</span><span class='crtout'></span><span class="crtprompt"> $magick&gt; </span><span class='crtin'>export CPPFLAGS="-Ic:/Progra~1/GnuWin32/include"</span><span class='crtout'></span><span class="crtprompt"> $magick&gt; </span><span class='crtin'>export LDFLAGS="-Lc:/Progra~1/GnuWin32/lib"</span><span class='crtout'></span><span class="crtprompt"> $magick&gt; </span><span class='crtin'>./configure --without-perl</span><span class='crtout'></span><span class="crtprompt"> $magick&gt; </span><span class='crtin'>make</span><span class='crtout'></span><span class="crtprompt"> $magick&gt; </span><span class='crtin'>sudo make install</span></p></div> 
    555555 
    556556<h2><a name="problems"></a>Dealing with Unexpected Problems</h2>