X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=www%2Fadvanced-unix-installation.html;h=2066f4e8755e9b239a0ea35aba838b40fce8d195;hb=bf126f7596e112266716c6ca94a8ff638a7c4400;hp=fefb3fce62ba99945492f67dc908e3114c7beb7e;hpb=f9349674250d4bf630fb2ba19da49ef2b640f744;p=imagemagick diff --git a/www/advanced-unix-installation.html b/www/advanced-unix-installation.html index fefb3fce6..2066f4e87 100644 --- a/www/advanced-unix-installation.html +++ b/www/advanced-unix-installation.html @@ -1,6 +1,10 @@ - + @@ -9,7 +13,7 @@ - + @@ -24,6 +28,7 @@ + @@ -44,17 +49,26 @@
- - [ImageMagick] - - [sponsor] +
+ + +
- + ImageMagick Logo -
@@ -73,6 +87,9 @@
Mac OS X
+
+ iPhone +
Windows
@@ -125,7 +142,7 @@
- - +
@@ -196,12 +224,11 @@

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:

-

$magick> cd ImageMagick-6.6.6-10 $magick> ./configure

+

$magick> cd ImageMagick-6.7.0-1 $magick> ./configure

Watch the configure script output to verify that it finds everything that 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:

-
 ImageMagick is configured as follows. Please verify that this configuration
 matches your expectations.
 
@@ -273,7 +300,6 @@ Options used to compile and link:
                     -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lgomp -lpthread -lltdl
   CXX             = g++
   CXXFLAGS        = -g -O2 -Wall -W -pthread
-

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:

@@ -455,7 +481,7 @@ Options used to compile and link:

While configure 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 config.log. 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 config.log are normal* because configure works by trying something and seeing if it fails. An error in config.log is only a problem if the test should have passed on your system.

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.

-

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 ImageMagick Defect Support Forum. All bug reports should contain the operating system type (as reported by uname -a) and the compiler/compiler-version. A copy of the configure script output and/or the relevant portion of config.log file may be valuable in order to find the problem. If you post portions of config.log, 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.

+

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 ImageMagick Defect Support Forum. All bug reports should contain the operating system type (as reported by uname -a) and the compiler/compiler-version. A copy of the configure script output and/or the relevant portion of config.log file may be valuable in order to find the problem. If you post portions of config.log, 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.

ImageMagick is now configured and ready to build

@@ -526,7 +552,7 @@ Options used to compile and link:

$magick> rpmbuild --rebuild ImageMagick.src.rpm

After the build you, locate the RPMS folder and install the ImageMagick binary RPM distribution:

-

$magick> rpm -ivh ImageMagick-6.6.6-?.*.rpm

+

$magick> rpm -ivh ImageMagick-6.7.0-?.*.rpm

Mac OS X-specific Build instructions

@@ -550,7 +576,7 @@ Options used to compile and link:

Download the ImageMagick source distribution and verify the distribution against its message digest.

Unpack and change into the top-level ImageMagick directory:

-

$magick> tar xvfz ImageMagick-6.6.6-10.tar.gz $magick> cd ImageMagick-6.6.6-10

Configure ImageMagick:

+

$magick> tar xvfz ImageMagick-6.7.0-1.tar.gz $magick> cd ImageMagick-6.7.0-1

Configure ImageMagick:

$magick> ./configure --prefix=/opt --with-quantum-depth=16 \
--disable-dependency-tracking --with-x=yes \
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib/ \
@@ -570,7 +596,7 @@ Options used to compile and link:

Although you can download and install delegate libraries yourself, many are already available in the GnuWin32 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,

-

$magick> tar jxvf ImageMagick-6.6.6-?.tar.bz2 $magick> cd ImageMagick-6.6.6-10 $magick> export CPPFLAGS="-Ic:/Progra~1/GnuWin32/include" $magick> export LDFLAGS="-Lc:/Progra~1/GnuWin32/lib" $magick> ./configure --without-perl $magick> make $magick> sudo make install

+

$magick> tar jxvf ImageMagick-6.7.0-?.tar.bz2 $magick> cd ImageMagick-6.7.0-1 $magick> export CPPFLAGS="-Ic:/Progra~1/GnuWin32/include" $magick> export LDFLAGS="-Lc:/Progra~1/GnuWin32/lib" $magick> ./configure --without-perl $magick> make $magick> sudo make install

Dealing with Unexpected Problems