标签: autotools

为什么我在构建 gdb 时找不到 termcap 库?

make 然后失败了:

配置:错误:没有找到 termcap 库,但是 termcap 库就在那里,为什么找不到它?

checking for library containing zlibVersion... -lz
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for library containing dlgetmodinfo... no
checking for iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for library containing waddstr... no
configure: WARNING: no enhanced curses library found; disabling TUI
checking for library containing tgetent... no
configure: error: no termcap …
Run Code Online (Sandbox Code Playgroud)

centos build make gdb autotools

10
推荐指数
2
解决办法
3万
查看次数

为什么 rtorrent 构建失败?

我不是 root,所以我必须从源代码构建 rtorrent 并希望将它安装在我的主目录中,但它失败了,为什么?

[mirror@hugemeow rtorrent]$ ls
AUTHORS  autogen.sh  ChangeLog  configure.ac  COPYING  doc  INSTALL  Makefile.am  NEWS  rak  README  scripts  src  test
[mirror@hugemeow rtorrent]$ ./autogen.sh
aclocal...
aclocal:configure.ac:7: warning: macro `AM_PATH_CPPUNIT' not found in library
autoheader...
libtoolize... using libtoolize
automake...
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
src/Makefile.am: installing `./depcomp'
autoconf...
configure.ac:7: error: possibly undefined macro: AM_PATH_CPPUNIT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
Run Code Online (Sandbox Code Playgroud)

尽管 autoge 失败,但配置脚本已创建。

[mirror@hugemeow rtorrent]$ ls
aclocal.m4  autogen.sh      ChangeLog     config.h.in  configure …
Run Code Online (Sandbox Code Playgroud)

centos build rtorrent autotools autoconf

5
推荐指数
2
解决办法
4683
查看次数

标签 统计

autotools ×2

build ×2

centos ×2

autoconf ×1

gdb ×1

make ×1

rtorrent ×1