1:在控制台输入以下命令
[root @ localhost ~]sudo apt-get install openssl [root @ localhost ~]sudo apt-get install libssl-dev [root @ localhost ~]sudo apt-get install MysqL-server-5.5 [root @ localhost ~]sudo apt-get install libMysqLd-dev [root @ localhost ~]cd kbengine/kbe/src [root @ localhost/ src] chmod -R 755 . [root @ localhost/ src] make
2:libiconv编译出错解决办法
在src/build/下编辑common.mak文件 在193和195行分别加上-liconv -L /usr/local/lib
|
3,如过运行时找不到MysqL的client库,或者MysqL相关的错,本质就是找到MysqL_config文件的路径
ifdef USE_MysqL
ifneq (,$(findstring 64,$(KBE_CONFIG)))
MysqL_CONFIG_PATH=/usr/bin/MysqL_config
else
MysqL_CONFIG_PATH=/usr/bin/MysqL_config
endif
改为:
ifdef USE_MysqL ifneq (,$(KBE_CONFIG))) MysqL_CONFIG_PATH=/usr/local/MysqL/bin/MysqL_config else MysqL_CONFIG_PATH=/usr/local/MysqL/bin/MysqL_config endif