compile errors
Posted: 2009-01-13T23:48:02-07:00
I am trying to install ImageMagic on a puppy linux (4.12) operating system, on a Dell m1330 laptop. I downloaded, uncompressed, untarred, ran configure, and then make, as outlined in the instructions. My compiler is: gcc (GCC) 4.2.2.
Unfortunately, I get alot of errors, and I don't know if some are benign, but "make check" spits these errors out as well. And, the utilities (like convert) don't get copied to /usr/local/bin.
Any ideas about what I'm doing wrong?
Thanks, Robert
Unfortunately, I get alot of errors, and I don't know if some are benign, but "make check" spits these errors out as well. And, the utilities (like convert) don't get copied to /usr/local/bin.
Any ideas about what I'm doing wrong?
Thanks, Robert
Code: Select all
# make check
make check-am
make[1]: Entering directory `/mnt/sda4/downloads/ImageMagick-6.4.8-5'
/bin/sh ./libtool --silent --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./config -I./ltdl -I./ltdl -I/usr/include/freetype2 -I/usr/include/libxml2 -fopenmp -g -O2 -Wall -W -pthread -MT magick/magick_libMagickCore_la-type.lo -MD -MP -MF magick/.deps/magick_libMagickCore_la-type.Tpo -c -o magick/magick_libMagickCore_la-type.lo `test -f 'magick/type.c' || echo './'`magick/type.c
magick/type.c:61:36: error: fontconfig/fontconfig.h: No such file or directory
magick/type.c: In function 'LoadFontConfigFonts':
magick/type.c:657: error: 'FcChar8' undeclared (first use in this function)
magick/type.c:657: error: (Each undeclared identifier is reported only once
magick/type.c:657: error: for each function it appears in.)
magick/type.c:658: error: 'family' undeclared (first use in this function)
magick/type.c:659: error: 'file' undeclared (first use in this function)
magick/type.c:659: warning: left-hand operand of comma expression has no effect
magick/type.c:660: error: 'style' undeclared (first use in this function)
magick/type.c:660: warning: left-hand operand of comma expression has no effect
magick/type.c:662: error: 'FcConfig' undeclared (first use in this function)
magick/type.c:663: error: 'font_config' undeclared (first use in this function)
magick/type.c:665: error: 'FcFontSet' undeclared (first use in this function)
magick/type.c:666: error: 'font_set' undeclared (first use in this function)
magick/type.c:668: error: 'FcObjectSet' undeclared (first use in this function)
magick/type.c:669: error: 'object_set' undeclared (first use in this function)
magick/type.c:671: error: 'FcPattern' undeclared (first use in this function)
magick/type.c:672: error: 'pattern' undeclared (first use in this function)
magick/type.c:674: error: 'FcResult' undeclared (first use in this function)
magick/type.c:675: error: expected ';' before 'status'
magick/type.c:692: warning: implicit declaration of function 'FcInitLoadConfigAndFonts'
magick/type.c:693: error: expected expression before ')' token
magick/type.c:695: error: expected expression before ')' token
magick/type.c:696: warning: implicit declaration of function 'FcObjectSetBuild'
magick/type.c:696: error: 'FC_FAMILY' undeclared (first use in this function)
magick/type.c:696: error: 'FC_STYLE' undeclared (first use in this function)
magick/type.c:696: error: 'FC_SLANT' undeclared (first use in this function)
magick/type.c:696: error: 'FC_WEIGHT' undeclared (first use in this function)
magick/type.c:697: error: 'FC_FILE' undeclared (first use in this function)
magick/type.c:698: error: expected expression before ')' token
magick/type.c:700: warning: implicit declaration of function 'FcPatternCreate'
magick/type.c:701: error: expected expression before ')' token
magick/type.c:703: warning: implicit declaration of function 'FcFontList'
magick/type.c:704: warning: implicit declaration of function 'FcPatternDestroy'
magick/type.c:706: warning: implicit declaration of function 'FcObjectSetDestroy'
magick/type.c:708: error: expected expression before ')' token
magick/type.c:710: warning: implicit declaration of function 'FcConfigDestroy'
magick/type.c:715: error: 'status' undeclared (first use in this function)
magick/type.c:715: warning: implicit declaration of function 'FcPatternGetString'
magick/type.c:716: error: 'FcResultMatch' undeclared (first use in this function)
magick/type.c:742: warning: implicit declaration of function 'FcPatternGetInteger'
magick/type.c:744: error: 'FC_SLANT_ITALIC' undeclared (first use in this function)
magick/type.c:746: error: 'FC_SLANT_OBLIQUE' undeclared (first use in this function)
magick/type.c:791: warning: implicit declaration of function 'FcFontSetDestroy'
make[1]: *** [magick/magick_libMagickCore_la-type.lo] Error 1
make[1]: Leaving directory `/mnt/sda4/downloads/ImageMagick-6.4.8-5'
make: *** [install] Error 2
#