|
|
这段时间完全泡到gentoo里出不来了,但基础太差,遇到问题了,请教如下
1,emege zhcon 编译出错,错误信息如下:
configure.in:96: AC_PROG_CXXCPP was called before AC_PROG_CXX
configure.in:102: warning: AC_TRY_RUN called without default to allow cross compiling
./configure: line 1055: test: =: unary operator expected
./configure: line 1546: s%@CXXCPP@%g++: command not found
/bin/sh: ./config.rpath: No such file or directory
fblinear24.cpp: In member function `virtual void FBLinear24:: DrawChar(int, int,
int, int, CharBitMap*)':
fblinear24.cpp:162: warning: `__u32 d3' might be used uninitialized in this
function
big5decoder.cpp: In member function `virtual bool BIG5Decoder::IsCode2(char)':
big5decoder.cpp:30: warning: comparison is always true due to limited range of
data type
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
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/backward/strstream:51,
from zhcon.cpp:23:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/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 <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
zhcon.cpp:263:6: warning: #warning OPEN_MAX undefined so far,try define it to 64
inputmanager.cpp: In member function `bool InputManager: oadImm(ImmInfo&)':
inputmanager.cpp:398: warning: unused variable `bool 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: invalid conversion from `void*' to `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*'
make[3]: *** [inputmanager.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
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.
这个要怎么理解?遇到这样的问题怎么解决?
2,关于local的问题,我机器现在的情况是 安装了arphicfonts,也有simsun,我的opera可以正确显示中文网页,效果也很好(没有粗体),但我的xterm不能正确显示中文,vi ~/.Xresources
加入以下配置:
XTerm*locale: true
XTerm*wideFont: -misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312-1
也还是不行,还有,看了很多帖子,发现local的设置方法很多,没有定论,也不知道原理,汉化的方法也很多,也是不知道原理,感觉这样直接copy即使成功了,以后遇到问题还是不会,我的要求很简单,能够输入中文,显示中文,该怎么做?哪里有详细介绍这方面的资料,关于local 还有字体配置的?
3,fcitx也有问题了,emerge成功,就是无法启动,手工启动也不行
4,alsa的问题,我把alsa还有我的声卡的驱动都直接编译到内核了,因为我编译的内核只有我自己用,所以把硬件驱动都编译进去了,但是问题来了,开机时可以看见有显示 alsa ......SiS 7012(我的声卡),安装了alsa-utils,用alsaconfig无法识别我的声卡,看到顶置的帖子有说不要把声卡的驱动编译进去内核,只编译进alsa支持,然后安装alsa-drivers 是不是非要这么做?为什么直接编译进去不行呢?
暂时就这么多了,问题太多了,感觉还是英语太差了,没学好,大家帮忙(现在一定要把英语学好,然后玩gentoo) |
|