標題: 編譯libxcb時遇到缺pthread-stubs xau問題。 [打印本頁] 作者: liugang9931706 時間: 2013-02-22 14:15 標題: 編譯libxcb時遇到缺pthread-stubs xau問題。 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版本問題,需要安裝哪個文件?
謝謝! 作者: liugang9931706 時間: 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
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
Complete!作者: zhouciming 時間: 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.