Date: Thu, 25 May 2006 11:10:46 +0200 (CEST) From: Roland Smith <rsmith@xs4all.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/97889: [patch] ImageMagick-6.2.7.7 build fails without SVG support. Message-ID: <20060525091046.558BFB863@slackbox.xs4all.nl> Resent-Message-ID: <200605250920.k4P9KH9x032399@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 97889 >Category: ports >Synopsis: [patch] ImageMagick-6.2.7.7 build fails without SVG support. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu May 25 09:20:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Roland Smith >Release: FreeBSD 6.1-STABLE amd64 >Organization: >Environment: System: FreeBSD slackbox.xs4all.nl 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue May 9 22:46:51 CEST 2006 rsmith@slackbox.xs4all.nl:/usr/obj/usr/src/sys/RFS amd64 >Description: Compiling ImageMagick-6.2.7.7 without SVG support fails. The following command was given: make WITHOUT_IMAGEMAGICK_PERL=yes WITHOUT_IMAGEMAGICK_SVG=yes \ WITHOUT_IMAGEMAGICK_MSL=yes WITHOUT_IMAGEMAGICK_PDF=yes \ WITHOUT_IMAGEMAGICK_MPEG2=yes Which resulted in this error: 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/X11R6/include -O2 -fno-strict-aliasing -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: In function `RegisterSVGImage': coders/svg.c:2901: warning: implicit declaration of function `rsvg_init' coders/svg.c: In function `UnregisterSVGImage': coders/svg.c:2961: warning: implicit declaration of function `rsvg_term' gmake: *** [coders/magick_libMagick_la-svg.lo] Error 1 *** Error code 2 Stop in /usr/ports/graphics/ImageMagick. >How-To-Repeat: # cd /usr/ports/graphics/ImageMagick # make WITHOUT_IMAGEMAGICK_PERL=yes WITHOUT_IMAGEMAGICK_SVG=yes \ WITHOUT_IMAGEMAGICK_MSL=yes WITHOUT_IMAGEMAGICK_PDF=yes \ WITHOUT_IMAGEMAGICK_MPEG2=yes >Fix: Apply the following patch to the Makefile: ---------- patch for /usr/ports/graphics/ImageMagick/Makefile ---------- --- Makefile.orig Thu May 25 10:57:56 2006 +++ Makefile Thu May 25 10:57:49 2006 @@ -179,7 +179,7 @@ MAN1+= conjure.1 PLIST_SUB+= WITH_CONJURE='' .else -CONFIGURE_ARGS+= --without-xml +CONFIGURE_ARGS+= --without-xml --without-rsvg PLIST_SUB+= WITH_CONJURE='@comment ' .endif ---------- patch for /usr/ports/graphics/ImageMagick/Makefile ---------- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060525091046.558BFB863>