graphics/ImageMagick build error

Jonathan Noack noackjr at alumni.rice.edu
Wed May 24 22:06:26 PDT 2006


On 05/25/06 00:49, Jonathan Noack wrote:
> After the latest ImageMagick port update to 6.2.7.7, I get the following
> build error on several 6.1-RELEASE and 6.1-STABLE machines (all other
> ports are up-to-date).  It appears to be looking for freetype2 in
> /usr/local/include whereas it is actually installed in /usr/X11R6/include.

Oops... I confused freetype2 and fontconfig.  It can't find
fontconfig/fontconfig.h which is located in /usr/X11R6/include.

> ...
> if /bin/sh ./libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H
> -I. -I. -I./magick -I./wand  -I./ltdl -I./ltdl
> -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include
> -I/usr/local/include/libxml2  -O -pipe -Wall -MT
> magick/magick_libMagick_la-type.lo -MD -MP -MF
> "magick/.deps/magick_libMagick_la-type.Tpo" -c -o
> magick/magick_libMagick_la-type.lo `test -f 'magick/type.c' || echo
> './'`magick/type.c; \
> then mv -f "magick/.deps/magick_libMagick_la-type.Tpo"
> "magick/.deps/magick_libMagick_la-type.Plo"; else rm -f
> "magick/.deps/magick_libMagick_la-type.Tpo"; exit 1; fi
> magick/type.c:60:36: fontconfig/fontconfig.h: No such file or directory
> magick/type.c: In function `LoadFontConfigFonts':
> magick/type.c:613: error: `FcChar8' undeclared (first use in this function)
> magick/type.c:613: error: (Each undeclared identifier is reported only once
> magick/type.c:613: error: for each function it appears in.)
> magick/type.c:613: error: `family' undeclared (first use in this function)
> magick/type.c:614: error: `file' undeclared (first use in this function)
> magick/type.c:615: error: `style' undeclared (first use in this function)
> magick/type.c:615: warning: left-hand operand of comma expression has no
> effect
> magick/type.c:615: warning: left-hand operand of comma expression has no
> effect
> magick/type.c:618: error: `FcFontSet' undeclared (first use in this
> function)
> magick/type.c:618: error: `font_set' undeclared (first use in this function)
> magick/type.c:621: error: `FcObjectSet' undeclared (first use in this
> function)
> magick/type.c:621: error: `object_set' undeclared (first use in this
> function)
> magick/type.c:624: error: `FcPattern' undeclared (first use in this
> function)
> magick/type.c:624: error: `pattern' undeclared (first use in this function)
> magick/type.c:627: error: syntax error before "status"
> magick/type.c:643: warning: implicit declaration of function `FcInit'
> magick/type.c:644: warning: implicit declaration of function
> `FcObjectSetBuild'
> magick/type.c:644: error: `FC_FAMILY' undeclared (first use in this
> function)
> magick/type.c:644: error: `FC_STYLE' undeclared (first use in this function)
> magick/type.c:644: error: `FC_SLANT' undeclared (first use in this function)
> magick/type.c:644: error: `FC_WIDTH' undeclared (first use in this function)
> magick/type.c:644: error: `FC_WEIGHT' undeclared (first use in this
> function)
> magick/type.c:645: error: `FC_FILE' undeclared (first use in this function)
> magick/type.c:646: warning: implicit declaration of function
> `FcPatternCreate'
> magick/type.c:647: warning: implicit declaration of function `FcFontList'
> magick/type.c:648: warning: implicit declaration of function
> `FcPatternDestroy'
> magick/type.c:649: warning: implicit declaration of function
> `FcObjectSetDestroy'
> magick/type.c:650: error: syntax error before ')' token
> magick/type.c:652: warning: implicit declaration of function `FcFini'
> magick/type.c:657: error: `status' undeclared (first use in this function)
> magick/type.c:657: warning: implicit declaration of function
> `FcPatternGetString'
> magick/type.c:659: warning: implicit declaration of function
> `FcPatternGetInteger'
> magick/type.c:663: error: `FcResultMatch' undeclared (first use in this
> function)
> magick/type.c:685: error: `FC_SLANT_ITALIC' undeclared (first use in
> this function)
> magick/type.c:687: error: `FC_SLANT_OBLIQUE' undeclared (first use in
> this function)
> magick/type.c:690: error: `FC_WIDTH_ULTRACONDENSED' undeclared (first
> use in this function)
> magick/type.c:692: error: `FC_WIDTH_EXTRACONDENSED' undeclared (first
> use in this function)
> magick/type.c:694: error: `FC_WIDTH_CONDENSED' undeclared (first use in
> this function)
> magick/type.c:696: error: `FC_WIDTH_SEMICONDENSED' undeclared (first use
> in this function)
> magick/type.c:698: error: `FC_WIDTH_NORMAL' undeclared (first use in
> this function)
> magick/type.c:700: error: `FC_WIDTH_SEMIEXPANDED' undeclared (first use
> in this function)
> magick/type.c:702: error: `FC_WIDTH_EXPANDED' undeclared (first use in
> this function)
> magick/type.c:704: error: `FC_WIDTH_EXTRAEXPANDED' undeclared (first use
> in this function)
> magick/type.c:706: error: `FC_WIDTH_ULTRAEXPANDED' undeclared (first use
> in this function)
> magick/type.c:709: error: `FC_WEIGHT_THIN' undeclared (first use in this
> function)
> magick/type.c:711: error: `FC_WEIGHT_EXTRALIGHT' undeclared (first use
> in this function)
> magick/type.c:713: error: `FC_WEIGHT_LIGHT' undeclared (first use in
> this function)
> magick/type.c:715: error: `FC_WEIGHT_NORMAL' undeclared (first use in
> this function)
> magick/type.c:717: error: `FC_WEIGHT_MEDIUM' undeclared (first use in
> this function)
> magick/type.c:719: error: `FC_WEIGHT_DEMIBOLD' undeclared (first use in
> this function)
> magick/type.c:721: error: `FC_WEIGHT_BOLD' undeclared (first use in this
> function)
> magick/type.c:723: error: `FC_WEIGHT_EXTRABOLD' undeclared (first use in
> this function)
> magick/type.c:725: error: `FC_WEIGHT_BLACK' undeclared (first use in
> this function)
> magick/type.c:731: warning: implicit declaration of function
> `FcFontSetDestroy'
> magick/type.c:612: warning: statement with no effect
> gmake: *** [magick/magick_libMagick_la-type.lo] Error 1
> *** Error code 2
> 
> Stop in /usr/ports/graphics/ImageMagick.

-Jonathan

-- 
Jonathan Noack | noackjr at alumni.rice.edu | OpenPGP: 0x991D8195

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060525/e51c08d9/signature.pgp


More information about the freebsd-ports mailing list