|
bash-2.05a#emerge xcin
...
bash-2.05a#cd db-4.1.24/build_unix
bash-2.05a#../dist/configure --prefix=/usr/local --enable-cxx;make;make install
...
bash-2.05a#cd ../../xsim-0.3.9.4
bash-2.05a#./configure --prefix=/usr/local --with-qt3=/usr/qt/3 --with-qt3-includes=/usr/qt/3/include --with-qt3-libraries=/usr/qt/3/lib --with-cn-locale=gbk --with-dbd-cxx=/usr/local/lib/ --with-dbd-includes=/usr/local/include --with-dbd-libraries=/usr/local/lib
...
checking for Berkerly DB header... Berkerly DB >=3.2 CXX header found
checking for Berkerly DB library... Berkerly DB >=3.2 CXX library found
...
bash-2.05a#make
make[1]: Entering directory `/tmp/xsim-0.3.9.4/etc'
make[1]: `all' is up to date.
make[1]: Leaving directory `/tmp/xsim-0.3.9.4/etc'
make[1]: Entering directory `/tmp/xsim-0.3.9.4/plugins'
make[2]: Entering directory `/tmp/xsim-0.3.9.4/plugins/IMs'
make[3]: Entering directory `/tmp/xsim-0.3.9.4/plugins/IMs/jianpin'
g++ -c simpleim.cpp -I/tmp/xsim-0.3.9.4/xsim/ -I/tmp/xsim-0.3.9.4/xsim//IMdkit -
I/usr/include/db3 -Wall -O2 -I/usr/X11R6/include -DBDB_VERSION4 -DOS_LINUX
In file included from /usr/include/g++-v32/backward/iostream.h:31,
from /usr/include/db3/db_cxx.h:52,
from simpleim.h:5,
from simpleim.cpp:20:
/usr/include/g++-v32/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 in
clude substituting the <X> header for the <X.h> header for C++ includes, or <sst
ream> instead of the deprecated header <strstream.h>. To disable this warning us
e -Wno-deprecated.
g++ -c simpleimc.cpp -I/tmp/xsim-0.3.9.4/xsim/ -I/tmp/xsim-0.3.9.4/xsim//IMdkit
-Wall -O2 -I/usr/X11R6/include -DBDB_VERSION4 -DOS_LINUX
g++ -c pyphraser.cpp -I/tmp/xsim-0.3.9.4/xsim/ -I/tmp/xsim-0.3.9.4/xsim//IMdkit
-Wall -O2 -I/usr/X11R6/include -DBDB_VERSION4 -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 `/tmp/xsim-0.3.9.4/plugins/IMs/jianpin/dict'
g++ char2db.cpp -o char2db -Wall -O2 -I/usr/X11R6/include -DBDB_VERSION4 -DOS_LI
NUX -L/usr/X11R6/lib -L/usr/local/lib -ldb_cxx -I/tmp/xsim-0.3.9.4/xsim -I/usr/
include/db3
In file included from /usr/include/g++-v32/backward/iostream.h:31,
from /usr/include/db3/db_cxx.h:52,
from char2db.cpp:25:
/usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This fi
le 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 in
clude substituting the <X> header for the <X.h> header for C++ includes, or <sst
ream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
/tmp/cczF0HcH.o: In function `main':
/tmp/cczF0HcH.o(.text+0x551): undefined reference to `Db:pen(char const*, char
const*, DBTYPE, unsigned, int)'
/tmp/cczF0HcH.o(.text+0x6e6): undefined reference to `Dbt::set_size(unsigned)'
collect2: ld returned 1 exit status
make[4]: *** [char2db] Error 1
make[4]: Leaving directory `/tmp/xsim-0.3.9.4/plugins/IMs/jianpin/dict'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/xsim-0.3.9.4/plugins/IMs/jianpin'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/tmp/xsim-0.3.9.4/plugins/IMs'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/tmp/xsim-0.3.9.4/plugins'
make: *** [all] Error 1
bash-2.05a#
anybody can tell me how to do ?
It looks like a link error. |
|