After hours and hours, I have finally cracked it. Well, one my nut that it!
An rpm -qa | grep imlib showed my system having these installed:
imlib2-1.0.6-0.fdr.3.2
imlib-devel-1.9.13-15.1
imlib-1.9.13-15.1
imlib-cfgeditor-1.9.13-15.1
imlib2-devel-1.0.6-0.fdr.3.2
I kept getting this error when I ran the configure script:
checking for IMLIB - version >= 1.8.2... no
*** The imlib-config script installed by IMLIB could not be found
*** If IMLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the IMLIB_CONFIG environment variable to the
*** full path to imlib-config.
ERROR: Needs a system with Imlib 1.8.2 or higher
You can obtain it from:
ftp://ftp.enlightenment.org/pub/enlightenment/
ftp://www.rasterman.com/pub/enlightenment/
ftp://ftp.labs.redhat.com/pub/imlib/
configure: error: Fatal Error: no Imlib detected.
A closer look at the config.log showed that imlib-config was in fact being called but it was missing the png library:
configure:2438: checking for imlib-config
configure:2456: found /usr/bin/imlib-config
configure:2469: result: /usr/bin/imlib-config
configure:2477: checking for IMLIB - version >= 1.8.2
configure:2566: i386-redhat-linux-gcc -pipe -o conftest -fPIC -I/usr/X11R6/include conftest.c -L/usr/lib -lImlib -ljpeg -ltiff -lungif -lpng -lz -lm -lXext -L/usr/X11R6/lib -lSM -lICE -lXext -lX11 >&5
/usr/bin/ld: cannot find -lpng
collect2: ld returned 1 exit status
and so I did an rpm -qa | grep png and found:
libpng-1.2.5-5
libpng10-1.0.15-5
but the devel package was missing. As soon as I installed "libpng-devel", it worked flawlessly.
I hope that solves a few headaches