[问题]怎么安装cce 0.51啊

系统字体配置、中文显示和输入法问题
回复
dbzhang800
帖子: 3182
注册时间: 2006-03-10 15:10
来自: xi'an China
联系:

[问题]怎么安装cce 0.51啊

#1

帖子 dbzhang800 » 2006-04-22 9:59

源里面的太老了,
看到这个帖子 viewtopic.php?t=1769&highlight=zhcon
下载了源码,但装不上
系统是Ubuntu 5.10

dbzhang@xjtu-dbzhang:~/cce-0.51$ make
Making all in src
make[1]: Entering directory `/home/dbzhang/cce-0.51/src'
Making all in input
make[2]: Entering directory `/home/dbzhang/cce-0.51/src/input'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DCCELIB=\"/usr/local/share/cce\" -MT associate.o -MD -MP -MF ".deps/associate.Tpo" -c -o associate.o associate.c; \
then mv -f ".deps/associate.Tpo" ".deps/associate.Po"; else rm -f ".deps/associate.Tpo"; exit 1; fi
In file included from associate.c:38:
../../include/defs.h: 在函数 ‘bzero2’ 中:
../../include/defs.h:61: 错误:自增运算中的左值无效
../../include/defs.h: 在函数 ‘wzero’ 中:
../../include/defs.h:68: 错误:自增运算中的左值无效
../../include/defs.h: 在函数 ‘lzero’ 中:
../../include/defs.h:76: 错误:自增运算中的左值无效
../../include/defs.h: 在函数 ‘bmove’ 中:
../../include/defs.h:82: 错误:自增运算中的左值无效
../../include/defs.h:82: 错误:自增运算中的左值无效
../../include/defs.h: 在函数 ‘brmove’ 中:
../../include/defs.h:88: 错误:自减运算中的左值无效
../../include/defs.h:88: 错误:自减运算中的左值无效
../../include/defs.h: 在函数 ‘wmove’ 中:
../../include/defs.h:95: 错误:自增运算中的左值无效
../../include/defs.h:95: 错误:自增运算中的左值无效
../../include/defs.h: 在函数 ‘lmove’ 中:
../../include/defs.h:102: 错误:自增运算中的左值无效
../../include/defs.h:102: 错误:自增运算中的左值无效
associate.c: 在函数 ‘FillAssociateChars’ 中:
associate.c:150: 警告:传递参数 1 (属于 ‘strlen’) 给指针时目标与指针有/无符号 不一致
associate.c:165: 警告:传递参数 1 (属于 ‘__builtin_strncpy’) 给指针时目标与指 针有/无符号不一致
associate.c:165: 警告:传递参数 2 (属于 ‘__builtin_strncpy’) 给指针时目标与指 针有/无符号不一致
associate.c: 在函数 ‘DisplayAssociateInput’ 中:
associate.c:200: 警告:传递参数 3 (属于 ‘InputAreaOutput’) 给指针时目标与指针 有/无符号不一致
associate.c: 在函数 ‘Associate_HZFilter’ 中:
associate.c:214: 警告:对指针赋值时目标与指针有/无符号不一致
make[2]: *** [associate.o] 错误 1
make[2]: Leaving directory `/home/dbzhang/cce-0.51/src/input'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/dbzhang/cce-0.51/src'
make: *** [all-recursive] 错误 1


-------------------------------------------------------------------------------------------------------------------
自己发的帖子好像不能删除

问题解决了
把 .rpm 转成 .deb就能装了
fuhuizn
帖子: 948
注册时间: 2006-01-06 22:55
系统: ubuntu
联系:

#2

帖子 fuhuizn » 2006-04-25 17:33

先export CC=gcc-3.4
然后./configure
make
make install
wangking
帖子: 7
注册时间: 2007-06-15 8:55

#3

帖子 wangking » 2007-09-11 0:29

king@king:~/Desktop/cce-0.51$ export CC=gcc-3A
king@king:~/Desktop/cce-0.51$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc-3A
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
wangking
帖子: 7
注册时间: 2007-06-15 8:55

#4

帖子 wangking » 2007-09-11 0:30

应该怎么解决?
回复