LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: moksa

如何在2005.0下顺利编译zhcon?

[复制链接]
 楼主| 发表于 2005-7-21 11:59:56 | 显示全部楼层
那大家怎么解决字符界面下的中文显示问题?
我的jmcce也不对劲。
回复 支持 反对

使用道具 举报

发表于 2005-7-21 18:02:57 | 显示全部楼层
linux-header的问题
回复 支持 反对

使用道具 举报

发表于 2005-7-21 18:27:28 | 显示全部楼层
我看了一下我的/var/log/emerge.log
发现我最近的一次是今年4月emerge zhcon的
也不是太遥远
最早是去年5月底了
回复 支持 反对

使用道具 举报

发表于 2005-7-22 00:08:44 | 显示全部楼层
这还真是个问题……本来可以放在cnfug的ftp,结果现在也挂了……
回复 支持 反对

使用道具 举报

发表于 2005-7-22 20:47:08 | 显示全部楼层
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=athlon-xp -O2 -pipe -fomit-frame-pointer -funsigned-char -march=i686 -DNDEBUG -Wall -c -o gbdecoder.o `test -f gbdecoder.cpp || echo './'`gbdecoder.cpp
source='gbkdecoder.cpp' object='gbkdecoder.o' libtool=no \
depfile='.deps/gbkdecoder.Po' tmpdepfile='.deps/gbkdecoder.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=athlon-xp -O2 -pipe -fomit-frame-pointer -funsigned-char -march=i686 -DNDEBUG -Wall -c -o gbkdecoder.o `test -f gbkdecoder.cpp || echo './'`gbkdecoder.cpp
source='graphdev.cpp' object='graphdev.o' libtool=no \
depfile='.deps/graphdev.Po' tmpdepfile='.deps/graphdev.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=athlon-xp -O2 -pipe -fomit-frame-pointer -funsigned-char -march=i686 -DNDEBUG -Wall -c -o graphdev.o `test -f graphdev.cpp || echo './'`graphdev.cpp
gbkdecoder.cpp: In member function `virtual bool GBKDecoder::IsCode2(char)':
gbkdecoder.cpp:30: warning: comparison is always true due to limited range of data type
gbkdecoder.cpp: In member function `virtual unsigned int GBKDecoder::Index(char, char)':
gbkdecoder.cpp:36: warning: comparison is always true due to limited range of data type
source='hzdecoder.cpp' object='hzdecoder.o' libtool=no \
depfile='.deps/hzdecoder.Po' tmpdepfile='.deps/hzdecoder.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=athlon-xp -O2 -pipe -fomit-frame-pointer -funsigned-char -march=i686 -DNDEBUG -Wall -c -o hzdecoder.o `test -f hzdecoder.cpp || echo './'`hzdecoder.cpp
source='jisdecoder.cpp' object='jisdecoder.o' libtool=no \
depfile='.deps/jisdecoder.Po' tmpdepfile='.deps/jisdecoder.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=athlon-xp -O2 -pipe -fomit-frame-pointer -funsigned-char -march=i686 -DNDEBUG -Wall -c -o jisdecoder.o `test -f jisdecoder.cpp || echo './'`jisdecoder.cpp
source='kscdecoder.cpp' object='kscdecoder.o' libtool=no \
depfile='.deps/kscdecoder.Po' tmpdepfile='.deps/kscdecoder.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=athlon-xp -O2 -pipe -fomit-frame-pointer -funsigned-char -march=i686 -DNDEBUG -Wall -c -o kscdecoder.o `test -f kscdecoder.cpp || echo './'`kscdecoder.cpp
source='main.cpp' object='main.o' libtool=no \
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=athlon-xp -O2 -pipe -fomit-frame-pointer -funsigned-char -march=i686 -DNDEBUG -Wall -c -o main.o `test -f main.cpp || echo './'`main.cpp
source='window.cpp' object='window.o' libtool=no \
depfile='.deps/window.Po' tmpdepfile='.deps/window.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=athlon-xp -O2 -pipe -fomit-frame-pointer -funsigned-char -march=i686 -DNDEBUG -Wall -c -o window.o `test -f window.cpp || echo './'`window.cpp
source='winime.cpp' object='winime.o' libtool=no \
depfile='.deps/winime.Po' tmpdepfile='.deps/winime.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=athlon-xp -O2 -pipe -fomit-frame-pointer -funsigned-char -march=i686 -DNDEBUG -Wall -c -o winime.o `test -f winime.cpp || echo './'`winime.cpp
source='zhcon.cpp' object='zhcon.o' libtool=no \
depfile='.deps/zhcon.Po' tmpdepfile='.deps/zhcon.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=athlon-xp -O2 -pipe -fomit-frame-pointer -funsigned-char -march=i686 -DNDEBUG -Wall -c -o zhcon.o `test -f zhcon.cpp || echo './'`zhcon.cpp
source='overspotclient.cpp' object='overspotclient.o' libtool=no \
depfile='.deps/overspotclient.Po' tmpdepfile='.deps/overspotclient.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=athlon-xp -O2 -pipe -fomit-frame-pointer -funsigned-char -march=i686 -DNDEBUG -Wall -c -o overspotclient.o `test -f overspotclient.cpp || echo './'`overspotclient.cpp
In file included from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/backward/strstream:51,
                 from zhcon.cpp:23:
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using 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 <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
zhcon.cpp:263:6: warning: #warning OPEN_MAX undefined so far,try define it to 64
source='nativeinputserver.cpp' object='nativeinputserver.o' libtool=no \
depfile='.deps/nativeinputserver.Po' tmpdepfile='.deps/nativeinputserver.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=athlon-xp -O2 -pipe -fomit-frame-pointer -funsigned-char -march=i686 -DNDEBUG -Wall -c -o nativeinputserver.o `test -f nativeinputserver.cpp || echo './'`nativeinputserver.cpp
source='inputclient.cpp' object='inputclient.o' libtool=no \
depfile='.deps/inputclient.Po' tmpdepfile='.deps/inputclient.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=athlon-xp -O2 -pipe -fomit-frame-pointer -funsigned-char -march=i686 -DNDEBUG -Wall -c -o inputclient.o `test -f inputclient.cpp || echo './'`inputclient.cpp
source='inputmanager.cpp' object='inputmanager.o' libtool=no \
depfile='.deps/inputmanager.Po' tmpdepfile='.deps/inputmanager.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=athlon-xp -O2 -pipe -fomit-frame-pointer -funsigned-char -march=i686 -DNDEBUG -Wall -c -o inputmanager.o `test -f inputmanager.cpp || echo './'`inputmanager.cpp
inputmanager.cpp: In member function `bool InputManager:oadImm(ImmInfo&)':
inputmanager.cpp:398: warning: unused variable 'r'
In file included from /usr/include/linux/keyboard.h:14,
                 from inputmanager.cpp:517:
/usr/include/linux/wait.h: In function `int wait_on_bit(void*, int, int (*)(void*), unsigned int)':
/usr/include/linux/wait.h:376: error: invalid conversion from `void*' to `const volatile long unsigned int*'
/usr/include/linux/wait.h:376: error:   initializing argument 2 of `int constant_test_bit(int, const volatile long unsigned int*)'
/usr/include/linux/wait.h:376: error: invalid conversion from `void*' to `const volatile long unsigned int*'
/usr/include/linux/wait.h:376: error:   initializing argument 2 of `int variable_test_bit(int, const volatile long unsigned int*)'
/usr/include/linux/wait.h: In function `int wait_on_bit_lock(void*, int, int (*)(void*), unsigned int)':
/usr/include/linux/wait.h:400: error: invalid conversion from `void*' to `volatile long unsigned int*'
/usr/include/linux/wait.h:400: error:   initializing argument 2 of `int test_and_set_bit(int, volatile long unsigned int*)'
make[3]: *** [inputmanager.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/zhcon-0.2.3-r1/work/zhcon-0.2.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/zhcon-0.2.3-r1/work/zhcon-0.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/zhcon-0.2.3-r1/work/zhcon-0.2.3'
make: *** [all] Error 2

!!! ERROR: app-i18n/zhcon-0.2.3-r1 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.
回复 支持 反对

使用道具 举报

发表于 2005-7-22 20:51:16 | 显示全部楼层
哪里有CCE的ebuild ?
回复 支持 反对

使用道具 举报

发表于 2005-7-24 06:44:31 | 显示全部楼层
emerge -e zhcon
回复 支持 反对

使用道具 举报

发表于 2005-7-24 17:12:06 | 显示全部楼层
-e???会有什么后果哦?
回复 支持 反对

使用道具 举报

发表于 2005-7-24 17:53:34 | 显示全部楼层
btw,zhcon好像不支持utf8。另外,刚才从freebsd的ftp上拖了一个cce下来编译,结果报错……没法过去。兔子下好像就只有jmcce的eBuild,据说这个东西也不支持utf8……郁闷……
回复 支持 反对

使用道具 举报

发表于 2005-7-25 02:13:14 | 显示全部楼层
然也,貌似只支持gb2312
回复 支持 反对

使用道具 举报

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

本版积分规则

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