ports/97889: [patch] ImageMagick-6.2.7.7 build fails without SVG support.
Roland Smith
rsmith at xs4all.nl
Thu May 25 09:20:18 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list