y****u 发帖数: 57 | 1 Save below into file like install_kentsrc.sh, chmod to 755, and run it.
Tested under Linux Ubuntu 10.10.
======
#!/bin/bash
#run 'uname -m' to check your MACHTYPE
export MACHTYPE=x86_64
#run 'mysql_config --include' to check your MYSQLINC
export MYSQLINC='/usr/include/mysql'
#run 'mysql_config --libs' to check your MYSQLLIBS
export MYSQLLIBS='-Wl,-Bsymbolic-functions -rdynamic -L/usr/lib/mysql -
lmysqlclient'
# download or update kent source package.
SOFTDIR=${HOME}/tests
cd $SOFTDIR
if [ ! -d k... 阅读全帖 |
|