[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

devel/pango, cairo and new XF4



Hi

Config.log says that cairo isn't available as symbols from libfreetype
aren't found while linking libcairo in.

Maybe it's because of recent XF4 changes?  Anyone else has similar
problem?

Important parts from build log:

[...]
checking for cairo >= 0.5.2-head... yes
checking CAIRO_CFLAGS... -I/usr/local/include/cairo  
checking CAIRO_LIBS... -L/usr/local/lib -lcairo  
checking for cairo_win32_scaled_font_select_font in -lcairo... no
checking for cairo_ft_scaled_font_lock_face in -lcairo... no
[...]
Error in package: "/usr/obj/ports/pango-1.10.2/fake-i386//usr/local/include/pango-1.0/pango/pangocairo.h" does not exist
Error in package: "/usr/obj/ports/pango-1.10.2/fake-i386//usr/local/lib/libpangocairo-1.0.a" does not exist
Error in package: "/usr/obj/ports/pango-1.10.2/fake-i386//usr/local/lib/libpangocairo-1.0.la" does not exist
Error in package: "/usr/obj/ports/pango-1.10.2/fake-i386//usr/local/lib/pkgconfig/pangocairo.pc" does not exist
Error in package: "/usr/obj/ports/pango-1.10.2/fake-i386//usr/local/lib/libpangocairo-1.0.so.1001.1" does not exist
[...]

Full build log is attached.

Following diff fixes this problem for me ...

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/pango/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile	1 Dec 2005 15:41:09 -0000	1.15
+++ Makefile	1 Jan 2006 15:20:35 -0000
@@ -33,7 +33,8 @@
 CONFIGURE_ARGS+=	--enable-static
 CONFIGURE_ARGS+=	--without-qt
 CONFIGURE_ENV=		CPPFLAGS="-I${X11BASE}/include" \
-			PKG_CONFIG_PATH="${LOCALBASE}/lib/pkgconfig:${X11BASE}/lib/pkgconfig"
+			PKG_CONFIG_PATH="${LOCALBASE}/lib/pkgconfig" \
+			LDFLAGS="-L${X11BASE}/lib -lfreetype"
 
 post-install:
 	@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pango; \

Attachment: log.gz
Description: application/gunzip


Visit your host, monkey.org