configure..some not included ,failed tests ask for help!
Posted: 2013-04-21T09:28:57-07:00
I am trying to build ImageMagick from source --with-freetype,png,jpeg etc.. while configure
OS: CENTOS 5.4x64
./configure --prefix=/usr/local/ImageMagick --with-quantum-depth=8 LDFLAGS="-L/usr/local/jpeg-6b/lib -L/usr/local/zlib/lib -L/usr/local/libpng/lib -L/usr/local/freetype/lib -L/usr/local/tiff/lib -L/usr/local/jasper/lib" CPPFLAGS="-I/usr/local/jpeg-6b/include -I/usr/local/zlib/include -I/usr/local/libpng/include -I/usr/local/freetype/include -I/usr/local/tiff/include -I/usr/local/jasper/include"
here's the result,like failed tests
anyone can help me ,thank you a lot!
error config.log:
OS: CENTOS 5.4x64
./configure --prefix=/usr/local/ImageMagick --with-quantum-depth=8 LDFLAGS="-L/usr/local/jpeg-6b/lib -L/usr/local/zlib/lib -L/usr/local/libpng/lib -L/usr/local/freetype/lib -L/usr/local/tiff/lib -L/usr/local/jasper/lib" CPPFLAGS="-I/usr/local/jpeg-6b/include -I/usr/local/zlib/include -I/usr/local/libpng/include -I/usr/local/freetype/include -I/usr/local/tiff/include -I/usr/local/jasper/include"
here's the result,like failed tests
Code: Select all
Host system type : x86_64-unknown-linux-gnu
Option Value
-------------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=yes yes
Module support --with-modules=yes yes
GNU ld --with-gnu-ld=yes yes
Quantum depth --with-quantum-depth=8 8
High Dynamic Range Imagery
--enable-hdri=no no
Delegate Configuration:
BZLIB --with-bzlib=yes no
DJVU --with-djvu=no no
DPS --with-dps=yes no
FlashPIX --with-fpx=yes no
FontConfig --with-fontconfig=yes no
FreeType --with-freetype=yes no (failed tests)
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (unknown)
result_ghostscript_font_dir='none'
Ghostscript fonts --with-gs-font-dir=default
Ghostscript lib --with-gslib=yes no
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes no (failed tests)
JPEG-2000 --with-jp2=yes no (failed tests)
LCMS --with-lcms=yes no
LQR --with-lqr=no no
Magick++ --with-magick-plus-plus=yes yes
OpenEXR --with-openexr=yes no
PERL --with-perl=yes /usr/bin/perl
PNG --with-png=yes no (failed tests)
RSVG --with-rsvg=yes no
TIFF --with-tiff=yes no (failed tests)
result_windows_font_dir='none'
Windows fonts --with-windows-font-dir=
WMF --with-wmf=yes no
X11 --with-x= yes
XML --with-xml=yes no
ZLIB --with-zlib=yes yes
anyone can help me ,thank you a lot!
error config.log:
Code: Select all
configure:35981: result: -------------------------------------------------------------
configure:35983: result: Checking for PNG support
configure:35985: result: -------------------------------------------------------------
configure:35999: checking png.h usability
configure:36016: gcc -c -g -O2 -Wall -W -pthread -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/jpeg-6b/include -I/usr/local/zlib/include -I/usr/local/libpng/include -I/usr/local/freetype/include -I/usr/local/tiff/include -I/usr/local/jasper/include conftest.c >&5
configure:36023: $? = 0
configure:36037: result: yes
configure:36041: checking png.h presence
configure:36056: gcc -E -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/jpeg-6b/include -I/usr/local/zlib/include -I/usr/local/libpng/include -I/usr/local/freetype/include -I/usr/local/tiff/include -I/usr/local/jasper/include conftest.c
configure:36063: $? = 0
configure:36077: result: yes
configure:36110: checking for png.h
configure:36117: result: yes
configure:36128: checking for png_get_io_ptr in -lpng
configure:36163: gcc -o conftest -g -O2 -Wall -W -pthread -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/jpeg-6b/include -I/usr/local/zlib/include -I/usr/local/libpng/include -I/usr/local/freetype/include -I/usr/local/tiff/include -I/usr/local/jasper/include -L/usr/local/jpeg-6b/lib -L/usr/local/zlib/lib -L/usr/local/libpng/lib -L/usr/local/freetype/lib -L/usr/local/tiff/lib -L/usr/local/jasper/lib -L/usr/lib64 conftest.c -lpng -lX11 -lz -lm -ldl -lpthread >&5
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
configure:36170: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "ImageMagick"
| #define PACKAGE_TARNAME "ImageMagick"
| #define PACKAGE_VERSION "6.4.0"
| #define PACKAGE_STRING "ImageMagick 6.4.0"
| #define PACKAGE_BUGREPORT "http://www.imagemagick.org"
| #define PACKAGE "ImageMagick"
| #define VERSION "6.4.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_PTHREAD 1
| #define HAVE_FSEEKO 1
| #define _FILE_OFFSET_BITS 64
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define LT_MODULE_EXT ".so"
| #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
| #define LT_DLSEARCH_PATH "/lib:/usr/lib:/usr/lib64/mysql"
| #define HAVE_LIBDL 1
| #define HAVE_DLERROR 1
| #define HAVE_LIBDLLOADER 1
| #define HAVE_ARGZ_H 1
| #define HAVE_ERROR_T 1
| #define HAVE_ARGZ_ADD 1
| #define HAVE_ARGZ_APPEND 1
| #define HAVE_ARGZ_COUNT 1
| #define HAVE_ARGZ_CREATE_SEP 1
| #define HAVE_ARGZ_INSERT 1
| #define HAVE_ARGZ_NEXT 1
| #define HAVE_ARGZ_STRINGIFY 1
| #define HAVE_WORKING_ARGZ 1
| #define HAVE_PRELOADED_SYMBOLS 1
| #define LTDL_DLOPEN_SELF_WORKS 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_CLOSEDIR 1
| #define HAVE_OPENDIR 1
| #define HAVE_READDIR 1
| #define BUILD_MODULES 1
| #define LTDL_DELEGATE 1
| #define INSTALLED_SUPPORT 1
| #define QUANTUM_DEPTH 8
| #define STDC_HEADERS 1
| #define HAVE_DIRENT_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMEB_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE__BOOL 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STRINGIZE 1
| #define TIME_WITH_SYS_TIME 1
| #define restrict __restrict
| #define HAVE_LONG_DOUBLE_WIDER 1
| #define HAVE_LONG_DOUBLE 1
| #define SIZEOF_SIGNED_SHORT 2
| #define SIZEOF_UNSIGNED_SHORT 2
| #define SIZEOF_SIGNED_INT 4
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_SIGNED_LONG 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_SIGNED_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_OFF_T 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_UNSIGNED_INTP 8
| #define RETSIGTYPE void
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP_FILEIO 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define RETSIGTYPE void
| #define HAVE_VPRINTF 1
| #define HAVE__EXIT 1
| #define HAVE_ATEXIT 1
| #define HAVE_CLOCK 1
| #define HAVE_EXECVP 1
| #define HAVE_FORK 1
| #define HAVE_FTIME 1
| #define HAVE_FTRUNCATE 1
| #define HAVE_GETCWD 1
| #define HAVE_GETPID 1
| #define HAVE_GETDTABLESIZE 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_LSTAT 1
| #define HAVE_MEMSET 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MUNMAP 1
| #define HAVE_PCLOSE 1
| #define HAVE_POLL 1
| #define HAVE_POPEN 1
| #define HAVE_PREAD 1
| #define HAVE_PWRITE 1
| #define HAVE_RAISE 1
| #define HAVE_RAND_R 1
| #define HAVE_READLINK 1
| #define HAVE_REALPATH 1
| #define HAVE_SELECT 1
| #define HAVE_SEEKDIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_SETVBUF 1
| #define HAVE_STAT 1
| #define HAVE_STRCSPN 1
| #define HAVE_STRDUP 1
| #define HAVE_STRPBRK 1
| #define HAVE_STRSPN 1
| #define HAVE_STRSTR 1
| #define HAVE_STRTOL 1
| #define HAVE_SYMLINK 1
| #define HAVE_SYSCONF 1
| #define HAVE_SIGEMPTYSET 1
| #define HAVE_SIGACTION 1
| #define HAVE_STRERROR 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_TELLDIR 1
| #define HAVE_TEMPNAM 1
| #define HAVE_TIMES 1
| #define HAVE_USLEEP 1
| #define HAVE_VSPRINTF 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_WAITPID 1
| #define HAVE_DECL_PREAD 1
| #define HAVE_DECL_PWRITE 1
| #define HAVE_DECL_STRLCPY 0
| #define HAVE_DECL_VSNPRINTF 1
| #define HAVE_BOOL /**/
| #define HAVE_NAMESPACES /**/
| #define HAVE_STD_NAMESPACE /**/
| #define HAVE_STD_LIBS /**/
| #define HAVE_LSTRING /**/
| #define X11_CONFIGURE_PATH ""
| #define ZLIB_DELEGATE 1
| #define X11_DELEGATE 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char png_get_io_ptr ();
| int
| main ()
| {
| return png_get_io_ptr ();
| ;
| return 0;
| }
configure:36191: result: no
configure:36199: checking if PNG package is complete
configure:36203: result: no -- some components failed test