[rrd-users] Solaris 9 Compile Issues for 1.3.6

Chris Fogel chris.fogel at intermetro.net
Fri Feb 27 21:43:38 CET 2009


I have followed the instructions at 
http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html exactly (minus 
various lib/path additions needed to get things to compile) and still I 
get the problems compiling rrdtool-1.3.6 on solaris 2.9 (sparc). For 
some reason no matter what I do I cannot get the configure to find the 
cairo libs...

Thank you,
Chris


root> ./configure --prefix=$INSTALL_DIR --disable-tcl --disable-python 
--disable-cgi
...
Fine until
...
Find 3rd-Party Libraries
checking for cairo_font_options_create in -lcairo... no
checking for pkg-config... pkg-config
checking for cairo_font_options_create in -lcairo... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cairo-png. 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 libcairo and its header 
files. If
   you have not installed cairo-png, you can get it either from its 
original home on

      http://cairographics.org/releases/

   You can find also find an archive copy on

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

   The last tested version of cairo-png is 1.4.6.

        LIBS=-lm  -lrt -lcairo -lpng12
    LDFLAGS=-R/usr/local/rrdtool-1.3.6/lib -L/usr/local/lib 
-L/usr/local/rrdtool-1.3.6/lib -L/usr/local/lib
   CPPFLAGS= -D_REENTRANT -INONE/include/cairo 
-I/usr/local/include/cairo -I/usr/local/include/libpng12 
-I/usr/local/include/freetype2 -I/usr/local/include

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

checking for cairo_svg_surface_create in -lcairo... no
checking for pkg-config... (cached) pkg-config
checking for cairo_svg_surface_create in -lcairo... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cairo-svg. 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 libcairo and its header 
files. If
   you have not installed cairo-svg, you can get it either from its 
original home on

      http://cairographics.org/releases/

   You can find also find an archive copy on

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

   The last tested version of cairo-svg is 1.4.6.

        LIBS=-lm  -lrt -lcairo
    LDFLAGS=-R/usr/local/rrdtool-1.3.6/lib -L/usr/local/lib 
-L/usr/local/rrdtool-1.3.6/lib -L/usr/local/lib
   CPPFLAGS= -D_REENTRANT -INONE/include/cairo 
-I/usr/local/include/cairo -I/usr/local/include/freetype2 
-I/usr/local/include -I/usr/local/include/libpng12

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

checking for cairo_pdf_surface_create in -lcairo... no
checking for pkg-config... (cached) pkg-config
checking for cairo_pdf_surface_create in -lcairo... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cairo-pdf. 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 libcairo and its header 
files. If
   you have not installed cairo-pdf, you can get it either from its 
original home on

      http://cairographics.org/releases/

   You can find also find an archive copy on

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

   The last tested version of cairo-pdf is 1.4.6.

        LIBS=-lm  -lrt -lz -lcairo
    LDFLAGS=-R/usr/local/rrdtool-1.3.6/lib -L/usr/local/lib 
-L/usr/local/rrdtool-1.3.6/lib -L/usr/local/lib
   CPPFLAGS= -D_REENTRANT -INONE/include/cairo 
-I/usr/local/include/cairo -I/usr/local/include/freetype2 
-I/usr/local/include -I/usr/local/include/libpng12

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

checking for cairo_ps_surface_create in -lcairo... no
checking for pkg-config... (cached) pkg-config
checking for cairo_ps_surface_create in -lcairo... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cairo-ps. 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 libcairo and its header 
files. If
   you have not installed cairo-ps, you can get it either from its 
original home on

      http://cairographics.org/releases/

   You can find also find an archive copy on

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

   The last tested version of cairo-ps is 1.4.6.

        LIBS=-lm  -lrt -lcairo
    LDFLAGS=-R/usr/local/rrdtool-1.3.6/lib -L/usr/local/lib 
-L/usr/local/rrdtool-1.3.6/lib -L/usr/local/lib
   CPPFLAGS= -D_REENTRANT -INONE/include/cairo 
-I/usr/local/include/cairo -I/usr/local/include/freetype2 
-I/usr/local/include -I/usr/local/include/libpng12

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

checking for pango_cairo_context_set_font_options in -lpango-1.0... no
checking for pkg-config... (cached) pkg-config
checking for pango_cairo_context_set_font_options in -lpango-1.0... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of pangocairo. 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 libpango-1.0 and its header 
files. If
   you have not installed pangocairo, you can get it either from its 
original home on

      http://ftp.gnome.org/pub/GNOME/sources/pango/1.17

   You can find also find an archive copy on

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

   The last tested version of pangocairo is 1.17.

        LIBS=-lm  -lrt -lpangocairo-1.0 -lpango-1.0 -lcairo 
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lintl -liconv
    LDFLAGS=-R/usr/local/rrdtool-1.3.6/lib -L/usr/local/lib 
-L/usr/local/rrdtool-1.3.6/lib -L/usr/local/lib
   CPPFLAGS= -D_REENTRANT -I/usr/local/include/pango-1.0 
-I/usr/local/include/cairo -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 
-I/usr/local/include -I/usr/local/include/libpng12

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

checking for xmlParseFile in -lxml2... yes
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
configure: error: Please fix the library issues listed above and try again.


My environment variables are:
declare -x BUILD_DIR="/tmp/rrdbuild"
declare -x CFLAGS="-D_POSIX_PTHREAD_SEMANTICS"
declare -x CPPFLAGS="-I/usr/local/include 
-I/usr/local/rrdtool-1.3.6/freetype2 
-I/usr/local/rrdtool-1.3.6/include/pango-1.0 -I/usr/local/include/cairo 
-I/usr/local/include/pixman-1"
declare -x CXXFLAGS="-D_POSIX_PTHREAD_SEMANTICS"
declare -x HOSTTYPE="sparc"
declare -x INSTALL_DIR="/usr/local/rrdtool-1.3.6"
declare -x LDFLAGS="-R/usr/local/rrdtool-1.3.6/lib -L/usr/local/lib 
-L/usr/local/rrdtool-1.3.6/lib"
declare -x LD_LIBRARY_PATH="/usr/local/lib:/usr/local/rrdtool-1.3.6/lib"
declare -x LOGNAME="root"
declare -x MACHTYPE="sparc-sun-solaris2.9"
declare -x MAKE="/usr/local/bin/make"
declare -x OSTYPE="solaris2.9"
declare -x 
PATH="/usr/local/rrdtool-1.3.6/bin:/usr/ccs/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/lib:/usr/X11R6/bin:/usr/X11R6/lib:/usr/ccs/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/lib:/usr/X11R6/bin:/usr/X11R6/lib:/usr/bin:/bin:/usr/sbin:/sbin"
declare -x PGPPATH="/export/home/cfogel/.pgp"
declare -x PKG_CONFIG="/usr/local/rrdtool-1.3.6/bin/pkg-config"
declare -x PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
declare -x SHELL="/bin/sh"
declare -x SUDO_USER="cfogel"
declare -x USER="root"
declare -x USERNAME="root"








More information about the rrd-users mailing list