问题:
在Ubuntu上安装chickadee时,我运行./configure
,并得到如下错误:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes <>
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for guile... /usr/bin/guile
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: checking for guile 3.0
configure: checking for guile 2.2
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.
我已经通过apt install安装了Guile-3.0.1。我可以看到Guile inner /usr/bin/
,但我看不到Guile inner /usr/lib/x86_64-linux-gnu/pkgconfig
我还尝试更新PKG_CONFIG_PATH
:/usr/bin/pkg-config
,它不能工作。
以下是config.log
内chickadee文件夹的相关日志:
~/Downloads/chickadee-0.5.0$ cat config.log | grep pkg
configure:2510: checking for pkg-config
configure:2528: found /usr/bin/pkg-config
configure:2540: result: /usr/bin/pkg-config
configure:2565: checking pkg-config is at least version 0.9.0
Package guile-3.0 was not found in the pkg-config search path.
Package guile-2.2 was not found in the pkg-config search path.
to adjust your PKG_CONFIG_PATH; see the pkg-config man page for more.
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
PKG_CONFIG='/usr/bin/pkg-config'
答案1:
看来您只安装了configure所需的应用程序,而没有安装开发库。尝试: sudo apt-get install guile-3.0-dev
可用的软件包可以通过以下方式列出:apt-cache search guile
相关文章