On Thu, Nov 30, 2006 at 11:40:11PM -0500, Glenn Randers-Pehrson wrote:
>At 02:26 PM 12/1/2006 +1100, you wrote:
>>>When you build applications, they must be built with -DPNG_NO_MMX_CODE.
>>>Doesn't libpng12.pc or libpng12-config tell you that?
>>
>>This is what I have on my amd64:
>>
>> d5:~# cat /usr/lib/pkgconfig/libpng12.pc
>> prefix=/usr
>> exec_prefix=${prefix}
>> libdir=${exec_prefix}/lib
>> includedir=${prefix}/include/libpng12
>>
>> Name: libpng
>> Description: Loads and saves PNG files
>> Version: 1.2.13
>> Libs: -L${libdir} -lpng12
>> Cflags: -I${includedir}
>>
>>And /usr/bin/libpng12-config has this:
>>
>> version="1.2.13"
>> prefix="/usr"
>> exec_prefix="${prefix}"
>> libdir="${exec_prefix}/lib"
>> includedir="${prefix}/include/libpng12"
>> libs="-lpng12"
>> all_libs="-lpng12 -lz -lm"
>> I_opts="-I${includedir}"
>> L_opts="-L${libdir}"
>> R_opts=""
>> cppflags=""
>> ccopts=""
>> ldopts=""
>
>No mention of PNG_NO_MMX_CODE. That seems to be a mistake in libpng.
>
>Does libpng-1.4.0beta16 work?I couldn't find it at: ftp://ftp.simplesystems.org/pub/libpng/png/src/ I built libpng_1.2.14-0_amd64 and then I tried to build imagemagick_6.2.4.5.dfsg1-0.12_amd64 and it failed: >Fri, 01 Dec 2006 20:02:56 +1100 >d5 amd64 linda 0.3.24 lintian 1.23.25 pbuilder 0.160 piuparts 0.20-3 > >I: using fakeroot in build. >pbuilder-buildpackage/amd64 $Id: pbuilder-buildpackage-funcs,v 1.31 2006/05/30 >23:45:45 dancer Exp $ >$Id: pbuilder-buildpackage,v 1.127 2006/08/15 13:14:25 dancer Exp $ >[...] >Setting up libpng12-0 (1.2.14-0) ... >[...] >Setting up libpng12-dev (1.2.14-0) ... >[...] >if /bin/sh ./libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. >-I. -I./magick -I./wand -I./ltdl -I./ltdl -I/usr/include/freet ype2 >-I/usr/include/X11 -I/usr/include/libxml2 -g -O2 -Wall -pthread -MT >coders/magick_libMagick_la-png.lo -MD -MP -MF "coders/.deps/magick_l >ibMagick_la-png.Tpo" -c -o coders/magick_libMagick_la-png.lo `test -f >'coders/png.c' || echo './'`coders/png.c; \ > then mv -f "coders/.deps/magick_libMagick_la-png.Tpo" > "coders/.deps/magick_libMagick_la-png.Plo"; else rm -f > "coders/.deps/magick_libM >agick_la-png.Tpo"; exit 1; fi >coders/png.c: In function 'ReadOnePNGImage': >coders/png.c:1707: warning: implicit declaration of function >'png_access_version' >coders/png.c:1716: error: 'png_ptr' undeclared (first use in this function) >coders/png.c:1716: error: (Each undeclared identifier is reported only once >coders/png.c:1716: error: for each function it appears in.) >make[1]: *** [coders/magick_libMagick_la-png.lo] Error 1 The full log is at: http://people.debian.org/~anibal/imagemagick/imagemagick_6.2.4.5.dfsg1-0.12_amd64.log Anibal Monsalve Salazar -- http://v7w.com/anibal
signature.asc
Description: Digital signature

