LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 529|回复: 4

can't make Xsim...

[复制链接]
发表于 2003-3-9 11:56:02 | 显示全部楼层 |阅读模式
Debian:~/xsim-0.3.9.4# make
make[1]: Entering directory `/root/xsim-0.3.9.4/etc'
make[1]: “all”是最新的。
make[1]: Leaving directory `/root/xsim-0.3.9.4/etc'
make[1]: Entering directory `/root/xsim-0.3.9.4/plugins'
make[2]: Entering directory `/root/xsim-0.3.9.4/plugins/IMs'
make[3]: Entering directory `/root/xsim-0.3.9.4/plugins/IMs/jianpin'
cd dict; make
make[4]: Entering directory `/root/xsim-0.3.9.4/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/lib  -ldb_cxx -I/root/xsim-0.3.9.4/xsim -I/usr/include
/tmp/cc1rSxaN.o(.text+0x46b): In function `main':
: undefined reference to `Db:b[in-charge](DbEnv*, unsigned)'
/tmp/cc1rSxaN.o(.text+0x475): In function `main':
: undefined reference to `Db::set_flags(unsigned)'
/tmp/cc1rSxaN.o(.text+0x482): In function `main':
: undefined reference to `Db::set_dup_compare(int (*)(__db*, __db_dbt const*, __db_dbt const*))'
/tmp/cc1rSxaN.o(.text+0x498): In function `main':
: undefined reference to `Db:pen(char const*, char const*, DBTYPE, unsigned, int)'
/tmp/cc1rSxaN.o(.text+0x4ac): In function `main':
: undefined reference to `Db::cursor(DbTxn*, Dbc**, unsigned)'
/tmp/cc1rSxaN.o(.text+0x527): In function `main':
: undefined reference to `Dbt:bt[in-charge](void*, unsigned)'
/tmp/cc1rSxaN.o(.text+0x53f): In function `main':
: undefined reference to `Dbt:bt[in-charge](void*, unsigned)'
/tmp/cc1rSxaN.o(.text+0x62c): In function `main':
: undefined reference to `Dbc::put(Dbt*, Dbt*, unsigned)'
/tmp/cc1rSxaN.o(.text+0x6f1): In function `main':
: undefined reference to `Db::close(unsigned)'
/tmp/cc1rSxaN.o(.text+0x779): In function `main':
: undefined reference to `Db::close(unsigned)'
/tmp/cc1rSxaN.o(.text+0x8cc): In function `main':
: undefined reference to `Dbt::~Dbt [in-charge]()'
/tmp/cc1rSxaN.o(.text+0x8de): In function `main':
: undefined reference to `Dbt::~Dbt [in-charge]()'
/tmp/cc1rSxaN.o(.text+0x92b): In function `main':
: undefined reference to `Db::~Db [in-charge]()'
collect2: ld returned 1 exit status
make[4]: *** [char2db] 错误 1
make[4]: Leaving directory `/root/xsim-0.3.9.4/plugins/IMs/jianpin/dict'
make[3]: *** [all] 错误 2
make[3]: Leaving directory `/root/xsim-0.3.9.4/plugins/IMs/jianpin'
make[2]: *** [all] 错误 1
make[2]: Leaving directory `/root/xsim-0.3.9.4/plugins/IMs'
make[1]: *** [all] 错误 1
make[1]: Leaving directory `/root/xsim-0.3.9.4/plugins'
make: *** [all] 错误 1
 楼主| 发表于 2003-3-9 11:57:33 | 显示全部楼层
I install libdb4.0++ libdb4.0-dev... use apt-get
发表于 2003-3-9 15:24:03 | 显示全部楼层
先作
make distclean
清除以前做的配置然后
./configure --with-bdb-includes=/usr/local/include
上面的include的路径可能和你的不一样,需要改成你的BDB的include的路径
然后
make
make install
make install-data
 楼主| 发表于 2003-3-10 23:06:36 | 显示全部楼层
最后我发现安装 libdb4.0 不行,安装 libdb4.1 相关的几个包就可以了。
发表于 2003-4-10 00:11:50 | 显示全部楼层
最后我发现安装 libdb4.0 不行,安装 libdb4.1 相关的几个包就可以了。
BUT HOW? WHERE CAN I FIND libdb4.1?
I CANNOT INPUT CHINESE NOW!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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