cd /home
解压源代码包
tar -zxf cvstrac_1.2.1_src_cn_20060112.tar.gz
tar -zxf sqlite-3.5.6.tar.gz
编译SQLite
mkdir sqlite_make
cd sqlite_make
../sqlite-3.5.6/configure
在make install时出现错误
../sqlite-3.5.6/src/tclsqlite.c:2458: error: `TCL_OK' undeclared (first use in this function)
../sqlite-3.5.6/src/tclsqlite.c: At top level:
../sqlite-3.5.6/src/tclsqlite.c:2461: error: syntax error before "int"
../sqlite-3.5.6/src/tclsqlite.c:2461: error: syntax error before '*' token
../sqlite-3.5.6/src/tclsqlite.c: In function `Sqlite_Init':
../sqlite-3.5.6/src/tclsqlite.c:2461: error: `interp' undeclared (first use in this function)
../sqlite-3.5.6/src/tclsqlite.c: At top level:
../sqlite-3.5.6/src/tclsqlite.c:2462: error: syntax error before "int"
../sqlite-3.5.6/src/tclsqlite.c:2462: error: syntax error before '*' token
../sqlite-3.5.6/src/tclsqlite.c: In function `Tclsqlite_Init':
../sqlite-3.5.6/src/tclsqlite.c:2462: error: `interp' undeclared (first use in this function)
../sqlite-3.5.6/src/tclsqlite.c: At top level:
../sqlite-3.5.6/src/tclsqlite.c:2463: error: syntax error before "int"
../sqlite-3.5.6/src/tclsqlite.c:2463: error: syntax error before '*' token
../sqlite-3.5.6/src/tclsqlite.c: In function `Sqlite_SafeInit':
../sqlite-3.5.6/src/tclsqlite.c:2463: error: `TCL_OK' undeclared (first use in this function)
../sqlite-3.5.6/src/tclsqlite.c: At top level:
../sqlite-3.5.6/src/tclsqlite.c:2464: error: syntax error before "int"
../sqlite-3.5.6/src/tclsqlite.c:2464: error: syntax error before '*' token
../sqlite-3.5.6/src/tclsqlite.c: In function `Tclsqlite_SafeInit':
../sqlite-3.5.6/src/tclsqlite.c:2464: error: `TCL_OK' undeclared (first use in this function)
make: *** [tclsqlite.lo] 错误 1
cd ..
准备CVSTrac Make文件
mkdir cvstrac_make
cd cvstrac_make
cp ../cvstrac/linux-gcc.mk Makefile