CnPack Forum


 
Subject: 急急急,cvstrac装不上,报错
duosi
新警察
Rank: 1



UID 38252
Digest Posts 0
Credits 8
Posts 2
点点分 8
Reading Access 10
Registered 2008-3-4
Status Offline
Post at 2008-3-4 18:14  Profile | Blog | P.M. 
急急急,cvstrac装不上,报错

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

编缉Makefile文件,(TCLSCRIPTDIR = /usr/local/cvs;SRCDIR = /home/cvstrac)
修改完Makefile文件名,开始编译
make install 时出现错误
./translate /home/cvstrac/timeline.c | sed -f /home/cvstrac/VERSION >timeline_.c
./translate /home/cvstrac/user.c | sed -f /home/cvstrac/VERSION >user_.c
./translate /home/cvstrac/view.c | sed -f /home/cvstrac/VERSION >view_.c
./translate /home/cvstrac/wiki.c | sed -f /home/cvstrac/VERSION >wiki_.c
./translate /home/cvstrac/wikiinit.c | sed -f /home/cvstrac/VERSION >wikiinit_.c
./makeheaders  attach_.c:attach.h blob_.c:blob.h browse_.c:browse.h cgi_.c:cgi.h common_.c:common.h cvs_.c:cvs.h db_.c:db.h format_.c:format.h git_.c:git.h history_.c:history.h index_.c:index.h login_.c:login.h main_.c:main.h md5_.c:md5.h rss_.c:rss.h search_.c:search.h setup_.c:setup.h svn_.c:svn.h test_.c:test.h throttle_.c:throttle.h ticket_.c:ticket.h timeline_.c:timeline.h user_.c:user.h view_.c:view.h wiki_.c:wiki.h wikiinit_.c:wikiinit.h
./mkindex attach_.c blob_.c browse_.c cgi_.c common_.c cvs_.c db_.c format_.c git_.c history_.c index_.c login_.c main_.c md5_.c rss_.c search_.c setup_.c svn_.c test_.c throttle_.c ticket_.c timeline_.c user_.c view_.c wiki_.c wikiinit_.c >page_index.h
touch headers
/opt/mingw/bin/i386-mingw32-gcc -O6  -I. -I/home/cvstrac -o attach.o -c attach_.c
make: /opt/mingw/bin/i386-mingw32-gcc:命令未找到
make: *** [attach.o] 错误 127
[root@localhost cvstrac_make]#





初始数据库时刷屏:cvstrac init /var/cvstrac cvstrac
ETag: 25a33bafe98a061039ff18d318e84d17
ETag: 25a33bafe98a061039ff18d318e84d17
ETag: 25a33bafe98a061039ff18d318e84d17
ETag: 25a33bafe98a061039ff18d318e84d17
ETag: 25a33bafe98a061039ff18d318e84d17
ETag: 25a33bafe98a061039ff18d318e84d17
ETag: 25a33bafe98a061039ff18d318e84d17
ETag: 25a33bafe98a061039ff18d318e84d17
ETag: 25a33bafe98a061039ff18d318e84d17
ETag: 25a33bafe98a061039ff18d318e84d17
ETag: 25a33bafe98a061039ff18d318e84d17
ETag: 25a33bafe98a061039ff18d318e84d17
ETag: 25a33bafe98a061039ff18d318e84d17
ETag: 25a33bafe98a061039ff18d318e84d17
ETag: 25a33bafe98a061039ff18d318e84d17
Top
lxsong520
新警察
Rank: 1



UID 40161
Digest Posts 0
Credits 6
Posts 2
点点分 6
Reading Access 10
Registered 2008-5-13
Status Offline
Post at 2008-5-13 15:51  Profile | Blog | P.M. 
你安装一下ActiveTcl 就可以
Top
 




All times are GMT++8, the time now is 2022-6-28 02:44

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.013714 second(s), 8 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP