[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

subversion-1.6.9 build error

From: Jiang Li <a16118_at_gmail.com>
Date: Mon, 25 Jan 2010 20:55:51 +0800

Hi Friends,

May I ask you a question?

I just started to use Subversion. I want to compile it from source code on
my Red Hat Linux ES5.4. But I face below error when running 'make'.

My steps are as below:

1. Get the source code subversion-1.6.9;
2. Get sqlite-amalgamation-3_6_22.zip and neon-0.29.3.tar.gz, extract them
in subversion folder and change the directory name to remove the version
number;
2. Run 'autogensh' without error;
3. Run 'configure' without error;
4. Run 'make' with below error:

=================
/bin/sh /tmp/subversion-1.6.9/libtool --tag=CC --silent --mode=compile gcc
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread
-I./subversion/include -I./subversion -I/usr/include/apr-1
-I/usr/include/apr-1 -I/tmp/subversion-1.6.9/neon/src
-I/usr/local/include/neon -I/tmp/subversion-1.6.9/sqlite-amalgamation -o
subversion/libsvn_fs_fs/rep-cache.lo -c subversion/libsvn_fs_fs/rep-cache.c
In file included from subversion/libsvn_fs_fs/rep-cache.c:28:
subversion/libsvn_fs_fs/rep-cache-db.h:8: error: expected identifier or '('
before string constant
subversion/libsvn_fs_fs/rep-cache-db.h:10: error: expected identifier or '('
before string constant
subversion/libsvn_fs_fs/rep-cache-db.h:24: error: expected identifier or '('
before string constant
subversion/libsvn_fs_fs/rep-cache-db.h:24: error: missing terminating "
character
subversion/libsvn_fs_fs/rep-cache.c:34: error: missing terminating "
character
subversion/libsvn_fs_fs/rep-cache.c: In function
'svn_fs_fs__open_rep_cache':
subversion/libsvn_fs_fs/rep-cache.c:67: error: 'upgrade_sql' undeclared
(first use in this function)
subversion/libsvn_fs_fs/rep-cache.c:67: error: (Each undeclared identifier
is reported only once
subversion/libsvn_fs_fs/rep-cache.c:67: error: for each function it appears
in.)
make: *** [subversion/libsvn_fs_fs/rep-cache.lo] Error 1
==============

I have no idea to resolve such issue even after googling the web. Could
anyone share some light on this?

I would appreciate your kindly help!

Jiang Li
Received on 2010-01-25 14:15:31 CET

This is an archived mail posted to the Subversion Users mailing list.