[rrd-users] rrdtool can't find libpng, freetype2

John Oliver joliver at john-oliver.net
Sat Oct 28 00:06:48 MEST 2006


I'm certain that this is one of the top ten questions, but searching the
archives turned up zero hits, so...

I'm trying to build rrdtool-1.2.15 under RH ES 4  It complains about:

checking for pkg-config... pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no libart-2.0.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 libart-2.0. 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 libart_lgpl_2 and its header
files. If
  you have not installed libart-2.0, you can get it either from its
original home on

     ftp://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/

  You can find also find an archive copy on

     http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of libart-2.0 is 2.3.17.

       LIBS=-lm
   LDFLAGS=
  CPPFLAGS= -I/usr/include/libart-2.0

----------------------------------------------------------------------------

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... no
checking for pkg-config... (cached) pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no libpng.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 libpng. 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 libpng and its header files.
If
  you have not installed libpng, you can get it either from its original
home on

     http://prdownloads.sourceforge.net/libpng/

  You can find also find an archive copy on

     http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of libpng is 1.2.10.

       LIBS=-lz -lm
   LDFLAGS=
  CPPFLAGS=

----------------------------------------------------------------------------

checking for FT_Init_FreeType in -lfreetype... no
checking for pkg-config... (cached) pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no freetype2.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 freetype2. 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 libfreetype and its header
files. If
  you have not installed freetype2, you can get it either from its
original home on

     http://prdownloads.sourceforge.net/freetype/

  You can find also find an archive copy on

     http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of freetype2 is 2.1.10.

       LIBS=-lz -lm
   LDFLAGS=
  CPPFLAGS= -I/usr/include/freetype2


However...

[root at sddmz01 rrdtool-1.2.15]# rpm -qa | grep libart
libart_lgpl-2.3.16-3
[root at sddmz01 rrdtool-1.2.15]# rpm -qa | grep libpng
libpng-1.2.7-1.el4.2
[root at sddmz01 rrdtool-1.2.15]# rpm -qa | grep freetype
freetype-2.1.9-4.el4

I found /usr/local/lib/pkgconfig/libart-2.0.pc
/usr/local/lib/pkgconfig/ doesn't contain any other files.  I set
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ and the complaint about libart
goes away, but it still can't find libpng or freetype2

-- 
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list