编译libxcb时报错:No package 'xcb-proto' found

简介: 编译libxcb时报错:No package 'xcb-proto' found

1、在编译xcb-proto时,通过--prefix把输出指定到${HOME}/build_libs下。

2、在编译xcb时时加个环境变量:

export PKG_CONFIG_PATH=${HOME}/build_libs/lib/pkgconfig:$PKG_CONFIG_PATH
目录
相关文章
|
Oracle 关系型数据库 Go
【开发工具】解决 Goland 报错:Found several packages [main, xxx] in ...
【开发工具】解决 Goland 报错:Found several packages [main, xxx] in ...
1701 0
【开发工具】解决 Goland 报错:Found several packages [main, xxx] in ...
|
7月前
|
Linux
报错 Package ‘oniguruma‘, required by ‘virtual:world‘, not found
报错 Package ‘oniguruma‘, required by ‘virtual:world‘, not found
411 0
|
7月前
[cmake] --- find_package
[cmake] --- find_package
157 0
|
7月前
|
Go C语言
安装go-sqlite3包时报exec: "gcc": executable file not found in %PATH%解决办法
安装go-sqlite3包时报exec: "gcc": executable file not found in %PATH%解决办法
282 0
|
7月前
|
C++ Windows
CMake中的find_package(xxx REQUIRED)在windows平台怎么解
CMake中的find_package(xxx REQUIRED)在windows平台怎么解
353 0
|
Go
【golang】解决:missing go.sum entry for module providing package
【golang】解决:missing go.sum entry for module providing package
1685 0
装R包(package)error:(as ‘lib’ is unspecified)installation of package had non-zero exit status]
装R包(package)error:(as ‘lib’ is unspecified)installation of package had non-zero exit status]
编译libxcb时报错:No package 'xcb-proto' found
编译libxcb时报错:No package 'xcb-proto' found
193 0
No package ‘gobject-introspection-1.0‘ found
No package ‘gobject-introspection-1.0‘ found
283 0
No package ‘glib-2.0‘ found/No package ‘gobject-2.0‘ found
No package ‘glib-2.0‘ found/No package ‘gobject-2.0‘ found
215 0