LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1085|回复: 2

请问我在编译Xorg7.2过程中,在编译到libXau-1.0.3代码包的时候,出现一下错误,怎么解

[复制链接]
发表于 2008-6-2 15:24:30 | 显示全部楼层 |阅读模式
敲入命令./configure $XORG_CONFIG后,最后出现一下信息:
checking whether make sets $(MAKE)... (cached) yes
checking pkg-config is at least version 0.9.0... ./configure: line 20275: /usr/X11/lib/pkgconfig: is a directory
no
checking for XAU... configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables XAU_CFLAGS
and XAU_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
 楼主| 发表于 2008-6-2 17:12:00 | 显示全部楼层
新的错误信息如下:
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XAU... configure: error: Package requirements (xproto) were not met:

No package 'xproto' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XAU_CFLAGS
and XAU_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-3 11:42:51 | 显示全部楼层
已经解决,重新按照文档重新编译一次,就OK了.提醒大家,要认真看文档
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表