Lines Matching +full:- +full:- +full:enable +full:- +full:libraries
3 ImageMagick builds on a variety of Unix and Unix-like operating systems
21 (e.g. stdlib.h), and if any delegate libraries are available for ImageMagick
26 $magick> cd ImageMagick-7.0.7
36 Host system type: x86_64-unknown-linux-gnu
37 Build system type: x86_64-unknown-linux-gnu
40 ----------------------------------------------------------------------------
41 Shared libraries --enable-shared=yes yes
42 Static libraries --enable-static=yes yes
43 Module support --with-modules=yes yes
44 GNU ld --with-gnu-ld=yes yes
45 Quantum depth --with-quantum-depth=16 16
47 --enable-hdri=no no
50 BZLIB --with-bzlib=yes yes
51 Autotrace --with-autotrace=yes yes
52 DJVU --with-djvu=yes no
53 DPS --with-dps=yes no
54 FlashPIX --with-fpx=yes no
55 FontConfig --with-fontconfig=yes yes
56 FreeType --with-freetype=yes yes
61 Ghostscript fonts --with-gs-font-dir=default
62 Ghostscript lib --with-gslib=yes no (failed tests)
63 Graphviz --with-gvc=yes yes
64 JBIG --with-jbig= no
65 JPEG v1 --with-jpeg=yes yes
66 JPEG-2000 --with-jp2=yes yes
67 LCMS v1 --with-lcms=yes yes
68 LCMS v2 --with-lcms2=yes yes
69 LQR --with-lqr=yes no
70 Magick++ --with-magick-plus-plus=yes yes
71 OpenEXR --with-openexr=yes yes
72 PERL --with-perl=yes /usr/bin/perl
73 PNG --with-png=yes yes
74 RSVG --with-rsvg=yes yes
75 TIFF --with-tiff=yes yes
77 Windows fonts --with-windows-font-dir=
78 WMF --with-wmf=yes yes
79 X11 --with-x= yes
80 XML --with-xml=yes yes
81 ZLIB --with-zlib=yes yes
85 X_PRE_LIBS = -lSM -lICE
91 EXEC-PREFIX = /usr/local
93 CC = gcc -std=gnu99
94 CFLAGS = -fopenmp -g -O2 -Wall -W -pthread
95 MAGICK_CFLAGS = -fopenmp -g -O2 -Wall -W -pthread
96 CPPFLAGS = -I/usr/local/include/ImageMagick
97 PCFLAGS = -fopenmp
98 DEFS = -DHAVE_CONFIG_H
99 LDFLAGS = -lfreetype
100 MAGICK_LDFLAGS = -L/usr/local/lib -lfreetype
101 LIBS = -lMagickCore -llcms -ltiff -lfreetype -ljpeg
102 -lfontconfig -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz
103 -lm -lgomp -lpthread -lltdl
105 CXXFLAGS = -g -O2 -Wall -W -pthread
107 You can influence choice of compiler, compilation flags, or libraries of the
112 Name of C compiler (e.g. cc -Xa) to use.
118 Compiler flags (e.g. -g -O2) to compile C code.
121 Compiler flags (e.g. -g -O2) to compile C++ code.
124 Include paths (.e.g. -I/usr/local) to look for header files.
127 Library paths (.e.g. -L/usr/local) to look for libraries systems that
128 support the notion of a library run-path may require an additional
129 argument in order to find shared libraries at run time. For example,
130 the Solaris linker requires an argument of the form -R/path. Some
131 Linux systems will work with -rpath /usr/local/lib, while some other
132 Linux systems who's gcc does not pass -rpath to the linker, require
133 an argument of the form -Wl,-rpath,/usr/local/lib.
136 Extra libraries (.e.g. -l/usr/local/lib) required to link.
140 $magick> ./configure CC=c99 CFLAGS=-O2 LIBS=-lposix
146 but if it doesn't, you can use the --x-includes=path and --x-libraries=path
150 options. When disabling an option --disable-something is equivalent to
151 specifying --enable-something=no and --without-something is equivalent to
152 --with-something=no. The configure options are as follows (execute configure
153 --help to see all options).
157 --enable-something), it enables code already present in ImageMagick. When a
158 package is enabled (via --with-something), the configure script will search
160 libraries are found by compiler) it will be included in the build. The
168 --enable-shared
169 build the shared libraries and support for loading coder and process
170 modules. Shared libraries are preferred because they allow programs
172 addition shared libraries are required in order for PerlMagick to be
176 ImageMagick built with delegates (see MAGICK PLUG-INS below) can pose
177 additional challenges. If ImageMagick is built using static libraries (the
178 default without --enable-shared) then delegate libraries may be built as
179 either static libraries or shared libraries. However, if ImageMagick is
180 built using shared libraries, then all delegate libraries must also be
181 built as shared libraries. Static libraries usually have the extension
182 .a, while shared libraries typically have extensions like .so, .sa, or
183 .dll. Code in shared libraries normally must compiled using a special
189 -fPIC). However, you must compile all shared library source with the
190 same flag (for gcc use -fPIC rather than -fpic). While static libraries
191 are normally created using an archive tool like ar, shared libraries
192 are built using special linker or compiler options (e.g. -shared for gcc).
194 If --enable-shared is not specified, a new PERL interpreter (PerlMagick)
197 utilities. If --enable-shared is specified, the PerlMagick extension is
199 PERL interpreter at run-time. Use of dynamically-loaded extensions is
200 preferable over statically linked extensions so use --enable-shared if
201 possible (note that all libraries used with ImageMagick must be shared
202 libraries!).
204 --disable-static
205 static archive libraries (with extension .a) are not built. If you
206 are building shared libraries, there is little value to building static
207 libraries. Reasons to build static libraries include: 1) they can be
209 libMagick.so); 3) building PIC versions of the delegate libraries may
211 libraries.
213 --disable-installed
219 use hard-coded paths and locates support files by computing an offset path
224 --enable-ccmalloc
225 enable 'ccmalloc' memory debug support (default disabled).
227 --enable-prof
228 enable 'prof' profiling support (default disabled).
230 --enable-gprof
231 enable 'gprof' profiling support (default disabled).
233 --enable-gcov
235 enable 'gcov' profiling support (default disabled).
236 --disable-openmp
240 a significant speed-up with the assistance of the OpenMP API when
241 running on modern dual and quad-core processors.
243 --disable-largefile
247 2GB on a 32-bit CPU) if the operating system supports large files. Some
250 --disable-largefile, dependent applications do not require special
255 --enable-legacy-support
256 install legacy command-line utilities (default disabled).
258 --with-quantum-depth
263 example, --with-quantum-depth=8 builds ImageMagick using 8-bit quantums.
264 Most computer display adapters use 8-bit quantums. Currently supported
266 some image formats support 16 bits-per-pixel. However, this option is
267 important in determining the overall run-time performance of ImageMagick.
275 8 0-255 00-FF
276 16 0-65535 0000-FFFF
277 32 0-4294967295 00000000-FFFFFFFF
280 require more memory. For example, using sixteen-bit pixel quantums can
282 than when it is built to support eight-bit pixel quantums.
295 --enable-hdri
298 --enable-osx-universal-binary
301 --without-modules
305 installed under the directory [prefix]/lib/ImageMagick-X.X.X/modules-QN
308 is only available in conjunction with --enable-shared. If --enable-shared
310 if --enable-shared and --disable-modules are specified, the module loader
314 --with-cache
319 consume before switching to using memory-mapped temporary files to store
322 --without-threads
325 By default, the ImageMagick library is compiled with multi-thread
326 support. If this undesirable, specify --without-threads.
328 --with-frozenpaths
329 enable frozen delegate paths.
332 configuration file without full paths. Specify this option to enable
338 --without-magick-plus-plus
345 optimization and debug flags (default -g -O2). Antique C++ compilers
349 --with-package-release-name
350 encode this name into the shared library name (see libtools -release
353 --without-perl
358 --without-perl is specified, you must first install ImageMagick, change to
360 PerlMagick is configured even if --without-perl is specified. If the
361 argument --with-perl=/path/to/perl is supplied, /../path/to/perl is be
365 --with-perl=PERL
368 --with-perl-options=OPTIONS
369 options to pass on command-line when generating PerlMagick's Makefile
380 via "--with-perl-options=PREFIX=/some/place". Other options accepted by
385 --without-bzlib
388 --without-dps
391 --with-fpx
392 enable FlashPIX support.
394 --without-freetype
397 --with-gslib
398 enable Ghostscript library support.
400 --without-jbig
403 --without-jpeg
406 --without-jp2
409 --without-lcms
412 --without-lcms2
415 --without-lzma
418 --without-png
421 --without-tiff
424 --without-wmf
427 --with-fontpath
430 --with-gs-font-dir
441 --with-windows-font-dir
442 directory containing MS-Windows fonts.
444 Specify the directory containing MS-Windows-compatible fonts. This not
445 necessary when ImageMagick is running under MS-Windows.
447 --without-xml
450 --without-zlib
453 --without-x
456 By default, ImageMagick uses the X11 delegate libraries if they are
457 available. When --without-x is specified, use of X11 is disabled. The
458 display, animate, and import sub-commands are not included. The remaining
459 sub-commands have reduced functionality such as no access to X11 fonts
462 --with-share-path=DIR
465 --with-libstdc=DIR
470 ImageMagick. The configure script tests for headers and libraries by
472 pre-processor flags (CPPFLAGS), and linker flags (LDFLAGS). Any errors are
480 header include path (CPPFLAGS -I option); 2) a delegate library is not in
481 the linker search/run path (LDFLAGS -L/-R option); 3) a delegate library is
487 system type (as reported by uname -a) and the compiler/compiler-version. A
540 By default, ImageMagick is installs binaries in /../usr/local/bin, libraries
543 other than /../usr/local by giving configure the option --prefix=PATH. This
557 $magick> identify -list configure
561 $magick> identify -list format
572 ImageMagick developers use the current release of all dependent libraries.
574 Linux-specific Build instructions
581 $magick> rpmbuild --rebuild ImageMagick.src.rpm
586 $magick> rpm -ivh ImageMagick-7.0.0-?.*.rpm
588 MinGW-specific Build instructions
590 Although you can download and install delegate libraries yourself, many
592 whichever delegate libraries you require such as JPEG, PNG, TIFF, etc. Make
596 $magick> tar jxvf ImageMagick-7.0.0-?.tar.bz2
597 $magick> cd ImageMagick-7.0.0
598 $magick> export CPPFLAGS="-Ic:/Progra~1/GnuWin32/include"
599 $magick> export LDFLAGS="-Lc:/Progra~1/GnuWin32/lib"
600 $magick> ./configure --without-perl
614 add --disable-dependency-tracking to your configure command line.
619 $magick> configure LDFLAGS='-L/usr/local/lib -R/usr/local/lib'
621 Dynamic Linker Run-time Bindings
629 libraries ImageMagick depends on:
633 Delegate Libraries
646 $magick> yum install libjpeg libjpeg-devel
651 $magick> identify -list format
653 You should see a mode of rw- associated with the JPEG tag. This mode means
660 rerun configure with the --enable-shared or --enable-shared --with-modules