Changeset 399 for ImageMagick/trunk/www/advanced-unix-installation.html
- Timestamp:
- 10/16/09 13:13:48 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
ImageMagick/trunk/www/advanced-unix-installation.html
r397 r399 124 124 <div class="sponsbox"> 125 125 <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 --> 127 127 </div> 128 128 <div class="sponsor"> … … 176 176 <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> 177 177 178 <p class='crt'><span class="crtprompt"> $magick> </span><span class='crtin'>cd ImageMagick-6.5. 6</span><span class='crtout'></span><span class="crtprompt"> $magick> </span><span class='crtin'>./configure</span></p>178 <p class='crt'><span class="crtprompt"> $magick> </span><span class='crtin'>cd ImageMagick-6.5.7</span><span class='crtout'></span><span class="crtprompt"> $magick> </span><span class='crtin'>./configure</span></p> 179 179 <p>Watch the configure script output to verify that it finds everything that 180 180 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> … … 503 503 <p>After the build you, locate the RPMS folder and install the ImageMagick binary RPM distribution:</p> 504 504 505 <p class='crt'><span class="crtprompt"> $magick> </span><span class='crtin'>rpm -ivh ImageMagick-6.5. 6-?.*.rpm</span></p>505 <p class='crt'><span class="crtprompt"> $magick> </span><span class='crtin'>rpm -ivh ImageMagick-6.5.7-?.*.rpm</span></p> 506 506 </div> 507 507 … … 523 523 <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> 524 524 <p>Unpack and change into the top-level ImageMagick directory:</p> 525 <p class='crt'><span class="crtprompt"> $magick> </span><span class='crtin'>tar xvfz ImageMagick-6.5. 6-10.tar.gz</span><span class='crtout'></span><span class="crtprompt"> $magick> </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> </span><span class='crtin'>tar xvfz ImageMagick-6.5.7-0.tar.gz</span><span class='crtout'></span><span class="crtprompt"> $magick> </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> 526 526 <p class='crt'><span class="crtprompt"> $magick> </span><span class='crtin'>export CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.5.sdk/ \ <br/> 527 527 -arch i386 -I/sw/include/"</span></p> <p>Set your LDFLAGS environment variable to:</p> … … 552 552 <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> 553 553 554 <p class='crt'><span class="crtprompt"> $magick> </span><span class='crtin'>tar jxvf ImageMagick-6.5. 6-?.tar.bz2</span><span class='crtout'></span><span class="crtprompt"> $magick> </span><span class='crtin'>cd ImageMagick-6.5.6</span><span class='crtout'></span><span class="crtprompt"> $magick> </span><span class='crtin'>export CPPFLAGS="-Ic:/Progra~1/GnuWin32/include"</span><span class='crtout'></span><span class="crtprompt"> $magick> </span><span class='crtin'>export LDFLAGS="-Lc:/Progra~1/GnuWin32/lib"</span><span class='crtout'></span><span class="crtprompt"> $magick> </span><span class='crtin'>./configure --without-perl</span><span class='crtout'></span><span class="crtprompt"> $magick> </span><span class='crtin'>make</span><span class='crtout'></span><span class="crtprompt"> $magick> </span><span class='crtin'>sudo make install</span></p></div>554 <p class='crt'><span class="crtprompt"> $magick> </span><span class='crtin'>tar jxvf ImageMagick-6.5.7-?.tar.bz2</span><span class='crtout'></span><span class="crtprompt"> $magick> </span><span class='crtin'>cd ImageMagick-6.5.7</span><span class='crtout'></span><span class="crtprompt"> $magick> </span><span class='crtin'>export CPPFLAGS="-Ic:/Progra~1/GnuWin32/include"</span><span class='crtout'></span><span class="crtprompt"> $magick> </span><span class='crtin'>export LDFLAGS="-Lc:/Progra~1/GnuWin32/lib"</span><span class='crtout'></span><span class="crtprompt"> $magick> </span><span class='crtin'>./configure --without-perl</span><span class='crtout'></span><span class="crtprompt"> $magick> </span><span class='crtin'>make</span><span class='crtout'></span><span class="crtprompt"> $magick> </span><span class='crtin'>sudo make install</span></p></div> 555 555 556 556 <h2><a name="problems"></a>Dealing with Unexpected Problems</h2>
