|
下载了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 新手,请大虾们指教 :-( |
|