pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/43885: rrdtool build fails to find pangocairo
>Number: 43885
>Category: pkg
>Synopsis: rrdtool build fails to find pangocairo
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 16 15:30:00 +0000 2010
>Originator: Hauke Fath
>Release: NetBSD 5.0_STABLE
>Organization:
--
/~\ The ASCII Ribbon Campaign Hauke Fath
\ / No HTML/RTF in email Institut für Nachrichtentechnik
X No Word docs in email TU Darmstadt
/ \ Respect for open standards Ruf +49-6151-16-3281
>Environment:
System: NetBSD bounce 5.0_STABLE NetBSD 5.0_STABLE (BOUNCE) #0: Tue Mar 23
13:45:42 CET 2010
hf@Hochstuhl:/var/obj/netbsd-builds/5/i386/sys/arch/i386/compile/BOUNCE i386
Architecture: i386
Machine: i386
>Description:
Building databases/rrdtool fails with
[...]
checking for glib.h... yes
checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... no
checking for pkg-config... (cached) pkg-config
checking for pango_cairo_context_set_font_options in -lpangocairo-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 libpangocairo-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 -lglib-2.0 -lintl -lpangocairo-1.0 -lcairo -lpangoft2-1.0
-lpango-1.0 -lm -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0
-lgthread-2.0 -lglib-2.0 -lintl
LDFLAGS=-L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
-L/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/pkg/lib -pthread
-Wl,-R/usr/X11R7/lib
CPPFLAGS=-I/usr/pkg/include -I/usr/include -I/usr/X11R7/include
-I/usr/X11R7/include/freetype2 -I/usr/pkg/include/glib/glib-2.0
-I/usr/pkg/lib/glib-2.0/include -pthread -D_REENTRANT
-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/X11R7/include -I/usr/X11R7/include/freetype2
-I/usr/pkg/include/libpng14 -I/usr/pkg/include
----------------------------------------------------------------------------
checking for xmlParseFile in -lxml2... yes
checking libxml/parser.h usability... no
checking libxml/parser.h presence... no
checking for libxml/parser.h... no
checking for pkg-config... (cached) pkg-config
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.
*** Error code 1
The 'config.log' says
[...]
conftest.c:101:1: warning: this is the location of the previous definition
conftest.c: In function 'main':
conftest.c:115: warning: old-style function definition
/var/obj/pkgsrc/databases/rrdtool/work/.buildlink/lib/libcairo.so: undefined
reference to `XRenderCreateRadialGradient'
/var/obj/pkgsrc/databases/rrdtool/work/.buildlink/lib/libcairo.so: undefined
reference to `XRenderCreateLinearGradient'
configure:25539: $? = 1
[...]
Full 'config.log' is at
<http://www.spg.tu-darmstadt.de/~hf/netbsd/rrdtool/config.log.gz>
pango and cairo packages have been freshly built.
>How-To-Repeat:
Build databases/rrdtool.
>Fix:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index