Date: Fri, 26 May 2006 00:34:13 +0200 From: Jona Joachim <jona.joachim@gmail.com> To: ports@freebsd.org Subject: Re: graphics/ImageMagick build error Message-ID: <447630E5.6060501@googlemail.com> In-Reply-To: <44762443.5090208@FreeBSD.org> References: <e54k5d$57g$1@FreeBSD.csie.nctu.edu.tw> <4475F247.5060507@bellsouth.net> <44762443.5090208@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Marcus Alves Grando wrote: > B Briggs wrote: >> Randy Pratt wrote: >>> On Thu, 25 May 2006 11:13:15 -0300 >>> Marcus Alves Grando <mnag@FreeBSD.org> wrote: >>> >>>> Eric wrote: >>>>> Jonathan Noack wrote: >>>>>> 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. >>>>>> >>>>>>> ... >>>>> <snip> >>>>> >>>>> i got the same error too, so i did a 'locate fontconfig.h' and copied >>>>> its full path, then edited magick/type.c to point to the location of my >>>>> file (which you mentioned above). it got the port to compile and >>>>> install, but i agree with you, something is wonky with the latest >>>>> ImageMagick >>> The above didn't work for me on 6-STABLE nor did the patch suggested >>> by PR97889. >>> >>>> Please, try this patch: >>>> >>>> http://marcus.grupos.com.br:8080/patch/ImageMagick.patch >>> This patch worked fine for me. Thanks for looking into this and >>> fixing it! >>> >>> Randy >> I'm not sure that I got as far as the fontconfig problem. My problem is >> with svg support. >> >> Here's relevant output from the compile (6.1 R): >> >> if /bin/sh ./libtool --silent --tag=CC --mode=compile ccache 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/X11R6/include -I/X11 -I/usr/local/include/libxml2 -O -pipe -Wall >> -MT coders/magick_libMagick_la-svg.lo -MD -MP -MF >> "coders/.deps/magick_libMagick_la-svg.Tpo" -c -o >> coders/magick_libMagick_la-svg.lo `test -f 'coders/svg.c' || echo >> './'`coders/svg.c; \ >> then mv -f "coders/.deps/magick_libMagick_la-svg.Tpo" >> "coders/.deps/magick_libMagick_la-svg.Plo"; else rm -f >> "coders/.deps/magick_libMagick_la-svg.Tpo"; exit 1; fi >> coders/svg.c:94:26: librsvg/rsvg.h: No such file or directory >> coders/svg.c:2587: error: syntax error before "gpointer" >> . >> . >> . >> many more errors from svg.c because it couldn't find rsvg.h >> >> The include path (which should be /usr/X11R6/include/librsvg-2) is not >> on that failed command - here is my .pc contents: >> >> /usr/X11R6/libdata/pkgconfig$ cat librsvg-2.0.pc >> prefix=/usr/X11R6 >> exec_prefix=${prefix} >> libdir=${exec_prefix}/lib >> includedir=${prefix}/include >> >> Name: librsvg >> Description: library that renders svg files >> Version: 2.14.4 >> Requires: glib-2.0 gdk-pixbuf-2.0 >> Libs: -L${libdir} -lrsvg-2 >> Cflags: -I${includedir}/librsvg-2 >> > > Now i think that's fixed. Please test: > > http://marcus.grupos.com.br:8080/patch/ImageMagick.patch > > Regards Works great, thanks! Jona
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?447630E5.6060501>