我最近切换到 Slackware 来学习如何使用更高级的 Linux 发行版。它默认安装了 GNU Guile 2.0,但我从源代码构建了 Guile 3.0。当我尝试构建 guile-json 时,我在运行配置脚本时收到了这条消息。指示说要跑./configure --prefix=<guile-prefix>
。我正在尝试做的事情的前缀是什么,或者我将如何找到它?
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
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: checking for guile 2.0
configure: found guile 2.0
checking for guile-2.0... no
checking for guile2.0... no
checking for guile-2... no
checking for guile2... no
checking for guile... /usr/local/bin/guile
configure: error: found development files for Guile 2.0, but /usr/local/bin/guile has effective version 3.0