我正在尝试在我的 WSL Ubuntu 20.04 安装中安装 libgraph。我安装了所有必要的软件包。但是当我尝试配置 libgraph 时,它失败了:
$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... sleep: cannot read realtime clock: Invalid argument
yes
.
.
.
.
.
checking for gawk... (cached) gawk
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking SDL ==> SDL_image library... SDL_image = yes
checking for Guile... Wrong __data_start/_end pair
./configure: line 19582: 7444 Aborted (core dumped) guile-config link > /dev/null
configure: cannot find guile-config; is Guile installed?
我也安装了 guile-dev。来自https://stackoverflow.com/a/53095838/4791142
我尝试安装不同版本的 guile(和 guile-dev),即 2.0、2.2 和 3.0。但似乎没有任何效果。
在任何情况下,guile-config 都无法像这样运行:
$ guile-config
Wrong __data_start/_end pair
Aborted (core dumped)