编译garnome-2.10/platform时出错
第一次弄这个啊,大家帮忙看下是哪儿的错,谢谢!编译garnome-2.10.0.1/platform时出错
系统:
Sarge,已经apt安装了最基本的gnome,原来的gnome能运行起来(不过安装的程序极少).在现在运行的精简gnome上编译2.10.0,使用garnome-2.10.0.1.
在garnome的REDEME中要求的软件包,除libhermes1-dev没有apt到,安装的hermes1,hermes1-dev两个外,其它全部安装.
For a basic, sane platform/ directory:
Debian
------
libpng3-dev
libjpeg62-dev
libtiff4-dev
libncurses5-dev
xlibs-dev
libpopt-dev
libbz2-dev, zlib1g-dev
libexpat1-dev
libsmbclient-dev
libhermes1-dev
docbook-xml + docbook-xsl
openjade or jade
下面为出错信息:
==> Building platform/pango as a dependency
make[3]: Entering directory `/home/moxnet/garnome-2.10.0.1/platform/pango'
[===== NOW BUILDING: pango-1.8.1 =====]
[fetch] complete for pango.
[checksum] complete for pango.
[extract] complete for pango.
[patch] complete for pango.
[fixup] complete for pango.
[configure] complete for pango.
==> Running make in work/main.d/pango-1.8.1
make[4]: Entering directory `/home/moxnet/garnome-2.10.0.1/platform/pango/work/main.d/pango-1.8.1'
makeall-recursive
make[5]: Entering directory `/home/moxnet/garnome-2.10.0.1/platform/pango/work/main.d/pango-1.8.1'
Making all in pango
make[6]: Entering directory `/home/moxnet/garnome-2.10.0.1/platform/pango/work/main.d/pango-1.8.1/pango'
makeall-recursive
make[7]: Entering directory `/home/moxnet/garnome-2.10.0.1/platform/pango/work/main.d/pango-1.8.1/pango'
Making all in mini-fribidi
make[8]: Entering directory `/home/moxnet/garnome-2.10.0.1/platform/pango/work/main.d/pango-1.8.1/pango/mini-fribidi'
make[8]: Nothing to be done for `all'.
make[8]: Leaving directory `/home/moxnet/garnome-2.10.0.1/platform/pango/work/main.d/pango-1.8.1/pango/mini-fribidi'
make[8]: Entering directory `/home/moxnet/garnome-2.10.0.1/platform/pango/work/main.d/pango-1.8.1/pango'
if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/home/moxnet/garnome/etc\" -DLIBDIR=\"/home/moxnet/garnome/lib\" -DMODULE_VERSION=\"1.4.0\" -DG_DISABLE_DEPRECATED -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -pthread -I/home/moxnet/garnome/include/glib-2.0 -I/home/moxnet/garnome/lib/glib-2.0/include -I/usr/X11R6/include -I..-I/home/moxnet/garnome/include-I/home/moxnet/garnome/include -L/home/moxnet/garnome/lib -march=athlon-xp -m3dnow -Wall -MT pangox.lo -MD -MP -MF ".deps/pangox.Tpo" \
-c -o pangox.lo `test -f 'pangox.c' || echo './'`pangox.c; \
then mv -f ".deps/pangox.Tpo" ".deps/pangox.Plo"; \
else rm -f ".deps/pangox.Tpo"; exit 1; \
fi
cc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/home/moxnet/garnome/etc\" -DLIBDIR=\"/home/moxnet/garnome/lib\" -DMODULE_VERSION=\"1.4.0\" -DG_DISABLE_DEPRECATED -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -pthread -I/home/moxnet/garnome/include/glib-2.0 -I/home/moxnet/garnome/lib/glib-2.0/include -I/usr/X11R6/include -I.. -I/home/moxnet/garnome/include -I/home/moxnet/garnome/include -L/home/moxnet/garnome/lib -march=athlon-xp -m3dnow -Wall -MT pangox.lo -MD -MP -MF .deps/pangox.Tpo -c pangox.c-fPIC -DPIC -o .libs/pangox.o
pangox.c:26:22: X11/Xlib.h: No such file or directory
In file included from pangox.c:32:
pangox.h:31:22: X11/Xlib.h: No such file or directory
In file included from pangox.c:32:
pangox.h:37: error: parse error before '*' token
pangox.h:37: error: parse error before "GC"
pangox.h:37: warning: type defaults to `int' in declaration of `GC'
pangox.h:37: error: `GC' declared as function returning a function
pangox.h:42: error: parse error before '*' token
pangox.h:44: error: parse error before "PangoGetGCFunc"
pangox.h:47: error: parse error before '*' token
pangox.h:49: error: parse error before '*' token
pangox.h:56: error: parse error before '*' token
pangox.h:62: error: parse error before '*' token
pangox.h:95: error: parse error before '*' token
pangox.h:98: error: parse error before '*' token
pangox.h:99: warning: type defaults to `int' in declaration of `pango_x_font_cache_load'
pangox.h:99: warning: data definition has no type or storage class
pangox.h:101: error: parse error before "XFontStruct"
pangox.h:103: error: parse error before '*' token
pangox.h:104: error: parse error before '*' token
In file included from pangox.c:33:
pangox-private.h:36: error: parse error before "Display"
pangox-private.h:36: warning: no semicolon at end of struct or union
pangox-private.h:61: error: parse error before '}' token
pangox-private.h:78: error: parse error before "Display"
pangox-private.h:78: warning: no semicolon at end of struct or union
pangox-private.h:93: error: parse error before "coverage_win"
pangox-private.h:93: warning: type defaults to `int' in declaration of `coverage_win'
pangox-private.h:93: warning: data definition has no type or storage class
pangox-private.h:112: error: parse error before '*' token
pangox-private.h:112: warning: type defaults to `int' in declaration of `pango_x_fontmap_get_display'
pangox-private.h:112: warning: data definition has no type or storage class
pangox-private.h:118: error: parse error before "pango_x_fontmap_atom_from_name"
pangox-private.h:119: warning: type defaults to `int' in declaration of `pango_x_fontmap_atom_from_name'
pangox-private.h:119: warning: data definition has no type or storage class
pangox-private.h:121: error: parse error before "Atom"
pangox.c:53: error: parse error before "XFontStruct"
pangox.c:53: warning: no semicolon at end of struct or union
pangox.c:57: error: parse error before '}' token
pangox.c:67: error: parse error before "PangoGetGCFunc"
pangox.c:67: warning: no semicolon at end of struct or union
pangox.c:69: error: parse error before '}' token
pangox.c:98: error: parse error before '*' token
pangox.c:100: warning: type defaults to `int' in declaration of `pango_x_get_per_char'
pangox.c:100: warning: data definition has no type or storage class
pangox.c:104: error: parse error before "XCharStruct"
pangox.c:105: error: parse error before '*' token
pangox.c:106: warning: type defaults to `int' in declaration of `pango_x_get_font_struct'
pangox.c:106: warning: data definition has no type or storage class
pangox.c: In function `pango_x_find_subfont':
pangox.c:121: error: dereferencing pointer to incomplete type
pangox.c:127: error: dereferencing pointer to incomplete type
pangox.c: In function `pango_x_make_font_struct':
pangox.c:136: error: dereferencing pointer to incomplete type
pangox.c:138: error: dereferencing pointer to incomplete type
pangox.c:138: error: dereferencing pointer to incomplete type
pangox.c:139: error: dereferencing pointer to incomplete type
pangox.c:141: error: dereferencing pointer to incomplete type
pangox.c:144: error: dereferencing pointer to incomplete type
pangox.c:147: error: dereferencing pointer to incomplete type
pangox.c:147: error: dereferencing pointer to incomplete type
pangox.c:147: error: dereferencing pointer to incomplete type
pangox.c:148: error: dereferencing pointer to incomplete type
pangox.c:148: error: dereferencing pointer to incomplete type
pangox.c:148: error: dereferencing pointer to incomplete type
pangox.c:149: error: dereferencing pointer to incomplete type
pangox.c:149: error: dereferencing pointer to incomplete type
pangox.c:149: error: dereferencing pointer to incomplete type
pangox.c: At top level:
pangox.c:152: error: parse error before '*' token
pangox.c:154: warning: return type defaults to `int'
pangox.c: In function `pango_x_get_font_struct':
pangox.c:155: error: dereferencing pointer to incomplete type
pangox.c:158: error: dereferencing pointer to incomplete type
pangox.c: At top level:
pangox.c:171: error: parse error before '*' token
pangox.c: In function `pango_x_get_context':
pangox.c:190: error: invalid application of `sizeof' to an incomplete type
pangox.c:191: error: dereferencing pointer to incomplete type
pangox.c:192: error: dereferencing pointer to incomplete type
pangox.c:197: error: `display' undeclared (first use in this function)
pangox.c:197: error: (Each undeclared identifier is reported only once
pangox.c:197: error: for each function it appears in.)
pangox.c: At top level:
pangox.c:213: error: parse error before "PangoGetGCFunc"
pangox.c: In function `pango_x_context_set_funcs':
pangox.c:220: error: `context' undeclared (first use in this function)
pangox.c:223: error: dereferencing pointer to incomplete type
pangox.c:223: error: `get_gc_func' undeclared (first use in this function)
pangox.c:224: error: dereferencing pointer to incomplete type
pangox.c: In function `pango_x_font_get_type':
pangox.c:242: error: invalid application of `sizeof' to an incomplete type
pangox.c: In function `pango_x_font_init':
pangox.c:258: error: dereferencing pointer to incomplete type
pangox.c:259: error: dereferencing pointer to incomplete type
pangox.c:261: error: dereferencing pointer to incomplete type
pangox.c:262: error: dereferencing pointer to incomplete type
pangox.c:264: error: dereferencing pointer to incomplete type
pangox.c:266: error: dereferencing pointer to incomplete type
pangox.c:267: error: dereferencing pointer to incomplete type
pangox.c: In function `pango_x_font_new':
pangox.c:298: error: dereferencing pointer to incomplete type
pangox.c:300: error: dereferencing pointer to incomplete type
pangox.c:302: error: dereferencing pointer to incomplete type
pangox.c:303: error: dereferencing pointer to incomplete type
pangox.c:303: error: dereferencing pointer to incomplete type
pangox.c:303: error: dereferencing pointer to incomplete type
pangox.c:303: error: dereferencing pointer to incomplete type
pangox.c:306: error: dereferencing pointer to incomplete type
pangox.c: At top level:
pangox.c:325: error: parse error before '*' token
pangox.c: In function `pango_x_load_font':
pangox.c:333: error: `display' undeclared (first use in this function)
pangox.c:333: error: `spec' undeclared (first use in this function)
pangox.c: At top level:
pangox.c:364: error: parse error before '*' token
pangox.c: In function `pango_x_render':
pangox.c:372: error: `Font' undeclared (first use in this function)
pangox.c:372: error: parse error before "old_fid"
pangox.c:373: error: `XFontStruct' undeclared (first use in this function)
pangox.c:373: error: `fs' undeclared (first use in this function)
pangox.c:382: error: `XChar2b' undeclared (first use in this function)
pangox.c:382: error: parse error before "xcharbuffer"
pangox.c:390: error: `glyphs' undeclared (first use in this function)
pangox.c:393: error: `x' undeclared (first use in this function)
pangox.c:394: error: `y' undeclared (first use in this function)
pangox.c:409: error: `font' undeclared (first use in this function)
pangox.c:417: warning: implicit declaration of function `XDrawString16'
pangox.c:417: error: `display' undeclared (first use in this function)
pangox.c:417: error: `d' undeclared (first use in this function)
pangox.c:417: error: `gc' undeclared (first use in this function)
pangox.c:417: error: `xcharbuffer' undeclared (first use in this function)
pangox.c:453: warning: implicit declaration of function `XDrawLine'
pangox.c:468: warning: implicit declaration of function `XFillRectangle'
pangox.c:534: error: `old_fid' undeclared (first use in this function)
pangox.c:537: warning: implicit declaration of function `XSetFont'
pangox.c:554: warning: implicit declaration of function `XTextWidth16'
pangox.c: In function `pango_x_font_get_glyph_extents':
pangox.c:574: error: `XCharStruct' undeclared (first use in this function)
pangox.c:574: error: `cs' undeclared (first use in this function)
pangox.c:639: error: dereferencing pointer to incomplete type
pangox.c:640: error: dereferencing pointer to incomplete type
pangox.c:640: error: dereferencing pointer to incomplete type
pangox.c: At top level:
pangox.c:663: error: parse error before "atom"
pangox.c: In function `get_int_prop':
pangox.c:669: error: `val' undeclared (first use in this function)
pangox.c:672: error: `fs' undeclared (first use in this function)
pangox.c:674: error: `atom' undeclared (first use in this function)
pangox.c: In function `get_font_metrics_from_subfonts':
pangox.c:787: error: `Atom' undeclared (first use in this function)
pangox.c:787: error: parse error before "avg_width_atom"
pangox.c:789: error: `avg_width_atom' undeclared (first use in this function)
pangox.c:789: error: dereferencing pointer to incomplete type
pangox.c:801: error: `XFontStruct' undeclared (first use in this function)
pangox.c:801: error: `fs' undeclared (first use in this function)
pangox.c:830: error: dereferencing pointer to incomplete type
pangox.c:830: error: dereferencing pointer to incomplete type
pangox.c: In function `pango_x_font_get_metrics':
pangox.c:920: error: dereferencing pointer to incomplete type
pangox.c:937: error: dereferencing pointer to incomplete type
pangox.c:937: error: dereferencing pointer to incomplete type
pangox.c: In function `pango_x_insert_subfont':
pangox.c:1020: error: invalid application of `sizeof' to an incomplete type
pangox.c:1022: error: dereferencing pointer to incomplete type
pangox.c:1023: error: dereferencing pointer to incomplete type
pangox.c:1025: error: dereferencing pointer to incomplete type
pangox.c:1027: error: dereferencing pointer to incomplete type
pangox.c:1027: error: dereferencing pointer to incomplete type
pangox.c:1029: error: dereferencing pointer to incomplete type
pangox.c:1030: error: dereferencing pointer to incomplete type
pangox.c:1030: error: dereferencing pointer to incomplete type
pangox.c:1030: error: dereferencing pointer to incomplete type
pangox.c:1033: error: dereferencing pointer to incomplete type
pangox.c:1033: error: dereferencing pointer to incomplete type
pangox.c:1035: error: dereferencing pointer to incomplete type
pangox.c: In function `pango_x_list_subfonts':
pangox.c:1070: error: dereferencing pointer to incomplete type
pangox.c:1076: error: dereferencing pointer to incomplete type
pangox.c:1079: error: dereferencing pointer to incomplete type
pangox.c:1081: error: dereferencing pointer to incomplete type
pangox.c:1086: error: dereferencing pointer to incomplete type
pangox.c:1088: error: dereferencing pointer to incomplete type
pangox.c:1093: warning: implicit declaration of function `XListFonts'
pangox.c:1093: error: dereferencing pointer to incomplete type
pangox.c:1093: warning: initialization makes pointer from integer without a cast
pangox.c:1097: warning: implicit declaration of function `XFreeFontNames'
pangox.c:1103: error: dereferencing pointer to incomplete type
pangox.c:1103: error: dereferencing pointer to incomplete type
pangox.c:1114: error: dereferencing pointer to incomplete type
pangox.c:1117: error: dereferencing pointer to incomplete type
pangox.c:1128: error: dereferencing pointer to incomplete type
pangox.c: In function `pango_x_has_glyph':
pangox.c:1156: error: `XCharStruct' undeclared (first use in this function)
pangox.c:1156: error: `cs' undeclared (first use in this function)
pangox.c: In function `pango_x_font_subfont_xlfd':
pangox.c:1200: error: dereferencing pointer to incomplete type
pangox.c: In function `pango_x_font_dispose':
pangox.c:1212: error: dereferencing pointer to incomplete type
pangox.c:1212: error: dereferencing pointer to incomplete type
pangox.c:1213: error: dereferencing pointer to incomplete type
pangox.c: In function `pango_x_font_finalize':
pangox.c:1237: error: dereferencing pointer to incomplete type
pangox.c:1241: error: dereferencing pointer to incomplete type
pangox.c:1243: error: dereferencing pointer to incomplete type
pangox.c:1245: error: dereferencing pointer to incomplete type
pangox.c:1247: error: dereferencing pointer to incomplete type
pangox.c:1248: error: dereferencing pointer to incomplete type
pangox.c:1253: error: dereferencing pointer to incomplete type
pangox.c:1255: error: dereferencing pointer to incomplete type
pangox.c:1256: error: dereferencing pointer to incomplete type
pangox.c:1258: error: dereferencing pointer to incomplete type
pangox.c:1259: error: dereferencing pointer to incomplete type
pangox.c:1261: error: dereferencing pointer to incomplete type
pangox.c:1262: error: dereferencing pointer to incomplete type
pangox.c:1264: error: dereferencing pointer to incomplete type
pangox.c:1266: error: dereferencing pointer to incomplete type
pangox.c: In function `pango_x_font_describe':
pangox.c:1278: error: dereferencing pointer to incomplete type
pangox.c:1280: error: dereferencing pointer to incomplete type
pangox.c:1281: error: dereferencing pointer to incomplete type
pangox.c: In function `pango_x_font_get_coverage':
pangox.c:1310: error: dereferencing pointer to incomplete type
pangox.c: At top level:
pangox.c:1326: error: parse error before '*' token
pangox.c:1330: warning: return type defaults to `int'
pangox.c: In function `pango_x_get_per_char':
pangox.c:1331: error: `XFontStruct' undeclared (first use in this function)
pangox.c:1331: error: `fs' undeclared (first use in this function)
pangox.c:1341: error: dereferencing pointer to incomplete type
pangox.c:1344: error: dereferencing pointer to incomplete type
pangox.c:1350: error: dereferencing pointer to incomplete type
pangox.c:1354: error: dereferencing pointer to incomplete type
pangox.c:1357: error: dereferencing pointer to incomplete type
pangox.c: At top level:
pangox.c:1370: error: parse error before "XCharStruct"
pangox.c: In function `pango_x_find_glyph':
pangox.c:1373: error: `XCharStruct' undeclared (first use in this function)
pangox.c:1373: error: `cs' undeclared (first use in this function)
pangox.c:1375: error: `glyph' undeclared (first use in this function)
pangox.c:1378: error: `font' undeclared (first use in this function)
pangox.c:1386: error: `subfont_return' undeclared (first use in this function)
pangox.c:1389: error: `charstruct_return' undeclared (first use in this function)
pangox.c: At top level:
pangox.c:1428: error: parse error before '*' token
pangox.c: In function `pango_x_render_layout_line':
pangox.c:1435: error: `line' undeclared (first use in this function)
pangox.c:1460: error: dereferencing pointer to incomplete type
pangox.c:1461: error: dereferencing pointer to incomplete type
pangox.c:1461: error: `gc' undeclared (first use in this function)
pangox.c:1472: error: dereferencing pointer to incomplete type
pangox.c:1474: error: function `bg_gc' is initialized like a variable
pangox.c:1474: error: dereferencing pointer to incomplete type
pangox.c:1476: error: `display' undeclared (first use in this function)
pangox.c:1476: error: `drawable' undeclared (first use in this function)
pangox.c:1477: error: `x' undeclared (first use in this function)
pangox.c:1478: error: `y' undeclared (first use in this function)
pangox.c:1482: error: dereferencing pointer to incomplete type
pangox.c:1483: error: dereferencing pointer to incomplete type
pangox.c:1531: error: dereferencing pointer to incomplete type
pangox.c:1531: error: dereferencing pointer to incomplete type
pangox.c:1532: error: dereferencing pointer to incomplete type
pangox.c: At top level:
pangox.c:1550: error: parse error before '*' token
pangox.c: In function `pango_x_render_layout':
pangox.c:1562: error: `layout' undeclared (first use in this function)
pangox.c:1575: error: `display' undeclared (first use in this function)
pangox.c:1575: error: `drawable' undeclared (first use in this function)
pangox.c:1575: error: `gc' undeclared (first use in this function)
pangox.c:1577: error: `x' undeclared (first use in this function)
pangox.c:1578: error: `y' undeclared (first use in this function)
make[8]: *** [pangox.lo] Error 1
make[8]: Leaving directory `/home/moxnet/garnome-2.10.0.1/platform/pango/work/main.d/pango-1.8.1/pango'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/home/moxnet/garnome-2.10.0.1/platform/pango/work/main.d/pango-1.8.1/pango'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/home/moxnet/garnome-2.10.0.1/platform/pango/work/main.d/pango-1.8.1/pango'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/moxnet/garnome-2.10.0.1/platform/pango/work/main.d/pango-1.8.1'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/moxnet/garnome-2.10.0.1/platform/pango/work/main.d/pango-1.8.1'
make[3]: *** [build-work/main.d/pango-1.8.1/Makefile] Error 2
make[3]: Leaving directory `/home/moxnet/garnome-2.10.0.1/platform/pango'
make[2]: *** [../../platform/pango/cookies/main.d/install] Error 2
make[2]: Leaving directory `/home/moxnet/garnome-2.10.0.1/platform/gtk+'
make[1]: *** [../../platform/gtk+/cookies/main.d/install] Error 2
make[1]: Leaving directory `/home/moxnet/garnome-2.10.0.1/platform/GConf'
make: *** [paranoid-install] Error 2
你确定已经安装了 xlibs-dev 吗?
X11/Xlib.h 文件属于 libx11-dev,只要你正确安装了 xlibs-dev,不可能找不到这个头文件。 我记得装过一次,可是,哎,漏网之鱼.
好象python又出了点儿问题,正在找办法解决中...
谢谢carlos
页:
[1]