Hi,

A few packages in the gnome chapter fail to build when issuing
g-ir-scanner commands. The reason is they have #include <cairo.h>
directives in header files, and cairo.h is in /usr/include/cairo.

While it is not a problem with compilation commands, which use
-I/usr/include/cairo, that switch is not used with the g-ir-scanner
command, thus giving an error.

The affected packages I have found so far are librsvg,
metacity, and libgxps.

One workaround I have found is :

sed -i 's@<cairo\.h>@<cairo/cairo.h>@' *.h (or src/*.h
for metacity)

I do not know much about gobject-introspection, so there could
be better fixes. Anyway, with the current instructions, those
packages do not build.

Regards,
Pierre
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to