configure script fails at FreeImage_GetVersion
Posted: Mon Feb 20, 2012 03:02
I am trying to compile cegui 0.7.6 from source on Gentoo an build the FreeImage ImageCodec module. I have freeimage 3.15.1 installed via Portage. I'll just show teh relevant part of configure's output when I run "./configure --enable-freeimage"
checking for library containing FreeImage_GetVersion... no
checking FreeImage.h usability... yes
checking FreeImage.h presence... yes
checking for FreeImage.h... yes
configure: FreeImage based ImageCodec module disabled.
These are the files installed by Freeimage
/usr
/usr/include
/usr/include/FreeImage.h
/usr/include/FreeImagePlus.h
/usr/lib
/usr/lib/debug
/usr/lib/debug/usr
/usr/lib/debug/usr/lib
/usr/lib/debug/usr/lib/libfreeimage-3.15.1.so.debug
/usr/lib/debug/usr/lib/libfreeimageplus-3.15.1.so.debug
/usr/lib/libfreeimage-3.15.1.so
/usr/lib/libfreeimage.a
/usr/lib/libfreeimage.so -> libfreeimage.so.3
/usr/lib/libfreeimage.so.3 -> libfreeimage-3.15.1.so
/usr/lib/libfreeimageplus-3.15.1.so
/usr/lib/libfreeimageplus.a
/usr/lib/pkgconfig
/usr/lib/pkgconfig/freeimage.pc
/usr/share
/usr/share/doc
/usr/share/doc/freeimage-3.15.1
/usr/share/doc/freeimage-3.15.1/README.linux.bz2
/usr/share/doc/freeimage-3.15.1/Whatsnew.txt.bz2
And the contents of /usr/lib/pkgconfig/freeimage.pc
prefix=${pcfiledir}/../..
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
Name: FreeImage
Description: Image library supporting many formats
Version: 3.15.1
Requires: OpenEXR libpng
Libs: -lfreeimage -lfreeimageplus
Libs.private: -ljpeg -lmng -ltiff -lopenjpeg -lz
I've checked everything I know to. Why will the configure script not detect FreeImage_GetVersion and thus enable Freeimage's module?
checking for library containing FreeImage_GetVersion... no
checking FreeImage.h usability... yes
checking FreeImage.h presence... yes
checking for FreeImage.h... yes
configure: FreeImage based ImageCodec module disabled.
These are the files installed by Freeimage
/usr
/usr/include
/usr/include/FreeImage.h
/usr/include/FreeImagePlus.h
/usr/lib
/usr/lib/debug
/usr/lib/debug/usr
/usr/lib/debug/usr/lib
/usr/lib/debug/usr/lib/libfreeimage-3.15.1.so.debug
/usr/lib/debug/usr/lib/libfreeimageplus-3.15.1.so.debug
/usr/lib/libfreeimage-3.15.1.so
/usr/lib/libfreeimage.a
/usr/lib/libfreeimage.so -> libfreeimage.so.3
/usr/lib/libfreeimage.so.3 -> libfreeimage-3.15.1.so
/usr/lib/libfreeimageplus-3.15.1.so
/usr/lib/libfreeimageplus.a
/usr/lib/pkgconfig
/usr/lib/pkgconfig/freeimage.pc
/usr/share
/usr/share/doc
/usr/share/doc/freeimage-3.15.1
/usr/share/doc/freeimage-3.15.1/README.linux.bz2
/usr/share/doc/freeimage-3.15.1/Whatsnew.txt.bz2
And the contents of /usr/lib/pkgconfig/freeimage.pc
prefix=${pcfiledir}/../..
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
Name: FreeImage
Description: Image library supporting many formats
Version: 3.15.1
Requires: OpenEXR libpng
Libs: -lfreeimage -lfreeimageplus
Libs.private: -ljpeg -lmng -ltiff -lopenjpeg -lz
I've checked everything I know to. Why will the configure script not detect FreeImage_GetVersion and thus enable Freeimage's module?