QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 889|回复: 1

怎么在redhat9.0中安装zhcon?

[复制链接]
发表于 2004-9-29 12:59:28 | 显示全部楼层 |阅读模式
下载了libpth14-1.4.1-2mdk.i586.rpm 并安装
rpm -i libpth14-1.4.1-2mdk.i586.rpm
rpm -qa|grep pth
pth-1.4.0-2
libpth14-1.4.1-2mdk

下载了unicon-input-3.0.3-12mdk.i586.rpm并安装
rpm -i unicon-input-3.0.3-12mdk.i586.rpm
rpm -qa|grep unicon
unicon-input-3.0.3-12mdk

下载zhcon-0.2.3.tar.gz解压
./configure 提示

checking for main in -lggi... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating doc/Makefile
config.status: creating doc/zhcon.1
config.status: creating debian/Makefile
config.status: creating tools/Makefile
config.status: creating font/Makefile
config.status: creating input/Makefile
config.status: creating src/Makefile
config.status: creating src/display/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

Configuration:
    Target system:             i686-pc-linux-gnu
    Source code location:      .
    C++ Compiler:              g++
    C++ Compiler flags:         -funsigned-char -march=i686 -DNDEBUG -Wall
    C   Compiler:              gcc
    C   Compiler flags:         -funsigned-char -march=i686 -DNDEBUG -Wall
    VGA support:               yes
    gpm moues support:         no
    libggi support:            no
    unicon support:            no
    zhcon binary dir:          /usr/local/bin
    zhcon files dir:           /usr/local/lib/zhcon

Config complete, now type make to build zhcon.
Good Luck!

make 提示

cd . \
  && CONFIG_FILES= CONFIG_HEADERS=config.h \
     /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
config.status: executing default-2 commands
make  all-recursive
make[1]: Entering directory `/root/downloads/zhcon-0.2.3'
Making all in src
make[2]: Entering directory `/root/downloads/zhcon-0.2.3/src'
Making all in display
make[3]: Entering directory `/root/downloads/zhcon-0.2.3/src/display'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/downloads/zhcon-0.2.3/src/display'
make[3]: Entering directory `/root/downloads/zhcon-0.2.3/src'
source='zhcon.cpp' object='zhcon.o' libtool=no \
depfile='.deps/zhcon.Po' tmpdepfile='.deps/zhcon.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I..     -funsigned-char -march=i686 -DNDEBUG -Wall
-c -o zhcon.o `test -f zhcon.cpp || echo './'`zhcon.cpp
In file included from /usr/include/c++/3.2.2/backward/strstream:51,
                 from zhcon.cpp:23:
/usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning: #warning This
file includes at least one deprecated or antiquated header. Please consider usin
g one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples
include substituting the <X> header for the <X.h> header for C++ includes, or <s
stream> instead of the deprecated header <strstream.h>. To disable this warning
use -Wno-deprecated.
zhcon.cpp:62:18: term.h: 没有那个文件或目录
zhcon.cpp:262:6: warning: #warning OPEN_MAX undefined so far,try define it to 64
zhcon.cpp: In member function `void Zhcon::InitTty()':
zhcon.cpp:433: `tgetent' undeclared (first use this function)
zhcon.cpp:433: (Each undeclared identifier is reported only once for each
   function it appears in.)
zhcon.cpp:444: `tgetstr' undeclared (first use this function)
make[3]: *** [zhcon.o] Error 1
make[3]: Leaving directory `/root/downloads/zhcon-0.2.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/downloads/zhcon-0.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/downloads/zhcon-0.2.3'
make: *** [all] Error 2


兄弟我是linux 新手,请大虾们指教 :-(
发表于 2004-9-30 22:57:02 | 显示全部楼层
为什么不直接安装zhcon的rpm呢?
另外mdk的rpm不要装在rh上。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-24 04:29 , Processed in 0.041354 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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