checking for readdir... yes
checking for chdir... yes
checking for chroot... yes
checking for getuid... yes
checking for setlocale... (cached) yes
checking for strerror... (cached) yes
checking for strerror_r... no
checking for snprintf... yes
checking for vsnprintf... (cached) yes
checking for fpclass... no
checking for class... no
checking for fp_class... no
checking for isnan... yes
checking for memmove... yes
checking for strchr... yes
checking for mktime... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for fpclassify... no
checking for fpclassify with <math.h>... no
checking for finite... yes
checking for isinf... yes
checking if IEEE math works out of the box... (cached) yes
checking for art_vpath_add_point in -lart_lgpl_2... yes
checking libart_lgpl/libart.h usability... yes
checking libart_lgpl/libart.h presence... yes
checking for libart_lgpl/libart.h... yes
checking for zlibVersion in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for png_access_version_number in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for FT_Init_FreeType in -lfreetype... yes
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
checking for cgiInit in -lcgi... no
checking for pkg-config... pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no cgilib.pc file around.
You may want to set the PKG_CONFIG_PATH variable to point to its
location.
----------------------------------------------------------------------------
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cgilib. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libcgi and its header files. If
you have not installed cgilib, you can get it either from its original home on
http://www.infodrom.org/projects/cgilib
You can find also find an archive copy on
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/libs
The last tested version of cgilib is 0.5.
LIBS=-lfreetype -lpng -lz -lart_lgpl_2 -lm -lnotimpl
LDFLAGS=-L/home/ubuntu/openwrt/trunk/staging_dir_i386/usr/lib -L/home/ubuntu/openwrt/trunk/staging_dir_i386/lib
CPPFLAGS=-I/home/ubuntu/openwrt/trunk/staging_dir_i386/usr/include -I/home/ubuntu/openwrt/trunk/staging_dir_i386/include -I/home/ubuntu/openwrt/trunk/staging_dir_i386/usr/include/freetype2 -I/home/ubuntu/openwrt/trunk/staging_dir_i386/usr/include/libart-2.0 -I/usr/include/libart-2.0 -I/usr/include/freetype2
----------------------------------------------------------------------------
configure: error: Please fix the library issues listed above and try again.
make[3]: *** [/home/ubuntu/openwrt/trunk/build_i386/rrdtool-1.2.11/.configured] Error 1
make[3]: Leaving directory `/home/ubuntu/openwrt/packages/utils/rrdtool'
make[2]: *** [rrdtool-compile] Error 2
make[2]: Leaving directory `/home/ubuntu/openwrt/trunk/package'
make[1]: *** [package/compile] Error 2
make[1]: Leaving directory `/home/ubuntu/openwrt/trunk'
make: *** [world] Error 2