JasonSeaver
新警察
UID 482
Digest Posts
0
Credits 4
Posts 4
点点分 4
Reading Access 10
Registered 2004-8-19
Status Offline
|
|
急:请教cvstrac中文版安装问题
我按照贵站提供的PDF文档安装cvstrac1.1.3及cvstrac1.1.4均出现错误,具体情况如下。
我的环境为RedHat Linux 9
我下载的sqlite包为 sqlite-2.8.15-1.i386.rpm
运行rpm -ivh sqlite-2.8.15-1.i386.rpm 成功
下面安照PDF手册指导安装cvstrac_1.1.4_src_cn_20040813.tar.gz
tar -zxvf cvstrac_1.1.4_src_cn_20040813.tar.gz
mkdir cvstrac_make
cd cvstrac_make
cp ../cvstrac/linux-gcc.mk Makefile
vi Makefile
将SRCDIR 设置为我的源码所在目录 ,即/root/setup/cvstrac/cvstrac
将INSTALLDIR 设置为 /usr/bin
然后开始执行make编译
结果出错如下:
[root@VLinux cvstrac_make]# make
gcc -g -O2 -o makeheaders /root/setup/cvstrac/cvstrac/makeheaders.c
gcc -g -O2 -o mkindex /root/setup/cvstrac/cvstrac/mkindex.c
gcc -g -O2 -o translate /root/setup/cvstrac/cvstrac/translate.c
./translate /root/setup/cvstrac/cvstrac/attach.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >attach_.c
./translate /root/setup/cvstrac/cvstrac/blob.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >blob_.c
./translate /root/setup/cvstrac/cvstrac/browse.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >browse_.c
./translate /root/setup/cvstrac/cvstrac/cgi.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >cgi_.c
./translate /root/setup/cvstrac/cvstrac/common.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >common_.c
./translate /root/setup/cvstrac/cvstrac/db.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >db_.c
./translate /root/setup/cvstrac/cvstrac/format.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >format_.c
./translate /root/setup/cvstrac/cvstrac/history.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >history_.c
./translate /root/setup/cvstrac/cvstrac/image.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >image_.c
./translate /root/setup/cvstrac/cvstrac/index.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >index_.c
./translate /root/setup/cvstrac/cvstrac/login.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >login_.c
./translate /root/setup/cvstrac/cvstrac/main.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >main_.c
./translate /root/setup/cvstrac/cvstrac/md5.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >md5_.c
./translate /root/setup/cvstrac/cvstrac/rss.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >rss_.c
./translate /root/setup/cvstrac/cvstrac/search.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >search_.c
./translate /root/setup/cvstrac/cvstrac/setup.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >setup_.c
./translate /root/setup/cvstrac/cvstrac/test.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >test_.c
./translate /root/setup/cvstrac/cvstrac/throttle.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >throttle_.c
./translate /root/setup/cvstrac/cvstrac/ticket.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >ticket_.c
./translate /root/setup/cvstrac/cvstrac/timeline.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >timeline_.c
./translate /root/setup/cvstrac/cvstrac/user.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >user_.c
./translate /root/setup/cvstrac/cvstrac/view.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >view_.c
./translate /root/setup/cvstrac/cvstrac/wiki.c | sed -f /root/setup/cvstrac/cvstrac/VERSION >wiki_.c
./translate /root/setup/cvstrac/cvstrac/wikiinit.c | sed -f /root/setup/cvstrac/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 db_.c:db.h format_.c:format.h history_.c:history.h image_.c:image.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 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 db_.c format_.c history_.c image_.c index_.c login_.c main_.c md5_.c rss_.c search_.c setup_.c test_.c throttle_.c ticket_.c timeline_.c user_.c view_.c wiki_.c wikiinit_.c >page_index.h
touch headers
gcc -g -O0 -Wall -I. -I/root/setup/cvstrac/cvstrac -o attach.o -c attach_.c
In file included from attach_.c:29:
/root/setup/cvstrac/cvstrac/config.h:10:20: sqlite.h: No such file or directory
attach_.c: In function `attachment_get':
attach_.c:162: warning: unused variable `i'
attach_.c: In function `attachment_delete':
attach_.c:227: warning: implicit declaration of function `strftime2'
make: *** [attach.o] Error 1
[root@VLinux cvstrac_make]#
望高手指点,给我正确的安装方法
|
|
|