Mono 为什么没有包装';单声道';建立
试图从CentOS 7机器上安装Banshee(从Ubuntu迁移,我想保留我的播放列表和设置) /configure会导致:Mono 为什么没有包装';单声道';建立,mono,dependency-management,centos7,banshee,Mono,Dependency Management,Centos7,Banshee,试图从CentOS 7机器上安装Banshee(从Ubuntu迁移,我想保留我的播放列表和设置) /configure会导致: configure: error: Package requirements (mono >= 2.4.3) were not met: No package 'mono' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in
configure: error: Package requirements (mono >= 2.4.3) were not met:
No package 'mono' 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 MONO_MODULE_CFLAGS
and MONO_MODULE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
哪个单声道
/bin/mono
echo$PKG\u配置路径
/usr/local/lib/pkgconfig
但是如果我查一下pkgconfig
哪个pkgconfig
1:pkgconfig-0.27.1-4.el7.i686 : A tool for determining compilation options
Repo : base
Package 1:pkgconfig-0.27.1-4.el7.x86_64 already installed and latest version
/usr/bin/which:no-pkgconfig in(/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
yum提供pkgconfig
1:pkgconfig-0.27.1-4.el7.i686 : A tool for determining compilation options
Repo : base
Package 1:pkgconfig-0.27.1-4.el7.x86_64 already installed and latest version
yum安装pkgconfig
1:pkgconfig-0.27.1-4.el7.i686 : A tool for determining compilation options
Repo : base
Package 1:pkgconfig-0.27.1-4.el7.x86_64 already installed and latest version
去年提出了一个类似的问题,但没有得到公认的答案。一个问题的答案是现在有一个所谓的解决方案 我相信
pkg-config
本身工作正常,configure没有对此抱怨。缺少的是pkg config数据库中的mono
条目。确保在/usr/local/lib/pkgconfig
中有mono.pc
,或者按照说明将此文件添加到PKG\u CONFIG\u路径中。在某些linux发行版上,需要单独安装开发包,例如debian上的libmono-cil-dev