I have managed to  get graphviz to build on ubuntu.  It appears that
the sage environment confuses configure and it can't find a number of
header files.  Adding the following options to configure in the spkg-
install file resolves the problem for me:

PANGOCAIRO_CFLAGS="-pthread -I/usr/include/pango-1.0 -I/usr/include/
glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/
freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/
pixman-1  "
PANGOCAIRO_LIBS="-pthread -L/usr/lib/x86_64-linux-gnu -lpangocairo-1.0
-lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -
lglib-2.0  "
The options above are what configure generates for the default ubuntu
environment ni which graphviz will build.  The paths listed are the
standard locations for pango\cairo for 64bit ubuntu-11.04.

Trust this is of help to someone.

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to