From: Ilmari V. <ilm...@he...> - 2006-08-17 22:42:55
|
Hello all, on Ubuntu 6.06, building xmlroff 0.3.99 fails with the following error message (the error is present in multiple files, as you'll see later): fo-layout.c:12:43: error: pangoxsl/pango-xsl-attributes.h: No such file or directory The error seems to be caused by the path in the include statement on that line: #include <pangoxsl/pango-xsl-attributes.h> The correct path from the build directory to pango-xsl-attributes.h is <pangoxsl/pangoxsl/pango-xs-attributes.h>. This error is present in many .c and .h files in the project. After running find . -iname '*.[ch]' | xargs perl -pi -e's|#include <pangoxsl/| #include <pangoxsl/pangoxsl/|' to fix the paths, the build proceeds further, but then fails on: ./.libs/libfo-0.4.a(libfo_fodoc_la-fo-doc-gp.o): In function `fo_doc_gp_do_run_callbacks':/home/wolverian/xmlroff-0.3.99/libfo/fo-doc-gp.c:1166: undefined reference to `pango_attr_callback_get_type' and to other similar errors. I've attached the make logs before and after the path munging, and the config.log generated by ./configure. I'm sorry I couldn't diagnose the problem further, but my C-fu is very weak. -- Ilmari Vacklin <ilm...@he...> |