I'm getting following error when compiling with "--with-png"
checking libpng install prefix... /usr/local
checking for png_init_io in -lpng... no
configure: error: png_init_io() is missing, check config.log for more
details
and I'm quite stuck now ... if somebody could help me .. i would
really appreciate it ;-)
thx in advance
regards
mac
Well.. I'm afraid the question might sound strange, but did you check the config.log ?
--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP
well to be more specific ... interesting is to in include special compiled libpng in the config
I've already tried with the Includes and Library paths ( -L / -I ) but had no success.
I'm getting that the PNG Headers are not found ( but they are in the direcory : pngconf.h, png.h ) ... especially I'm getting this error with : --with-png=/path/to/headerdir
and in the config.log theres the message that the config.c is not found .. but the real error i believe is that the libpng is not in the same architecure i need
grtx.
mac
> --
> ---
> libHaru.org development mailing list
> To unsubscribe, send email to libharu-u...@googlegroups.com
It should be --with-png=<libpng install PREFIX>, i.e. if the headers are in /usr/local/include, you should specify /usr/local as a value for this option.
> and in the config.log theres the message that the config.c is not found ..
No need to retell an error message when you can copy/paste it.
> but the real error i believe is that the libpng is not in the same architecure i need
What makes you think so?
I've moved the files from a subdir in include in the include <dir> ... /test/include/png.h
and now it worked ... thx
mac
Am 06.03.2010 um 15:33 schrieb Antony Dovgal:
> On 03/06/2010 04:07 PM, Mr. Kostuch Andreas wrote:
>> I'm getting that the PNG Headers are not found ( but they are in the direcory : pngconf.h, png.h ) ...
>> especially I'm getting this error with : --with-png=/path/to/headerdir
>
> It should be --with-png=<libpng install PREFIX>, i.e. if the headers are in /usr/local/include, you should specify /usr/local as a value for this option.
>
>> and in the config.log theres the message that the config.c is not found ..
>
> No need to retell an error message when you can copy/paste it.
>
>> but the real error i believe is that the libpng is not in the same architecure i need
>
> What makes you think so?
>
ld: warning: in /usr/local/lib/libpng.dylib, file is not of required architecture
;-)
> --
> Wbr,
> Antony Dovgal
> ---
> http://pinba.org - realtime statistics for PHP
>