我正在从 git-hub 编译 open-connect 源代码,但未找到 Guile 开发包

我正在从 git-hub 编译 open-connect 源代码,但未找到 Guile 开发包
*** Detecting GNU Guile...

checking for guile-snarf... /usr/bin/guile-snarf
checking for guild... /usr/bin/guild
checking for arm-linux-androideabi-pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: checking for guile 2.2
configure: checking for guile 2.0
configure: checking for guile 1.8
configure: error: 
No Guile development packages were found.

Please verify that you have Guile installed.  If you installed Guile
from a binary distribution, please verify that you have also installed
the development packages.  If you installed it yourself, you might need
to adjust your PKG_CONFIG_PATH; see the pkg-config man page for more.

答案1

在 synaptic 包管理器中或通过终端使用“apt-get install”安装 guile 和 guile-dev。安装后,您将获得 /usr/lib/x86_64-linux-gnu/pkgconfig/guile-.pc 文件。然后您需要做的就是:

export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig

然后配置或者直接进入源目录并运行:

PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig ./configure

相关内容