LinuxSir.cn,穿越时空的Linuxsir!

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

fedora core2 安装openssh 时遇到的问题,请教帮助

[复制链接]
发表于 2004-12-26 10:41:23 | 显示全部楼层 |阅读模式
CC="egcs" \
CFLAGS="-O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro -march=pentiumpro -fomit-frame-
pointer -fno-exceptions" \
./configure \
--prefix=/usr \
--sysconfdir=/etc/ssh \
--with-tcp-wrappers \
--with-ipv4-default \
--with-ssl-dir=/usr/include/openssl

到最后一步:-with-ssl-dir=/usr/include/openssl 时,提示
configure 没有那个文件或目录

在usr/include下面的确有 openssl文件夹 示了N次了,就是不成功,我刚刚接触linux,很菜..请高手指教!谢谢...
另外有没有安装方便易用的远程控制linux的软件呢? 我机器用的win2003/fedora ,刚给服务器装的fedora 总是在机房调试东西实再不方便
 楼主| 发表于 2004-12-26 11:40:08 | 显示全部楼层
这个问题解决了,,不过新的问题又有了..我用的 ssh是系统自带的,用F-Secure SSH Client Trial连接的,可是里面的汉字不能正常显示,,是乱码,请问应该如何解决呢?
发表于 2004-12-26 12:28:35 | 显示全部楼层
在终端下要看中文的话,需要外挂像zhcon那样的中文支持软件。
 楼主| 发表于 2004-12-26 14:30:40 | 显示全部楼层
谢谢版主
 楼主| 发表于 2004-12-26 15:23:49 | 显示全部楼层
[vipstar987686@home soft]$ cd zhcon
[vipstar987686@home zhcon]$ ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found

configure script for zhcon -- A fast CJK console for Linux & FreeBSD

Check for programs
checking for mawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking host system type... i686-pc-linux-gnu
checking for strerror in -lcposix... (cached) no
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking whether we are using the GNU C Library 2.1 or newer... (cached) yes
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... (cached) yes
checking for fgets_unlocked... (cached) yes
checking for getcwd... (cached) yes
checking for getegid... (cached) yes
checking for geteuid... (cached) yes
checking for getgid... (cached) yes
checking for getuid... (cached) yes
checking for mempcpy... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for stpcpy... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strtoul... (cached) yes
checking for tsearch... (cached) yes
checking for __argz_count... (cached) yes
checking for __argz_stringify... (cached) yes
checking for __argz_next... (cached) yes
checking for iconv... (cached) yes
checking for iconv declaration... (cached)
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... (cached) yes
checking for GNU gettext in libc... (cached) yes
checking for dcgettext... (cached) yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for bison... (cached) bison
checking version of bison... v. ?.??, bad
checking for catalogs to be installed...  zh_CN.GB2312 zh_CN.GBK zh_TW.Big5 ja
checking host system type... i686-pc-linux-gnu
checking for forkpty in -lutil... (cached) yes
checking for ggi/ggi.h... (cached) no
checking for main in -lggi... (cached) no
checking for main in -ldl... (cached) yes
checking for main in -lpth... (cached) no
checking for main in -limmclient... (cached) no
checking for main in -limm_server... (cached) no
checking for fcntl.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for termios.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for memmove... (cached) yes
checking for memset... (cached) yes
creating ./config.status
creating Makefile
creating intl/Makefile
creating po/Makefile.in
creating doc/Makefile
creating font/Makefile
creating input/Makefile
creating src/Makefile
creating src/display/Makefile
creating config.h
config.h is unchanged
creating po/POTFILES
creating po/Makefile

configure result:
libggi support: no
unicon support: no

You need to install unicon to compile zhcon with unicon support.
Please check if you have libimmclient.a ,libimm_server.so and libpth.so in /usr/lib.
WARNING:select unicon input method may cause a core dump with unicon support disabled!

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

[vipstar987686@home zhcon]$ make
make  all-recursive
make[1]: Entering directory `/home/vipstar987686/soft/zhcon'
Making all in src
make[2]: Entering directory `/home/vipstar987686/soft/zhcon/src'
Making all in display
make[3]: Entering directory `/home/vipstar987686/soft/zhcon/src/display'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -g -funsigned-char -Wall -c fbvgaplanes.cpp
In file included from fbvgaplanes.cpp:21:
../../src/debug.h:22: error: syntax error before `;' token
fbvgaplanes.cpp: In member function `virtual void FBVgaPlanes::FillRect(int,
   int, int, int, int)':
fbvgaplanes.cpp:156: error: `debug' undeclared (first use this function)
fbvgaplanes.cpp:156: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
make[3]: *** [fbvgaplanes.o] 閿欒 1
make[3]: Leaving directory `/home/vipstar987686/soft/zhcon/src/display'
make[2]: *** [all-recursive] 閿欒 1
make[2]: Leaving directory `/home/vipstar987686/soft/zhcon/src'
make[1]: *** [all-recursive] 閿欒 1
make[1]: Leaving directory `/home/vipstar987686/soft/zhcon'
make: *** [all-recursive-am] 閿欒 2
[vipstar987686@home zhcon]$ make install
Making install in src
make[1]: Entering directory `/home/vipstar987686/soft/zhcon/src'
Making install in display
make[2]: Entering directory `/home/vipstar987686/soft/zhcon/src/display'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -g -funsigned-char -Wall -c fbvgaplanes.cpp
In file included from fbvgaplanes.cpp:21:
../../src/debug.h:22: error: syntax error before `;' token
fbvgaplanes.cpp: In member function `virtual void FBVgaPlanes::FillRect(int,
   int, int, int, int)':
fbvgaplanes.cpp:156: error: `debug' undeclared (first use this function)
fbvgaplanes.cpp:156: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
make[2]: *** [fbvgaplanes.o] 閿欒 1
make[2]: Leaving directory `/home/vipstar987686/soft/zhcon/src/display'
make[1]: *** [install-recursive] 閿欒 1
make[1]: Leaving directory `/home/vipstar987686/soft/zhcon/src'
make: *** [install-recursive] 閿欒 1
[vipstar987686@home zhcon]$ zhcon
-bash: zhcon: command not found
[vipstar987686@home zhcon]$
[vipstar987686@home zhcon]$ echo $TERM
vt100
[vipstar987686@home zhcon]$ echo TERM=linux
TERM=linux
[vipstar987686@home zhcon]$ zhcon
-bash: zhcon: command not found
[vipstar987686@home zhcon]$ ]zhcon -k
-bash: ]zhcon: command not found
[vipstar987686@home zhcon]$ zhcon ?
-bash: zhcon: command not found
[vipstar987686@home zhcon]$ zhcon /help
-bash: zhcon: command not found

这是我安装zhcon的过程,应该是安装成功了,但是无法启动,,我是用ssh终端安装的...请前辈们帮我看看,谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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