trouble with pango build - incorrect -I flags



I got the 0.7 version of pkg-config, cvs up'd in glib, atk and pango.  Glib
and atk built and installed okay, but after a successful autogen.sh in the
pango directory "make CFLAGS=-g" says:

    make  all-recursive
    make[1]: Entering directory `/home/skip/src/gtk/pango.cvs'
    Making all in pango
    make[2]: Entering directory `/home/skip/src/gtk/pango.cvs/pango'
    make  all-recursive
    make[3]: Entering directory `/home/skip/src/gtk/pango.cvs/pango'
    Making all in mini-fribidi
    make[4]: Entering directory `/home/skip/src/gtk/pango.cvs/pango/mini-fribidi'
    source='fribidi_get_type.c' object='fribidi_get_type.lo' libtool=yes \
    depfile='.deps/fribidi_get_type.Plo' tmpdepfile='.deps/fribidi_get_type.TPlo' \
    depmode=gcc3 /bin/sh ../../depcomp \
    /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\" -I../..    -g -c -o fribidi_get_type.lo `test -f fribidi_get_type.c || echo './'`fribidi_get_type.c
    mkdir .libs
    gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\" -I../.. -g -c fribidi_get_type.c -MT fribidi_get_type.lo -MF .deps/fribidi_get_type.TPlo -MD -MP  -fPIC -DPIC -o fribidi_get_type.o
    fribidi_get_type.c:26:18: glib.h: No such file or directory
    In file included from fribidi_get_type.c:27:
    ../../pango/pango-utils.h:23:18: glib.h: No such file or directory
    In file included from ../../pango/pango-font.h:29,
		     from ../../pango/pango-utils.h:24,
		     from fribidi_get_type.c:27:
    ../../pango/pango-coverage.h:25:18: glib.h: No such file or directory
    In file included from ../../pango/pango-font.h:30,
		     from ../../pango/pango-utils.h:24,
		     from fribidi_get_type.c:27:
    ../../pango/pango-types.h:25:18: glib.h: No such file or directory
    In file included from ../../pango/pango-utils.h:24,
		     from fribidi_get_type.c:27:
    ../../pango/pango-font.h:32:25: glib-object.h: No such file or directory
    In file included from fribidi_get_type.c:28:
    fribidi_types.h:27:18: glib.h: No such file or directory
    make[4]: *** [fribidi_get_type.lo] Error 1
    make[4]: Leaving directory `/home/skip/src/gtk/pango.cvs/pango/mini-fribidi'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/skip/src/gtk/pango.cvs/pango'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/home/skip/src/gtk/pango.cvs/pango'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/skip/src/gtk/pango.cvs'
    make: *** [all] Error 2

Is the pango build not using pkg-config?  I just installed 0.7 and it seems
to do the right things:

    beluga:skip% type -a pkg-config
    pkg-config is /usr/local/bin/pkg-config
    beluga:skip% pkg-config --version
    0.7.0
    beluga:skip% pkg-config --cflags glib-2.0
     -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  
    beluga:skip% pkg-config --cflags pango
     -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  

The -I flags on the compile line don't look even remotely correct.  There's
no mention at all of /usr/local/include/glib-2.0.

-- 
Skip Montanaro (skip pobox com)
(847)971-7098




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