免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 2082 | 回复: 10
打印 上一主题 下一主题

RH AS4 装 zhcon-0.2.3.tar.gz 报错 ???? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-03-01 13:30 |只看该作者 |倒序浏览
小弟新装了套AS4。但在装字符中文的时候,报错。安装失败。请高手指教。

安装过程和报错内容如下:

[root@localhost zhcon-0.2.3]# ./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 to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
Linux detected
./configure: line 1696: test: =: unary operator expected
x86 platform detected, compile with VGA support
checking for gawk... (cached) gawk
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... ranlib
checking whether byte ordering is bigendian... no
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 strerror in -lcposix... no
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
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/sh: ./config.rpath: No such file or directory
done
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... no
checking for setenv... no
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... no
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.875, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for inline... (cached) inline
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for memmove... yes
checking for memset... yes
checking for strchr... yes
checking for forkpty in -lutil... yes
checking for main in -lcurses... yes
checking for main in -ldl... yes
checking for main in -lpth... no
checking for main in -limmclient... no
checking for main in -limm_server... no
checking gpm.h usability... yes
checking gpm.h presence... yes
checking for gpm.h... yes
checking for main in -lgpm... yes
checking ggi/ggi.h usability... no
checking ggi/ggi.h presence... no
checking for ggi/ggi.h... no
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: 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:         yes
    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!


[root@localhost zhcon-0.2.3]# make install
Making install in src
make[1]: Entering directory `/tmp/zhcon-0.2.3/src'
Making install in display
make[2]: Entering directory `/tmp/zhcon-0.2.3/src/display'
source='fbdev.cpp' object='fbdev.o' libtool=no \
depfile='.deps/fbdev.Po' tmpdepfile='.deps/fbdev.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -funsigned-char -march=i686 -DNDEBUG -Wall -c -o fbdev.o `test -f fbdev.cpp || echo './'`fbdev.cpp
source='fblinear15.cpp' object='fblinear15.o' libtool=no \
depfile='.deps/fblinear15.Po' tmpdepfile='.deps/fblinear15.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -funsigned-char -march=i686 -DNDEBUG -Wall -c -o fblinear15.o `test -f fblinear15.cpp || echo './'`fblinear15.cpp
source='fblinear16.cpp' object='fblinear16.o' libtool=no \
depfile='.deps/fblinear16.Po' tmpdepfile='.deps/fblinear16.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -funsigned-char -march=i686 -DNDEBUG -Wall -c -o fblinear16.o `test -f fblinear16.cpp || echo './'`fblinear16.cpp
source='fblinear24.cpp' object='fblinear24.o' libtool=no \
depfile='.deps/fblinear24.Po' tmpdepfile='.deps/fblinear24.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -funsigned-char -march=i686 -DNDEBUG -Wall -c -o fblinear24.o `test -f fblinear24.cpp || echo './'`fblinear24.cpp
fblinear24.cpp: In member function `virtual void FBLinear24:rawChar(int, int, int, int, CharBitMap*)':
fblinear24.cpp:206: error: ISO C++ forbids cast to non-reference type used as lvalue
fblinear24.cpp:210: error: ISO C++ forbids cast to non-reference type used as lvalue
make[2]: *** [fblinear24.o] 错误 1
make[2]: Leaving directory `/tmp/zhcon-0.2.3/src/display'
make[1]: *** [install-recursive] 错误 1
make[1]: Leaving directory `/tmp/zhcon-0.2.3/src'
make: *** [install-recursive] 错误 1
[root@localhost zhcon-0.2.3]#

论坛徽章:
0
2 [报告]
发表于 2005-03-01 13:59 |只看该作者

RH AS4 装 zhcon-0.2.3.tar.gz 报错 ????

make;make install ??

论坛徽章:
0
3 [报告]
发表于 2005-03-01 15:19 |只看该作者

RH AS4 装 zhcon-0.2.3.tar.gz 报错 ????

使用make返回错误信息一样。
冰河の泪 该用户已被删除
4 [报告]
发表于 2005-06-10 00:29 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
5 [报告]
发表于 2005-06-10 00:34 |只看该作者

RH AS4 装 zhcon-0.2.3.tar.gz 报错 ????

同意 牙齿晒太阳 的说法

不过我想问下楼主。zhcon-0.2.3.tar.gz 是个啥东东啊
冰河の泪 该用户已被删除
6 [报告]
发表于 2005-06-10 01:34 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
冰河の泪 该用户已被删除
7 [报告]
发表于 2005-06-10 15:26 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
8 [报告]
发表于 2005-08-29 23:21 |只看该作者

RH AS4 装 zhcon-0.2.3.tar.gz 报错 ????

偶也这样,太郁闷了。

论坛徽章:
208
巨蟹座
日期:2013-09-02 09:16:36卯兔
日期:2013-09-02 20:53:59酉鸡
日期:2013-09-05 21:21:45戌狗
日期:2013-10-15 20:51:17寅虎
日期:2013-10-18 21:13:16白羊座
日期:2013-10-23 21:15:19午马
日期:2013-10-25 21:22:48技术图书徽章
日期:2013-11-01 09:11:32双鱼座
日期:2013-11-01 20:29:44丑牛
日期:2013-11-01 20:40:00卯兔
日期:2013-11-11 09:21:32酉鸡
日期:2013-12-04 19:56:39
9 [报告]
发表于 2005-08-29 23:26 |只看该作者

RH AS4 装 zhcon-0.2.3.tar.gz 报错 ????

好象是语法有错,自己改改就行了,我自己在fc2上装的时候就是这样,具体记不清了,好象是语法检查更严格了,代码在公司,现在没法看,反正挺简单的

论坛徽章:
0
10 [报告]
发表于 2005-08-29 23:48 |只看该作者

RH AS4 装 zhcon-0.2.3.tar.gz 报错 ????

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: yes
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!

问题可能出在这里
补装这两个模块然后试试看?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP