[ILUG] Re: imlib2

Jak rfjak at eircom.net
Sun Sep 17 13:52:21 IST 2000


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         




More information about the ILUG mailing list