At line 11 of file loader_png.c, the file png.h is included, but is missing
from your system. It is part of libpng-devel package i.e.
[jak at PcJak jak]$ ls /usr/include/png*
/usr/include/png.h /usr/include/pngconf.h
[jak at PcJak jak]$ rpm -qf /usr/include/png.h
libpng-devel-1.0.5-1mdk
This is a mandrake 7.0 install, so your version will probably be newer.
Install the package, and Bob's your compilation ( hopefully ).
make[1]: Entering directory `/home/mpage/imlib2-0.0.5/loaders' /bin/sh
../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
--I/usr/X11R6/include -I../libltdl -I/usr/local/include
-I/usr/local/include -I. -I.. -I../src -I../loaders -g -O2 -c loader_png.c
-- rm -f .libs/loader_png.lo gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/X11R6/include -I../libltdl -I/usr/local/include
-I/usr/local/include -I. -I.. -I../src -I../loaders -g -O2 -c loader_png.c
-fPIC -DPIC -o .libs/loader_png.lo loader_png.c:11: png.h: No such file or
directory make[1]: *** [loader_png.lo] Error 1 make[1]: Leaving directory
`/home/mpage/imlib2-0.0.5/loaders'
make: *** [install-recursive] Error 1
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!