problems building imagemagick 6.3.9 on Debian system

Vitezslav Kotrla <[email protected]>
Newsgroups gmane.comp.video.image-magick.bugs
Message-ID <1204391594.4658.22.camel@localhost>
I'm trying to build 6.3.9 on Debian system as it seems bug I reported
yesterday may be already fixed in 6.3.9. But make fails with some
undefined macros, see details below.

Any idea what's wrong?


Vit

----

$ ./configure
...
(snipped some lines)
...
ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.

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=16	16
High Dynamic Range Imagery
                  --enable-hdri=no		no

Delegate Configuration:
BZLIB             --with-bzlib=yes		yes
DJVU              --with-djvu=no		no
DPS               --with-dps=yes		no
FlashPIX          --with-fpx=yes		no
FontConfig        --with-fontconfig=yes		yes
FreeType          --with-freetype=yes		yes
GhostPCL          None				pcl6 (unknown)
GhostXPS          None				gxps (unknown)
Ghostscript       None				gs (8.61)
result_ghostscript_font_dir='none'
Ghostscript fonts --with-gs-font-dir=default	
Ghostscript lib   --with-gslib=yes		no
Graphviz          --with-gvc=yes		yes
JBIG              --with-jbig=yes		no
JPEG v1           --with-jpeg=yes		yes
JPEG-2000         --with-jp2=yes		yes
LCMS              --with-lcms=yes		yes
LQR               --with-lqr=no		no
Magick++          --with-magick-plus-plus=yes	yes
OpenEXR           --with-openexr=yes		yes
PERL              --with-perl=yes		/usr/bin/perl
PNG               --with-png=yes		yes
RSVG              --with-rsvg=yes		yes
TIFF              --with-tiff=yes		yes
result_windows_font_dir='none'
Windows fonts     --with-windows-font-dir=	
WMF               --with-wmf=yes		yes
X11               --with-x=			yes
XML               --with-xml=yes		yes
ZLIB              --with-zlib=yes		yes

X11 Configuration:
      X_CFLAGS        = 
      X_PRE_LIBS      = -lSM -lICE
      X_LIBS          = 
      X_EXTRA_LIBS    = 

Options used to compile and link:
  PREFIX          = /usr/local
  EXEC-PREFIX     = /usr/local
  VERSION         = 6.3.9
  CC              = gcc
  CFLAGS          = -g -O2 -Wall -W -pthread
  MAGICK_CFLAGS   = -g -O2 -Wall -W -pthread
  CPPFLAGS        = -I/usr/local/include/ImageMagick
  PCFLAGS         = 
  DEFS            = -DHAVE_CONFIG_H
  LDFLAGS         = -lfreetype -lz
  MAGICK_LDFLAGS  = -L/usr/local/lib -lfreetype -lz
  LIBS            = -lMagickCore -llcms -ltiff -lfreetype -ljpeg -lfontconfig -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lpthread
  CXX             = g++
  CXXFLAGS        = -g -O2 -Wall -W -pthread

$ make -j3
cd . && /bin/sh /usr/local/src/imagemagick/ImageMagick-6.3.9/config/missing --run autoconf
configure.ac:97: error: possibly undefined macro: AM_SANITY_CHECK
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:99: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:184: error: possibly undefined macro: AC_PROG_LD
configure.ac:186: error: possibly undefined macro: AM_PROG_CC_C_O
configure.ac:190: error: possibly undefined macro: AC_COMPILE_WARNINGS
configure.ac:192: error: possibly undefined macro: AM_WITH_DMALLOC
configure.ac:225: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:299: error: possibly undefined macro: AC_OPENMP
configure.ac:338: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
configure.ac:503: error: possibly undefined macro: AM_MAINTAINER_MODE
configure.ac:1119: error: possibly undefined macro: AC_CXX_HAVE_BOOL
configure.ac:1120: error: possibly undefined macro: AC_CXX_HAVE_NAMESPACES
configure.ac:1121: error: possibly undefined macro: AC_CXX_HAVE_STD_NAMESPACE
configure.ac:1122: error: possibly undefined macro: AC_CXX_HAVE_STD_LIBS
configure.ac:1123: error: possibly undefined macro: AC_CXX_HAVE_LSTRING
configure.ac:1871: error: possibly undefined macro: AC_CHECK_FRAMEWORK
configure.ac:2658: error: possibly undefined macro: AM_MISSING_PROG
configure.ac:2891: error: possibly undefined macro: AC_PROG_PERL_VERSION
make: *** [configure] Error 1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.