【问题标题】:configure says guile-config not found配置说没有找到 guile-config
【发布时间】:2018-11-01 05:35:20
【问题描述】:

我正在尝试在我的 debian 伸展安装上安装 libgraph。我安装了 guile 和其他必要的软件包。还从源代码构建了诡计。当我尝试使用 './configure' 配置 libgraph 时,它说:

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... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... f77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether f77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for f77 option to produce PIC... -fPIC checking if f77 PIC flag -fPIC works... yes checking if f77 supports -c -o file.o... yes checking whether the f77 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for gawk
... (缓存) gawk 检查 sdl-config... /usr/bin/sdl-config 检查 SDL - 版本 >= 1.2.0... 是 检查 SDL ==> SDL_image 库... SDL_image = yes 检查 Guile... ./configure: line 19637: guile-config: command not found 配置:找不到 guile-config; Guile 安装了吗?

我也试过: ls -l /usr/bin/guile-config

但它说:ls: cannot access '/usr/bin/guile-config': No such file or directory

【问题讨论】:

  • 安装 guile-2.0-dev 做了配置,但现在 make 说 libguile.h not found
  • 什么操作系统或发行版?

标签: guile


【解决方案1】:

请安装 guile-dev 软件包。 安装说明取决于您的操作系统。假设您使用的是 Linux,您可以在图形包管理器中搜索guile-dev(例如,SuSE 的 YaST,Ubuntu 的 aptitude and friends 等)。或者,只需在线搜索包裹即可。

【讨论】:

  • 找到 guile-2.0-dev.
  • apt-cache search guile-dev 在 Ubuntu 18.04 上显示 guile-2.0-dev - Development files for Guile 2.0。所以这很可能是当前版本。
  • 您使用guile-config compile 来确定或指定头文件 (.h) 的位置。输入guile-config 了解更多信息。
猜你喜欢
  • 2011-12-01
  • 2020-09-10
  • 2019-08-20
  • 2022-01-11
  • 2016-08-14
  • 2013-06-07
  • 2022-11-06
  • 1970-01-01
  • 2018-05-28
相关资源
最近更新 更多