免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2768 | 回复: 1
打印 上一主题 下一主题

安装GTK+-2.0出错....HLLP ME...... [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-05-29 12:41 |只看该作者 |倒序浏览
2可用积分
我的环境是Centos5.1 + KDE,我的机器里没有安装glib和gtk+,都是我下载后自
行编译安装的,gtk+-2.0的前期安装环境都安装并配置好了,在gtk+的安装目录
下运行 ./configure也没有错误出现,然后进行make make的时候出了一个错误,
并终止了....

错误信息如下(附件并带有config.log):

make[4]: Entering directory `/mnt/soft/gtk+-2.10.14/gdk/x11'
if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk
-I../../gdk -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS
-pthread -I/mnt/soft/glib2.16.2/include/glib-2.0
-I/mnt/soft/glib2.16.2/lib/glib-2.0/include -I../..//usr/lib/pkgconfig/.
-I/usr/local/include/cairo -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/local/include/pixman-1        -g -O2
-Wall -MT gdkasync.lo -MD -MP -MF ".deps/gdkasync.Tpo" \
          -c -o gdkasync.lo `test -f 'gdkasync.c' || echo
'./'`gdkasync.c; \
        then mv -f ".deps/gdkasync.Tpo" ".deps/gdkasync.Plo"; \
        else rm -f ".deps/gdkasync.Tpo"; exit 1; \
        fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\"
-DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk
-DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread
-I/mnt/soft/glib2.16.2/include/glib-2.0
-I/mnt/soft/glib2.16.2/lib/glib-2.0/include -I../..//usr/lib/pkgconfig/.
-I/usr/local/include/cairo -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/local/include/pixman-1 -g -O2 -Wall -MT
gdkasync.lo -MD -MP -MF .deps/gdkasync.Tpo -c gdkasync.c  -fPIC -DPIC
-o .libs/gdkasync.o
In file included from ../../gdk/gdkcolor.h:31,
                 from ../../gdk/gdkcairo.h:23,
                 from ../../gdk/gdk.h:30,
                 from gdkasync.h:25,
                 from gdkasync.c:51:
../../gdk/gdktypes.h:33:25: error: pango/pango.h: No such file or
directory
In file included from ../../gdk/gdk.h:30,
                 from gdkasync.h:25,
                 from gdkasync.c:51:
../../gdk/gdkcairo.h:25:30: error: pango/pangocairo.h: No such file or
directory
In file included from ../../gdk/gdk.h:35,
                 from gdkasync.h:25,
                 from gdkasync.c:51:
../../gdk/gdkdrawable.h:119: error: expected declaration specifiers or
'...' before 'PangoFont'
../../gdk/gdkdrawable.h:122: error: expected declaration specifiers or
'...' before 'PangoGlyphString'
../../gdk/gdkdrawable.h:186: error: expected declaration specifiers or
'...' before 'PangoMatrix'
../../gdk/gdkdrawable.h:187: error: expected declaration specifiers or
'...' before 'PangoFont'
../../gdk/gdkdrawable.h:190: error: expected declaration specifiers or
'...' before 'PangoGlyphString'
../../gdk/gdkdrawable.h:353: error: expected declaration specifiers or
'...' before 'PangoFont'
../../gdk/gdkdrawable.h:356: error: expected declaration specifiers or
'...' before 'PangoGlyphString'
../../gdk/gdkdrawable.h:361: error: expected declaration specifiers or
'...' before 'PangoLayoutLine'
../../gdk/gdkdrawable.h:366: error: expected declaration specifiers or
'...' before 'PangoLayout'
../../gdk/gdkdrawable.h:372: error: expected declaration specifiers or
'...' before 'PangoLayoutLine'
../../gdk/gdkdrawable.h:379: error: expected declaration specifiers or
'...' before 'PangoLayout'
../../gdk/gdkdrawable.h:385: error: expected declaration specifiers or
'...' before 'PangoMatrix'
../../gdk/gdkdrawable.h:386: error: expected declaration specifiers or
'...' before 'PangoFont'
../../gdk/gdkdrawable.h:389: error: expected declaration specifiers or
'...' before 'PangoGlyphString'
In file included from ../../gdk/gdk.h:38,
                 from gdkasync.h:25,
                 from gdkasync.c:51:
../../gdk/gdkfont.h:33:30: error: pango/pango-font.h: No such file or
directory
In file included from ../../gdk/gdk.h:38,
                 from gdkasync.h:25,
                 from gdkasync.c:51:
../../gdk/gdkfont.h:69: error: expected declaration specifiers or '...'
before 'PangoFontDescription'
../../gdk/gdkfont.h:76: error: expected ')' before '*' token
In file included from ../../gdk/gdk.h:42,
                 from gdkasync.h:25,
                 from gdkasync.c:51:
../../gdk/gdkkeys.h:103: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'gdk_keymap_get_direction'
In file included from ../../gdk/gdk.h:44,
                 from gdkasync.h:25,
                 from gdkasync.c:51:
../../gdk/gdkpango.h:67: error: expected specifier-qualifier-list before
'PangoRenderer'
../../gdk/gdkpango.h:82: error: expected specifier-qualifier-list before
'PangoRendererClass'
../../gdk/gdkpango.h:87: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
../../gdk/gdkpango.h:88: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
../../gdk/gdkpango.h:95: error: expected declaration specifiers or '...'
before 'PangoRenderPart'
../../gdk/gdkpango.h:98: error: expected declaration specifiers or '...'
before 'PangoRenderPart'
../../gdk/gdkpango.h:103: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
../../gdk/gdkpango.h:105: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
../../gdk/gdkpango.h:108: error: expected ')' before '*' token
../../gdk/gdkpango.h:119: error: expected ')' before '*' token
../../gdk/gdkpango.h:124: error: expected ')' before '*' token
../../gdk/gdkpango.h:139: error: expected specifier-qualifier-list
before 'PangoAttribute'
../../gdk/gdkpango.h:145: error: expected specifier-qualifier-list
before 'PangoAttribute'
../../gdk/gdkpango.h:149: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
../../gdk/gdkpango.h:150: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
In file included from gdkx.h:81,
                 from gdkasync.c:52:
gdkprivate-x11.h:182: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
In file included from gdkx.h:82,
                 from gdkasync.c:52:
gdkscreen-x11.h:95: error: expected specifier-qualifier-list before
'PangoRenderer'
In file included from gdkasync.c:53:
../../gdk/gdkalias.h:484: error: 'gdk_font_from_description' undeclared
here (not in a function)
../../gdk/gdkalias.h:484: warning: type defaults to 'int' in declaration
of 'IA__gdk_font_from_description'
../../gdk/gdkalias.h:1680: error: 'gdk_keymap_get_direction' undeclared
here (not in a function)
../../gdk/gdkalias.h:1680: warning: type defaults to 'int' in
declaration of 'IA__gdk_keymap_get_direction'
../../gdk/gdkalias.h:1790: error: 'gdk_pango_attr_embossed_new'
undeclared here (not in a function)
../../gdk/gdkalias.h:1790: warning: type defaults to 'int' in
declaration of 'IA__gdk_pango_attr_embossed_new'
../../gdk/gdkalias.h:1793: error: 'gdk_pango_attr_stipple_new'
undeclared here (not in a function)
../../gdk/gdkalias.h:1793: warning: type defaults to 'int' in
declaration of 'IA__gdk_pango_attr_stipple_new'
../../gdk/gdkalias.h:1796: error: 'gdk_pango_context_get' undeclared
here (not in a function)
../../gdk/gdkalias.h:1796: warning: type defaults to 'int' in
declaration of 'IA__gdk_pango_context_get'
../../gdk/gdkalias.h:1799: error: 'gdk_pango_context_get_for_screen'
undeclared here (not in a function)
../../gdk/gdkalias.h:1799: warning: type defaults to 'int' in
declaration of 'IA__gdk_pango_context_get_for_screen'
../../gdk/gdkalias.h:1803: error: 'gdk_pango_context_set_colormap'
undeclared here (not in a function)
../../gdk/gdkalias.h:1803: warning: type defaults to 'int' in
declaration of 'IA__gdk_pango_context_set_colormap'
../../gdk/gdkalias.h:1807: error: 'gdk_pango_layout_get_clip_region'
undeclared here (not in a function)
../../gdk/gdkalias.h:1807: warning: type defaults to 'int' in
declaration of 'IA__gdk_pango_layout_get_clip_region'
../../gdk/gdkalias.h:1810: error:
'gdk_pango_layout_line_get_clip_region' undeclared here (not in a
function)
../../gdk/gdkalias.h:1810: warning: type defaults to 'int' in
declaration of 'IA__gdk_pango_layout_line_get_clip_region'
../../gdk/gdkalias.h:1813: error: 'gdk_pango_renderer_get_default'
undeclared here (not in a function)
../../gdk/gdkalias.h:1813: warning: type defaults to 'int' in
declaration of 'IA__gdk_pango_renderer_get_default'
../../gdk/gdkalias.h:1819: error: 'gdk_pango_renderer_new' undeclared
here (not in a function)
../../gdk/gdkalias.h:1819: warning: type defaults to 'int' in
declaration of 'IA__gdk_pango_renderer_new'
make[4]: *** [gdkasync.lo] 错误 1
make[4]: Leaving directory `/mnt/soft/gtk+-2.10.14/gdk/x11'
make[3]: *** [all-recursive] 错误 1
make[3]: Leaving directory `/mnt/soft/gtk+-2.10.14/gdk'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/mnt/soft/gtk+-2.10.14/gdk'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/mnt/soft/gtk+-2.10.14'
make: *** [all] 错误 2
[root@lixin gtk+-2.10.14]#

config.log.tar.gz

15.24 KB, 下载次数: 34

论坛徽章:
95
程序设计版块每日发帖之星
日期:2015-09-05 06:20:00程序设计版块每日发帖之星
日期:2015-09-17 06:20:00程序设计版块每日发帖之星
日期:2015-09-18 06:20:002015亚冠之阿尔艾因
日期:2015-09-18 10:35:08月度论坛发贴之星
日期:2015-09-30 22:25:002015亚冠之阿尔沙巴布
日期:2015-10-03 08:57:39程序设计版块每日发帖之星
日期:2015-10-05 06:20:00每日论坛发贴之星
日期:2015-10-05 06:20:002015年亚冠纪念徽章
日期:2015-10-06 10:06:482015亚冠之塔什干棉农
日期:2015-10-19 19:43:35程序设计版块每日发帖之星
日期:2015-10-21 06:20:00每日论坛发贴之星
日期:2015-09-14 06:20:00
2 [报告]
发表于 2008-05-29 22:25 |只看该作者
应该是缺少什么开发库。

btw, 这些东西若无特殊需要就不要自己编译了,直接用所用发行版的二进制版本安装。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP