Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CVSTrac 相关问题
» 急急 cvstrac安装过程中出现的错误不懂处理,请各位指教
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 急急 cvstrac安装过程中出现的错误不懂处理,请各位指教
duosi
新警察
UID 38252
Digest Posts 0
Credits 8
Posts 2
点点分 8
Reading Access 10
Registered 2008-3-4
Status Offline
#1
Post at 2008-3-5 09:38
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
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#2
Post at 2008-3-24 08:43
Profile
|
Site
|
Blog
|
P.M.
请问您的Linux环境是什么?是否安装了TCL脚本模块?我看到您在编译cvstrac时使用的是mingw的Makefile文件,这个文件是在Win32下用mingw编译的脚本,linux下应该用linux的脚本。如果您是在windows下使用,可以直接用CVSTracNT。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-22 07:09
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.013406 second(s), 9 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats