Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2007 20:52:24 +0200
From:      Uwe Grohnwaldt <Uwe@Grohnwaldt.eu>
To:        freebsd-ports@freebsd.org
Subject:   Re: Port build problem for ImageMagick
Message-ID:  <20070329205224.0ec91bcb@Winter>
In-Reply-To: <20070329174137.GA67748@0lsen.net>
References:  <20070329174137.GA67748@0lsen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 Mar 2007 09:41:37 -0800
Clint Olsen <clint@0lsen.net> wrote:

> Hi:
> 
> I'm on this machine:
> 
> FreeBSD belle.0lsen.net 5.5-STABLE FreeBSD 5.5-STABLE #1: Mon Oct 23
> 13:04:36 PDT 2006
> root@belle.0lsen.net:/usr/obj/usr/src/sys/BELLE  i386
> 
> /bin/sh /usr/local/bin/libtool --silent --tag=CC   --mode=compile cc
> -DHAVE_CONFIG_H -I. -I./magick -I./wand  -I./ltdl -I./ltdl
> -I/usr/local/include/freetype2 -I/usr/local/include
> -I/usr/local/include -I/usr/X11R6/include
> -I/usr/local/include/libxml2  -O -pipe  -MT
> coders/magick_libMagick_la-dot.lo -MD -MP -MF
> coders/.deps/magick_libMagick_la-dot.Tpo -c -o
> coders/magick_libMagick_la-dot.lo `test -f 'coders/dot.c' || echo
> './'`coders/dot.c coders/dot.c:64:17: gvc.h: No such file or
> directory coders/dot.c:66: error: syntax error before '*' token
> coders/dot.c:66: warning: data definition has no type or storage
> class coders/dot.c: In function `ReadDOTImage': coders/dot.c:106:
> error: `graph_t' undeclared (first use in this function)
> coders/dot.c:106: error: (Each undeclared identifier is reported only
> once coders/dot.c:106: error: for each function it appears in.)
> coders/dot.c:106: error: `graph' undeclared (first use in this
> function) coders/dot.c:137: error: syntax error before ')' token
> coders/dot.c: In function `RegisterDOTImage': coders/dot.c:195:
> warning: assignment makes pointer from integer without a cast gmake:
> *** [coders/magick_libMagick_la-dot.lo] Error 1 *** Error code 2
> 
> Stop in /usr/ports/graphics/ImageMagick.
> ** Command failed [exit code 1]: /usr/bin/script
> -qa /tmp/portupgrade.45961.0 env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=ImageMagick-6.3.2.0_1 UPGRADE_PORT_VER=6.3.2.0_1 make **
> Fix the problem and try again. ** Listing the failed packages
> (*:skipped / !:failed) ! graphics/ImageMagick
> (ImageMagick-6.3.2.0_1)  (missing header) --->  Packages processed: 0
> done, 0 ignored, 0 skipped and 1 failed
> 
> I suspect it has to do with the fact that I'm on 5.5, but I just
> wanted to check.
> 
> Thanks,
> 
> -Clint

Hi,
i had this error 2 or 3 weeks ago. the workaround is to deselect
graphviz support:
cd /usr/ports/graphics/ImageMagick
make config
deselect IMAGEMAGICK_DOT (GraphViz dot graphs support)
try it again
- Uwe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070329205224.0ec91bcb>