Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2007 13:06:17 -0700 (PDT)
From:      youshi10@u.washington.edu
To:        freebsd-ports@freebsd.org
Subject:   Re: Port build problem for ImageMagick
Message-ID:  <Pine.LNX.4.43.0703291306170.7131@hymn09.u.washington.edu>
In-Reply-To: <20070329205224.0ec91bcb@Winter>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 Mar 2007, Uwe Grohnwaldt wrote:

> 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

Unfortunately that means that graphviz support isn't done properly under FreeBSD. I'll take a quick look at those lines of source tonight.
-Garrett




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