LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1225|回复: 10

lfs装完后,装zhcon还要什么阿

[复制链接]
发表于 2002-12-15 18:20:59 | 显示全部楼层 |阅读模式
如题
发表于 2002-12-15 18:47:08 | 显示全部楼层

装zhcon不需要什么呀

直接./configure make mkae install就行了
发表于 2002-12-15 18:55:11 | 显示全部楼层
仔细看看zhcon的安装说明,讲得很清楚的。
发表于 2002-12-15 20:22:57 | 显示全部楼层
内核中要打开frame buffer选项
发表于 2002-12-15 21:29:06 | 显示全部楼层

不打开也行

zhcon支持svga方式显示
 楼主| 发表于 2002-12-16 12:21:58 | 显示全部楼层

出错如下

cc1plus: warning: changing search order for system directory "/usr/local/include"
cc1plus: warning:   as it has already been specified as a non-system directory
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src  -I/usr/local/include  -O2 -DNDEBUG -funsigned-char -Wall -c fbvgaplanes.cpp
cc1plus: warning: changing search order for system directory "/usr/local/include"
cc1plus: warning:   as it has already been specified as a non-system directory
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src  -I/usr/local/include  -O2 -DNDEBUG -funsigned-char -Wall -c libggi.cpp
cc1plus: warning: changing search order for system directory "/usr/local/include"
cc1plus: warning:   as it has already been specified as a non-system directory
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src  -I/usr/local/include  -O2 -DNDEBUG -funsigned-char -Wall -c lrmi.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
-----------------------------------------------
"
cc1plus: warning:   as it has already been specified as a non-system directory
c++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -O2 -DNDEBUG -funsigned-char -Wall -c mouse.cpp
cc1plus: warning: changing search order for system directory "/usr/local/include"
cc1plus: warning:   as it has already been specified as a non-system directory
c++  -O2 -DNDEBUG -funsigned-char -Wall -Wl,-rpath=/usr/lib/unicon -o zhcon  -L/usr/lib/unicon  basefont.o big52gbdecoder.o big5decoder.o configfile.o console.o gb2big5decoder.o gbdecoder.o gbkdecoder.o graphdev.o hzdecoder.o jisdecoder.o kscdecoder.o main.o window.o winime.o zhcon.o overspotclient.o nativeinputserver.o inputclient.o inputmanager.o inputserver.o candilist.o uniconinputserver.o configserver.o nativebarclient.o mouse.o display/libdisplay.a -ldl -lutil  -L/usr/lib/unicon -L/usr/local/lib
zhcon.o: In function `Zhcon::InitTty()':
zhcon.o(.text+0x1211): undefined reference to `tgetent'
zhcon.o(.text+0x124d): undefined reference to `tgetstr'
zhcon.o(.text+0x1262): undefined reference to `tgetstr'
zhcon.o(.text+0x1277): undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make[3]: *** [zhcon] Error 1
make[3]: Leaving directory `/tmp/zhcon-0.2.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/zhcon-0.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/zhcon-0.2.1'
make: *** [all-recursive-am] Error 2
发表于 2002-12-16 14:38:24 | 显示全部楼层
我也是一样的问题,我查了一下man,好像是和termcap和ncurses有关的。在LFS里没有装termcap,因为现在都不用termcap了。LFS里的ncurses能模拟termcap,不知道是不是因为模拟的termcap zhcon找不到呢?
发表于 2002-12-16 15:22:38 | 显示全部楼层

这个东东在gentoo下编译也通不过,原来是这个原因。

后来装了它的rpm包,现在使用很正常
 楼主| 发表于 2002-12-16 15:32:46 | 显示全部楼层

那该怎么办呢?

1.装termcap?
2.装rpm?
3.调整?
发表于 2002-12-16 15:34:52 | 显示全部楼层
你最好试试rpm,反正迟早要装的。如果装termcap,不知道会不会影响到ncurses库。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表