[rrd-users] RRD Compilation problem on 64 bit machine - Pangocairo error

Koaps koaps at yahoo.com
Wed Mar 24 18:49:39 CET 2010


Nevermind, I see you are using NetBSD.

I would just build everything from source the same way the rrdtool manual does, then you are linking against the pango you just built.

http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html


I pretty much always do it this way even if there are packages since they tend to use older versions.

-c

--- On Wed, 3/24/10, Koaps <koaps at yahoo.com> wrote:

From: Koaps <koaps at yahoo.com>
Subject: Re: [rrd-users] RRD Compilation problem on 64 bit machine - Pangocairo error
To: rrd-users at lists.oetiker.ch, "Jose Oscar Olivares Ocampo/Mexico/Contr/IBM" <oscaro at mx1.ibm.com>
Date: Wednesday, March 24, 2010, 10:44 AM

Why type of system is it?

If its packages based, something like CentOS or Redhat, you are probably missing the pangocairo-devel package or similar.

-c

--- On Wed, 3/24/10, Jose Oscar Olivares Ocampo/Mexico/Contr/IBM <oscaro at mx1.ibm.com> wrote:

From: Jose Oscar Olivares Ocampo/Mexico/Contr/IBM <oscaro at mx1.ibm.com>
Subject: [rrd-users] RRD Compilation problem on 64 bit machine - Pangocairo error
To: rrd-users at lists.oetiker.ch
Date: Wednesday, March 24, 2010, 9:52 AM



     I am trying to compile
RRD 1.4.2 on a 64 bit machine. We are using pkgsrc for this.

The bmake install ends with the following
error:



* 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=-lcairo -lcairo -lcairo
-lm  -lcairo -lpng12   -lglib-2.0   -lpangocairo-1.0 -lpango-1.0
-lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0

   LDFLAGS=-L/usr/lib64 -Wl,-R/usr/lib64
-Wl,-R/usr/pkg/lib -L/usr/X11R6/lib64 -Wl,-R/usr/X11R6/lib64 -L/usr/pkg/lib
  -Wl,-R/usr/pkg/lib   -L/usr/pkg/lib   -Wl,-R/usr/pkg/lib
  -L/usr/pkg/lib   -Wl,-R/usr/pkg/lib

  CPPFLAGS=-I/usr/pkg/include -I/usr/include
-I/usr/pkg/include/freetype2 -DXTHREADS -I/usr/pkg/include/cairo -I/usr/pkg/include/libpng12
-I/usr/pkg/include/pixman-1 -I/usr/pkg/include/freetype2 -I/usr/pkg/include
-I/usr/X11R6/include   -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include
  -DXTHREADS -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/cairo
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/pixman-1
-I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/pkg/include/libpng12
-I/usr/X11R6/include



However, pangocairo is installed on
the system, but seems like it is not looking at the correct path or something
like that.

Any suggestions on what can be wrong
and how it might be fixed?



Thanks in Advanced!

Best Regards!



José Oscar Olivares Ocampo


-----Inline Attachment Follows-----

_______________________________________________
rrd-users mailing list
rrd-users at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users



      
-----Inline Attachment Follows-----

_______________________________________________
rrd-users mailing list
rrd-users at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20100324/0901259d/attachment-0001.htm 


More information about the rrd-users mailing list