免费注册 查看新帖 |

Chinaunix

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

[Linux] 编译libxcb时遇到缺pthread-stubs xau问题。 [复制链接]

论坛徽章:
3
CU大牛徽章
日期:2013-03-14 14:14:08CU大牛徽章
日期:2013-03-14 14:14:26CU大牛徽章
日期:2013-03-14 14:14:29
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-02-22 14:15 |只看该作者 |倒序浏览
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... no
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
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... yes
checking for NEEDED... configure: error: Package requirements (pthread-stubs xau >= 0.99.2) were not met:


请问有没有人遇到这个问题,这个pthread-stubs xau版本问题,需要安装哪个文件?
谢谢!

论坛徽章:
3
CU大牛徽章
日期:2013-03-14 14:14:08CU大牛徽章
日期:2013-03-14 14:14:26CU大牛徽章
日期:2013-03-14 14:14:29
2 [报告]
发表于 2013-02-22 14:30 |只看该作者
刚刚找到答案了,给大家分享下:
[root@localhost libxcb-1.2]# yum install libXau-devel
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libXau-devel.i686 0:1.0.6-1.fc14 set to be installed
--> Processing Dependency: xorg-x11-proto-devel for package: libXau-devel-1.0.6-1.fc14.i686
--> Processing Dependency: pkgconfig(xproto) for package: libXau-devel-1.0.6-1.fc14.i686
--> Running transaction check
---> Package xorg-x11-proto-devel.noarch 0:7.4-39.fc14 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================
Package                                          Arch                               Version                                  Repository                           Size
========================================================================================================================================================================
Installing:
libXau-devel                                     i686                               1.0.6-1.fc14                             fedora                               13 k
Installing for dependencies:
xorg-x11-proto-devel                             noarch                             7.4-39.fc14                              updates                             250 k

Transaction Summary
========================================================================================================================================================================
Install       2 Package(s)

Total download size: 263 k
Installed size: 1.3 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 263 k
(1/2): libXau-devel-1.0.6-1.fc14.i686.rpm                                                                                                        |  13 kB     00:00     
(2/2): xorg-x11-proto-devel-7.4-39.fc14.noarch.rpm                                                                                               | 250 kB     00:00     
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                   211 kB/s | 263 kB     00:01     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing     : xorg-x11-proto-devel-7.4-39.fc14.noarch                                                                                                          1/2
  Installing     : libXau-devel-1.0.6-1.fc14.i686                                                                                                                   2/2

Installed:
  libXau-devel.i686 0:1.0.6-1.fc14                                                                                                                                      

Dependency Installed:
  xorg-x11-proto-devel.noarch 0:7.4-39.fc14                                                                                                                             

Complete!

论坛徽章:
0
3 [报告]
发表于 2013-09-04 18:45 |只看该作者
按楼主的方法试了,还是一样的错误:
checking for NEEDED... configure: error: Package requirements (pthread-stubs xau >= 0.99.2) were not met:

No package 'pthread-stubs' 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 NEEDED_CFLAGS
and NEEDED_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP