[问题]请帮我看看这到底是缺少哪个库,谢谢!

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
felixlu
帖子: 311
注册时间: 2006-11-25 15:27
来自: SZ

[问题]请帮我看看这到底是缺少哪个库,谢谢!

#1

帖子 felixlu » 2007-01-08 23:51

请帮我看看这到底是缺少哪个库,谢谢!
刚才用手动安装声卡驱动,装完driver和lib之后就可以登录了
只是在装utils的过程中提示缺少一个库,请大家帮忙看看是哪一个。
我现在已经几乎把名字里包含有“curses"的库都装上了,还有这个提示。
提示no的就是有问题的地方吧,可是不知如何满足它的要求。

代码: 全选

# ./configure
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 NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... 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 dependency style of gcc... gcc3
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... /bin/bash: ./config.rpath: No such file or directory
done
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for cross-compiler... gcc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ALSA CFLAGS... 
checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
checking for libasound headers version >= 1.0.9... found.
checking for snd_ctl_open in -lasound... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for initscr in -lncurses... no
checking for initscr in -lcurses... no
configure: error: this packages requires a curses library
NoteBook: IBM X40 (1G Hz, 1.25GB, 20G+120GB)
Desktop: APU A6-3670, MSI A75A-G55, 4GB DDR3 1600 x 2
Slackware64 + Win7
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

不知道是要那个,那软件应该带说明的吧。

#2

帖子 eexpress » 2007-01-09 0:40

$● as curses
p evms-ncurses - Enterprise Volume Management System (ncurs
p irmp3-ncurses - irmp3 control frontend
p lib64ncurses5 - Shared libraries for terminal handling (64
p lib64ncurses5-dev - Developer's libraries for ncurses (64-bit)
p libcurses-perl - Curses interface for Perl
p libcurses-ruby - Curses interface for Ruby
v libcurses-ruby1.8 -
p libcurses-ui-perl - curses-based OO user interface framework f
p libcurses-widgets-perl - Curses widget interface for Perl
v libncurses-dev -
p libncurses-ruby - ruby Extension for the ncurses C library
p libncurses-ruby1.8 - ruby Extension for the ncurses C library
p libncurses-ruby1.9 - ruby Extension for the ncurses C library
p libncurses4 - Shared libraries for terminal handling
i libncurses5 - Shared libraries for terminal handling
p libncurses5-dbg - Debugging/profiling libraries for ncurses
p libncurses5-dev - Developer's libraries and docs for ncurses
i libncursesw5 - Shared libraries for terminal handling (wi
p libncursesw5-dbg - Debugging/profiling libraries for ncurses
p libncursesw5-dev - Developer's libraries for ncursesw
i ncurses-base - Descriptions of common terminal types
i ncurses-bin - Terminal-related programs and man pages
v ncurses-dev -
p ncurses-hexedit - Edit files/disks in hex, ASCII and EBCDIC
v ncurses-runtime -
p ncurses-term - Additional terminal type definitions
v perl-curses -
p pike7.6-pexts-curses - Pike (N)Curses module
p pinentry-curses - curses-based PIN or pass-phrase entry dial
p weechat-curses - Fast, light and extensible IRC client
● 鸣学
xiechy
帖子: 1074
注册时间: 2006-01-18 15:01

#3

帖子 xiechy » 2007-01-09 11:35

第一,不要装手动驱动。系统里我还没见到没带或者是没有debianize的方法装的。什么硬件?
什么包?
xiechy
帖子: 1074
注册时间: 2006-01-18 15:01

#4

帖子 xiechy » 2007-01-09 11:37

第二,检查用什么包不是这么检查的。ee说的很多都对,但这次是乱来。
用这个脚本:

代码: 全选

strace -f -o /tmp/log ./configure
       # or make instead of ./configure, if the package doesn't use autoconf
       for x in `dpkg -S $(grep open /tmp/log|\
                           perl -pe 's!.* open\(\"([^\"]*).*!$1!' |\
                           grep "^/"| sort | uniq|\
                           grep -v "^\(/tmp\|/dev\|/proc\)" ) 2>/dev/null|\
                           cut -f1 -d":"| sort | uniq`; \
             do \
               echo -n "$x (>=" `dpkg -s $x|grep ^Version|cut -f2 -d":"` "), "; \
             done
具体内容查maint
wx672
帖子: 6
注册时间: 2006-08-27 20:25

#5

帖子 wx672 » 2007-01-09 12:10

apt-get install libncurses5
头像
zhan
帖子: 1880
注册时间: 2005-08-15 0:04
来自: 南7技校

#6

帖子 zhan » 2007-01-09 12:23

楼上的,要编译的话是要 dev 包的,你这个明显不行.
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
头像
felixlu
帖子: 311
注册时间: 2006-11-25 15:27
来自: SZ

#7

帖子 felixlu » 2007-01-09 18:01

呵呵,楼上的对了,最后选了两个dev包解决了这个问题……
NoteBook: IBM X40 (1G Hz, 1.25GB, 20G+120GB)
Desktop: APU A6-3670, MSI A75A-G55, 4GB DDR3 1600 x 2
Slackware64 + Win7
回复