首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Arch linux上安装全局程序时出错

在Arch linux上安装全局程序时出错
EN

Stack Overflow用户
提问于 2017-10-24 17:36:58
回答 1查看 459关注 0票数 2

我试着从源头上安装全局的。我跑

代码语言:javascript
复制
./configure --with-exuberant-ctags=/usr/bin/ctags

而且运行正常。但是,当我跑的时候

代码语言:javascript
复制
make

它给出了错误

代码语言:javascript
复制
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2   -o gtags-cscope gtags-cscope.o alloc.o basename.o 
build.o command.o display.o edit.o exec.o find.o help.o history.o input.o logdir.o mouse.o mygetenv.o mypop
en.o ../libparser/libgloparser.a ../libutil/libgloutil.a ../libdb/libglodb.a ../libglibc/libgloglibc.a -llt
dl -lncurses                                                                                              
libtool: link: gcc -g -O2 -o gtags-cscope gtags-cscope.o alloc.o basename.o build.o command.o display.o edi
t.o exec.o find.o help.o history.o input.o logdir.o mouse.o mygetenv.o mypopen.o  ../libparser/libgloparser
.a ../libutil/libgloutil.a ../libdb/libglodb.a ../libglibc/libgloglibc.a -lltdl -lncurses                 
/usr/bin/ld: input.o: undefined reference to symbol 'erasechar'
/usr/lib/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:461: gtags-cscope] Error 1
make[2]: Leaving directory '/home/pspencil/tmp/global-6.5.7/gtags-cscope'
make[1]: *** [Makefile:517: all-recursive] Error 1
make[1]: Leaving directory '/home/pspencil/tmp/global-6.5.7'
make: *** [Makefile:424: all] Error 2

我已经安装了软件包ncurses,这显然应该提供擦除字符符号。我在谷歌上找不到有用的东西。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-10-24 20:41:18

显式链接tinfo库。NCurses使用tinfo,据我所读,ncurses应该在它自己的库中包含tinfo功能,也许最近这种情况已经改变了。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/46916744

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档