Re: Doesn't build with latest imagemagick

Francesco Romani <[email protected]> Tue, 05 May 2009 22:38:08 +0200
Newsgroups gmane.comp.video.transcode.devel
Message-ID <[email protected]>
On Tue, 2009-05-05 at 11:09 +0200, Christian Marillat wrote:
> Hi,
> 
> With the latest imagemagick 6.5.1 transcode 1.1.2 doesn't build (Debian).

Uhm.

Can't reproduce on my test environment (sid i386 schroot, testing amd64
host).

Some data:

using transcode 1.1.2 official bz2ball (no relevant changes on HG)
everything seems pretty fine:

france@samurai4:~/transcode-1.1.2$ /tmp/tc-root/bin/transcode --version
transcode v1.1.2 (C) 2001-2003 Thomas Oestreich, 2003-2009 Transcode
Team
france@samurai4:~/transcode-1.1.2$ dpkg -l 'libmagick*' | grep ^ii
ii  libmagickcore-dev                   7:6.5.1.0-1
low-level image manipulation library - devel
ii  libmagickcore2                      7:6.5.1.0-1
low-level image manipulation library
ii  libmagickwand-dev                   7:6.5.1.0-1                image
manipulation library - development fil
ii  libmagickwand2                      7:6.5.1.0-1                image
manipulation library
france@samurai4:~/transcode-1.1.2$ cat /etc/debian_version 
squeeze/sid
france@samurai4:~/transcode-1.1.2$ /tmp/tc-root/bin/tcmodinfo -i
logo    
[filter_logo.so] options=help
[filter_logo.so] (render image in videostream) help
* Overview
    This filter renders an user specified image into the video.
    Any image format ImageMagick can read is accepted.
    Transparent images are also supported.
    Image origin is at the very top left.

* Options
        'file' Image filename (required) [logo.png]
         'pos' Position (0-width x 0-height) [0x0]
      'posdef' Position (0=None, 1=TopL, 2=TopR, 3=BotL, 4=BotR,
5=Center) [0]
       'range' Restrict rendering to framerange (0-oo) [0-end]
        'fade' Fade image in/out (# of frames) (0-oo) [0-0]
        'flip' Mirror image (0=off, 1=on) [0]
     'rgbswap' Swap colors [0]
     'grayout' YUV only: don't write Cb and Cr, makes a nice effect [0]
      'hqconv' YUV only: do high quality rgb->yuv img conversion [0]
 'ignoredelay' Ignore delay specified in animations [0]

transcode-1.1.2: unable to open file `logo.png' @
png.c/ReadPNGImage/2854.
START
"filter_logo.so", "render image in videostream", "v0.10 (2003-10-16)",
"Tilmann Bitterberg", "VRYO", "1"
"file", "Image filename", "%s", "logo.png"
"posdef", "Position (0=None, 1=TopL, 2=TopR, 3=BotL, 4=BotR, 5=Center)",
"%d", "0", "0", "5"
"pos", "Position (0-width x 0-height)", "%dx%d", "0x0", "0", "width",
"0", "height"
"range", "Restrict rendering to framerange", "%u-%u", "0-0", "0", "oo",
"0", "oo"
"fade", "Fade image in/out (# of frames)", "%u-%u", "0-0", "0", "oo",
"0", "oo"
"ignoredelay", "Ignore delay specified in animations", "", "0"
"rgbswap", "Swap red/blue colors", "", "0"
"grayout", "YUV only: don't write Cb and Cr, makes a nice effect", "",
"0"
"hqconv", "YUV only: do high quality rgb->yuv img conversion", "", "0"
"flip", "Mirror image", "", "0"
END
france@samurai4:~/transcode-1.1.2$
ldd /tmp/tc-root/lib/transcode/filter_logo.so 
	linux-gate.so.1 =>  (0xffffe000)
	libMagickWand.so.2 => /usr/lib/libMagickWand.so.2 (0xf7e0f000)
	libMagickCore.so.2 => /usr/lib/libMagickCore.so.2 (0xf7beb000)
	libm.so.6 => /lib/libm.so.6 (0xf7bc4000)
	libz.so.1 => /usr/lib/libz.so.1 (0xf7baf000)
	libdl.so.2 => /lib/libdl.so.2 (0xf7bab000)
	libc.so.6 => /lib/libc.so.6 (0xf7a69000)
	liblcms.so.1 => /usr/lib/liblcms.so.1 (0xf7a34000)
	libtiff.so.4 => /usr/lib/libtiff.so.4 (0xf79df000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xf7967000)
	libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xf7948000)
	liblqr-1.so.0 => /usr/lib/liblqr-1.so.0 (0xf793f000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xf7889000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xf785e000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0xf7850000)
	libXt.so.6 => /usr/lib/libXt.so.6 (0xf77ff000)
	libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xf77ef000)
	libgomp.so.1 => /usr/lib/libgomp.so.1 (0xf77e0000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xf77c8000)
	libltdl.so.7 => /usr/lib/libltdl.so.7 (0xf77c0000)
	libSM.so.6 => /usr/lib/libSM.so.6 (0xf77b8000)
	libICE.so.6 => /usr/lib/libICE.so.6 (0xf779f000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0xf7681000)
	/lib/ld-linux.so.2 (0xf7f2c000)
	libpcre.so.3 => /usr/lib/libpcre.so.3 (0xf7650000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0xf762a000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0xf7627000)
	librt.so.1 => /lib/librt.so.1 (0xf761d000)
	libuuid.so.1 => /lib/libuuid.so.1 (0xf7619000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0xf7600000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xf75fb000)

configure options (a test script, actually):
./configure \
	--prefix=/tmp/tc-root \
	--enable-v4l \
	--enable-alsa \
	--enable-oss \
	--enable-lzo \
	--enable-freetype2 \
	--enable-ogg \
	--enable-vorbis \
	--enable-faac \
	--enable-libdv \
	--enable-a52 \
	--enable-xvid \
	--enable-x264 \
	--enable-libxml2 \
	--enable-sdl \
	--enable-imagemagick \
	--with-x


Bests,

-- 
Francesco Romani // Ikitt
http://fromani.exit1.org  ::: transcode homepage
http://tcforge.berlios.de ::: transcode experimental forge