Delegate Configuration failed tests

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Locked
andresn

Delegate Configuration failed tests

Post by andresn »

Hello,

make install using Freebsd 4.7 Ports results in:

checking for FT_Init_FreeType in -lfreetype... no
checking for png_get_io_ptr in -lpng... no
checking for jpeg_read_header in -ljpeg... no
checking for jas_stream_fopen in -ljasper... no

while all other tests are okay.

support e.g. for jpeg files is not installed due to failed test.

resulting Delegate Configuration:
BZLIB --with-bzlib=yesyes
DJVU --with-djvu=yesno
DPS --with-dps=nono
FlashPIX --with-fpx=yesno (failed tests)
FontConfig --with-fontconfig=yesyes
FreeType --with-freetype=yesno (failed tests)
GhostPCL Nonepcl6 (unknown)
Ghostscript Nonegs (7.07)
Ghostscript fonts --with-gs-font-dir=default/usr/local/share/ghostscript/fonts/
Ghostscript lib --with-gslib=nono
Graphviz --with-gvc=no
JBIG --with-jbig=yesno (failed tests)
JPEG v1 --with-jpeg=yesno (failed tests)
JPEG-2000 --with-jp2=yesno (failed tests)
LCMS --with-lcms=yesno (failed tests)
Magick++ --with-magick-plus-plus=yesyes
PERL --with-perl=/usr/local/bin/perl5.8.4/usr/local/bin/perl5.8.4
PNG --with-png=yesno (failed tests)
RSVG --with-rsvg=nono
TIFF --with-tiff=yesno (failed tests)
Windows fonts --with-windows-font-dir=none
WMF --with-wmf=nono
X11 --with-x=yesyes
XML --with-xml=yesno (failed tests)
ZLIB --with-zlib=yesyes



Any ideas how to solve this problem?

Thanks

Andre

User avatar
magick
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Re: Delegate Configuration failed tests

Post by magick »

Look in config.log and search for ljpeg. In that area it will tell you why the JPEG library failed to validate. Fix the problem and rerun the configure script.

andresn

Re: Delegate Configuration failed tests

Post by andresn »

Thank you for your reply. As I'm not an expert, I have inlcuded the error message from config.log.

Please could you tell me what went wrong. Thank you for your help.

configure:35821: checking for jpeglib.h
configure:35828: result: yes
configure:35839: checking for jpeg_read_header in -ljpeg
configure:35874: cc -o conftest -O -pipe -Wall -W -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -L/usr/local/lib -L/usr/local/lib -R/usr/local/lib conftest.c -ljpeg -lX11 -lbz2 -lz -lm >&5
/usr/libexec/elf/ld: cannot find -lX11
configure:35880: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define HAVE_MAGICK_FSEEKO 1
| #define STDC_HEADERS 1
| #define HAVE_DIRENT_H 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_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LTDL_SHLIB_EXT ".so"
| #define LTDL_SHLIBPATH_VAR "LD_LIBRARY_PATH"
| #define LTDL_SYSSEARCHPATH "/lib:/usr/lib"
| #define LTDL_OBJDIR ".libs/"
| #define HAVE_PRELOADED_SYMBOLS 1
| #define HAVE_LIBDL 1
| #define HAVE_DLERROR 1
| #define LTDL_DLOPEN_DEPLIBS 1
| #define error_t int
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRCHR 1
| #define HAVE_STRRCHR 1
| #define HAVE_MEMCPY 1
| #define HAVE_MEMMOVE 1
| #define HAVE_STRCMP 1
| #define HAVE_CLOSEDIR 1
| #define HAVE_OPENDIR 1
| #define HAVE_READDIR 1
| #define HasLTDL 1
| #define UseInstalledMagick 1
| #define QuantumDepth 16
| #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_MACHINE_PARAM_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_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_UNISTD_H 1
| #define HAVE_STRINGIZE 1
| #define TIME_WITH_SYS_TIME 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_UNSIGNED_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_LONG 4
| #define SIZEOF_UNSIGNED_LONG 4
| #define SIZEOF_SIZE_T 4
| #define SIZEOF_SSIZE_T 4
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define SIZEOF_LONG_DOUBLE 12
| #define SIZEOF_VOID_P 4
| #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 PROTOTYPES 1
| #define __PROTOTYPES 1
| #define RETSIGTYPE void
| #define HAVE_VPRINTF 1
| #define HAVE__EXIT 1
| #define HAVE_ATEXIT 1
| #define HAVE_CLOCK_GETTIME 1
| #define HAVE_FTRUNCATE 1
| #define HAVE_GETCWD 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_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_STRLCAT 1
| #define HAVE_STRLCPY 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_BOOL
| #define HAVE_NAMESPACES
| #define HAVE_STD_NAMESPACE
| #define HAVE_STD_LIBS
| #define HAVE_LSTRING
| #define X11ConfigurePath "X11ConfigurePath"
| #define HasZLIB 1
| #define HasBZLIB 1
| #define HasX11 1
| #define HasFONTCONFIG 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 jpeg_read_header ();
| int
| main ()
| {
| return jpeg_read_header ();
| ;
| return 0;
| }
configure:35898: result: no

andresn

Re: Delegate Configuration failed tests

Post by andresn »

X11 Files are located here:

/usr/X11R6/lib

I have found the following solution:

FreeBSD Ports > make config
disable X11 support

what are the consequences disabling X11 support?

User avatar
magick
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Re: Delegate Configuration failed tests

Post by magick »

Without X11 support the animate, display, and import programs won't work. In addition you cannot annotate with fully qualified X11 fonts nor can you read the XWD image format.

Locked