libpng-config --libs says "-lpng12 -lz -lm" instead of "lpng"
If you are facing the same problem just modify kaa/thumb/setup.py
from
if not thumbnailer.check_cc([], '', '-lpng'):
to
if not thumbnailer.check_cc([], '', '-lpng12 -lz -lm'):
from
if not thumbnailer.check_cc(['<png.h>'], '', '-lpng'):
to
if not thumbnailer.check_cc(['<png.h>'], '', '-lpng12 -lz -lm'):
I hope it helps,
Prysme..
2005/7/16, Dirk Meyer <[EMAIL PROTECTED]>:
Prysme wrote:
> Sorry about this message too, but I cannot subscribe to the devel mailing,
> and I found nothing that talk about this...
Strange, what happens if you try to subscribe?
> [setup] Entering kaa submodule thumb
> Error: libpng is missing.
The code says:
if not thumbnailer.check_cc([], '', '-lpng'):
print 'Error: libpng is missing.'
sys.exit(1)
if not thumbnailer.check_cc(['<png.h>'], '', '-lpng'):
print 'Error: libpng header file is missing.'
sys.exit(1)
So if it says libpng is missing, the compiler could not link against
it. So check if libpng is installed on your system. And make sure you
also have the header files (libpng-dev or libpng-devel package). What
distro are you using? And were is libpng.so in your system?
Dischi
--
A marriage is always made up of two people who are prepared to swear that
only the other one snores.
-- (Terry Pratchett, The Fifth Elephant)
