gdkdrawable-x11.c:32:28: error: pango/pangoxft.h: No such file or directory



Hi. Next problem on my quest to getting Graphviz working with the Cairo plugin on Mac OS X 10.4.2:

I can make and install pango-1.10.0 (in $HOME/graphviz for now). But then when I try to make gtk+-2.8.0 it complains that it can't find a pango header:

$ ./configure --prefix=$HOME/graphviz --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
$ make

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" - DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk - DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED - DGDK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthreads -I/Users/ rschmidt/graphviz/include/glib-2.0 -I/Users/rschmidt/graphviz/lib/ glib-2.0/include -I/Users/rschmidt/graphviz/include/pango-1.0 -I/opt/ local/include/freetype2 -I/opt/local/include -I/Users/rschmidt/ graphviz/include/cairo -I/opt/local/include -I/Users/rschmidt/ graphviz/include -O0 -g -I/usr/X11R6/include -I/opt/local/include -I/ Users/rschmidt/graphviz/include -O0 -g -Wall -MT gdkdrawable-x11.lo - MD -MP -MF .deps/gdkdrawable-x11.Tpo -c gdkdrawable-x11.c -fno- common -DPIC -o .libs/gdkdrawable-x11.o
powerpc-apple-darwin8-gcc-4.0.0: unrecognized option '-pthreads'
gdkdrawable-x11.c:32:28: error: pango/pangoxft.h: No such file or directory
make[4]: *** [gdkdrawable-x11.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

pangoxft.h exists in $HOME/graphviz/pango-1.10.0/pango but not in $HOME/graphviz/includes/pango-1.0/pango where I would have expected pango to have installed it. I can successfully make gtk+ by configuring like this instead:

$ CFLAGS="-I$HOME/graphviz/pango-1.10.0" ./configure --prefix=$HOME/ graphviz --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
$ make

But it doesn't seem like that should be necessary. Is this a problem of pango-1.10.0 forgetting to install some headers, or of gtk+-2.8.0 using some pango headers it shouldn't be using?

Thanks for your insight.





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