Building the new imagemagick-6.3.2-1001 breaks for me as follows:

/bin/sh ./libtool --silent --tag=CC   --mode=link gcc  -g -O2 -Wall -W 
-D_THREAD_SAFE -no-undefined -module -avoid-version -L/sw/lib 
-L/usr/X11R6/lib -L/usr/X11R6/lib -lfreetype -L/sw/lib -o coders/svg.la 
-rpath /sw/lib/ImageMagick-6.3.2/modules-Q16/coders 
coders/coders_svg_la-svg.lo magick/libMagick.la -L/sw/lib -lrsvg-2 
-lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl 
-liconv   -lxml2 -lz -lm
grep: /sw/lib/libgsf-1.la: No such file or directory
/sw/bin/sed: can't read /sw/lib/libgsf-1.la: No such file or directory
libtool: link: `/sw/lib/libgsf-1.la' is not a valid libtool archive
make: *** [coders/svg.la] Error 1

The reason is that I have librsvg2 installed, but not libgsf-dev(*). 
Inagemagick picks up librsvg2:

PNG               --with-png=yes                yes
RSVG              --with-rsvg=yes               yes
TIFF              --with-tiff=yes               yes

So librsvg2 needs to be a bdep or desactivated explicitly. In turn, 
librsvg2 has a bdep on libgsf-dev which would be a case for 
InheritedBuildDep, and it doesn't say so in its info file, so this is 
also a bug (or at least bad style) in librsvg2 which, according to 
/sw/lib/librsvg-2.la, should have a long list of InheritedBD.

Installing libgsf-dev made the build of imagemagick succeed.

(*)Whether the right dependency would be libgsf-dev (1.10.1-1002 in my 
case) or libgsf1.114-dev, I don't know. I installed libgsf-dev, because 
I had libgsf-shlibs-1.10.1-1002 already installed. I suppose this will 
have to be chosen explicitly in the BDs of imagemagick and librsvg2.

-- 
Martin

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to