|
I just install RH 7.2 yesterday , for study it , I even remove my windows 2000 system . But Now I meet with the Chinese Problem , And I couln'd solve it.
So I could only input this in English.
I 'm eager for your help !!!
I download xsim 0.3.9.3, and Berkeley DB 4.1. then I install Berkeley DB first
as the following step :
%cd db-dir/build_unix
%../dist/configure --enable-cxx --prefix=/usr/local
%make
%make install
and then I install xsim as the following
%cd xsim-dir
%./configure
%make
when I run to %make, it report error.
the screen is :
******************************
Entering directory `/root/tool/xsim-0.3.9.3/plugins/IMs/jianpin/dict'
g++ char2db.cpp -o char2db -Wall -O2 -I/usr/X11R6/include -DBDB_VERSION4 -DOS_LINUX -L/usr/X11R6/lib -L/usr/local/lib -ldb_cxx -I/root/tool/xsim-0.3.9.3/xsim -I/usr/include/db3
/tmp/ccFqHCIS.o in function 'main' :
undefined reference to Db:pen(......)
undifined reference to Dbt::set_size(....)
************************************************
I have check in /usr/local/lib, the db lib has existed. and this error occured while linking char2db.cpp in directory root/tool/xsim-0.3.9.3/plugins/IMs/jianpin/dict.
is this caused by version difference(I download bdb with version 4.1 and the compile flag use -DBDB_VERSION4
and I found in char2db.cpp, there has differences between 4 and 4.1.
but it report four error even in compile time after I switch -DBDB_VERSION4 to -DBDB_VERSION41.
who can tell me how to solve this problem? |
|