pkg-config的配置问题
时间:2007-10-05
来源:互联网
export PKG_CONFIG_PATH32="/usr/lib/pkgconfig:/usr/X11R7/lib/pkgconfig" export PKG_CONFIG_PATHN32="/usr/lib32/pkgconfig" export PKG_CONFIG_PATH64="/usr/lib64/pkgconfig:/usr/X11R7/lib64/pkgconfig"
root20:02:27:/home/xorg73/old/libxcb-1.0# ls /usr/X11R7/lib/pkgconfig/xcb-proto.pc /usr/X11R7/lib/pkgconfig/xcb-proto.pc
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for xsltproc... /usr/bin/xsltproc checking for XCBPROTO... configure: error: Package requirements (xcb-proto >= 1.0) were not met: No package 'xcb-proto' 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 XCBPROTO_CFLAGS and XCBPROTO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
而且我运行pkg-config --list-all时什么显示都没有,是不是我配置有问题?
作者: echo 发布时间: 2007-10-05
echo PKG_CONFIG_PATH64
看一下 libxcb 需要一些什么 ?
http://cblfs.cross-lfs.org/index.php/Libxcb
# Required
# xcb-proto
# libpthread-stubs
# LibXSLT
#libXau from Xorg7/Libraries
需要先安装一个 Xorg7.x-lib 的包, 以 libXau 开头的那个。
所以,Xorg7.x 的依赖关系如同 “鬼打墙” 。按常规思维,Xorg7.x 的几个包,比如 lib 的,可以按一个顺序一并安装,又怎知还要绕几圈才成?
作者: tfkdmwmqtr 发布时间: 2007-10-05
和PKG_CONFIG_PATH64都指定了xcb-proto所在的目录位置
作者: echo 发布时间: 2007-10-06
我同样的问题,狠心从头开始重装xorg,没有用那个自动脚本,又好了
作者: stesen 发布时间: 2009-11-05
这样做就不出现这个问题。
作者: 飞龙在天 发布时间: 2009-11-06
作者: d00m3d 发布时间: 2009-11-07
问题应该出在什么地方?
作者: 飞龙在天 发布时间: 2009-11-07
作者: d00m3d 发布时间: 2009-11-07
作者: johnnyfu829 发布时间: 2009-11-07
作者: d00m3d 发布时间: 2009-11-08
ps:我都喜欢
X11R6 -> X11
X11 -> X11R7
X11R7 -> X11R7.4
作者: tusooa 发布时间: 2009-11-14
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28