找回密码
 注册
查看: 656|回复: 0

Help!! install xsim

[复制链接]
发表于 2005-5-18 10:52:01 | 显示全部楼层 |阅读模式
my linux is redhat AS 4 , and i want to install xism, but after configure, i can not make, it gave me a error message, how to fix it???? Thanks.

[root@localhost xsim-0.3.9.4]# make
make[1]: Entering directory `/home/rbaobao/soft/xsim-0.3.9.4/etc'
make[1]: `all' is up to date.
make[1]: Leaving directory `/home/rbaobao/soft/xsim-0.3.9.4/etc'
make[1]: Entering directory `/home/rbaobao/soft/xsim-0.3.9.4/plugins'
make[2]: Entering directory `/home/rbaobao/soft/xsim-0.3.9.4/plugins/IMs'
make[3]: Entering directory `/home/rbaobao/soft/xsim-0.3.9.4/plugins/IMs/jianpin'
g++ -c simpleim.cpp -I/home/rbaobao/soft/xsim-0.3.9.4/xsim/ -I/home/rbaobao/soft/xsim-0.3.9.4/xsim//IMdkit -I/usr/include/db4 -Wall -O2 -I/usr/X11R6/include -DBDB_VERSION41 -DOS_LINUX
g++ -c simpleimc.cpp -I/home/rbaobao/soft/xsim-0.3.9.4/xsim/ -I/home/rbaobao/soft/xsim-0.3.9.4/xsim//IMdkit -Wall -O2 -I/usr/X11R6/include -DBDB_VERSION41 -DOS_LINUX
g++ -c pyphraser.cpp -I/home/rbaobao/soft/xsim-0.3.9.4/xsim/ -I/home/rbaobao/soft/xsim-0.3.9.4/xsim//IMdkit -Wall -O2 -I/usr/X11R6/include -DBDB_VERSION41 -DOS_LINUX
g++ -shared -o jianpin.so simpleim.o simpleimc.o pyphraser.o -L/usr/X11R6/lib -L/usr/local/lib  -ldb_cxx `g++ -print-libgcc-file-name`
cd dict; make
make[4]: Entering directory `/home/rbaobao/soft/xsim-0.3.9.4/plugins/IMs/jianpin/dict'
g++ char2db.cpp -o char2db -Wall -O2 -I/usr/X11R6/include -DBDB_VERSION41 -DOS_LINUX -L/usr/X11R6/lib -L/usr/local/lib  -ldb_cxx -I/home/rbaobao/soft/xsim-0.3.9.4/xsim -I/usr/include/db4
char2db.cpp: In function `void build_freq_tab(char*)':
char2db.cpp:80: error: no matching function for call to `std::basic_filebuf<char, std::char_traits<char> >:pen(char*&, const char[2])'
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/bits/fstream.tcc:92: note: candidates are: typename std::basic_filebuf<_CharT, _Traits>::__filebuf_type* std::basic_filebuf<_CharT, _Traits>:pen(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]
char2db.cpp: In function `int main(int, char**)':
char2db.cpp:160: error: no matching function for call to `std::basic_filebuf<char, std::char_traits<char> >:pen(char*&, const char[2])'
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/bits/fstream.tcc:92: note: candidates are: typename std::basic_filebuf<_CharT, _Traits>::__filebuf_type* std::basic_filebuf<_CharT, _Traits>:pen(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]
make[4]: *** [char2db] Error 1
make[4]: Leaving directory `/home/rbaobao/soft/xsim-0.3.9.4/plugins/IMs/jianpin/dict'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/rbaobao/soft/xsim-0.3.9.4/plugins/IMs/jianpin'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/rbaobao/soft/xsim-0.3.9.4/plugins/IMs'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/rbaobao/soft/xsim-0.3.9.4/plugins'
make: *** [all] Error 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-6 22:01 , Processed in 0.057466 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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