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

svn 1.8 debugging-compilation-serf-configure problem because of 1.6 Ubuntu install

From: Gabriela Gibson <gabriela.gibson_at_gmail.com>
Date: Fri, 01 Mar 2013 10:35:25 +0000

I have an old 1.6 Ubuntu installed svn, and it's blocking me from
debugging because the client format is to old. Since I need a working
svn to do anything, I cannot just get rid of it.

This is what happens when I try to debug anything:

in emacs24:
M-x libtool --mode=execute gdb -i=mi --epoch
/home/g/trunk/subversion/svn/svn
cd ~/trunk
run log

but alas:

"subversion/libsvn_wc/wc_db.c:8898: (apr_err=155036)
subversion/libsvn_wc/wc_db_wcroot.c:737: (apr_err=155036)
subversion/libsvn_wc/wc_db_wcroot.c:316: (apr_err=155036)
svn: E155036: The working copy at '/home/g/trunk'
is too old (format 10) to work with client version '1.8.0-dev
(under development)' (expects format 31).
You need to upgrade the working copy first.
Process gdb-inferior killed
"

and the reason I was trying to get serf going is:

g_at_musashi:~/svn/log$ SVN=~/trunk/subversion/svn/svn
g_at_musashi:~/svn/log$ rm -rf trunk
g_at_musashi:~/svn/log$ $SVN co
https://svn.apache.org/repos/asf/subversion/trunk
subversion/svn/checkout-cmd.c:168: (apr_err=170000)
subversion/libsvn_client/checkout.c:103: (apr_err=170000)
subversion/libsvn_client/ra.c:498: (apr_err=170000)
subversion/libsvn_client/ra.c:364: (apr_err=170000)
subversion/libsvn_ra/ra_loader.c:467: (apr_err=170000)
svn: E170000: Unrecognised URL scheme for
'https://svn.apache.org/repos/asf/subversion/trunk'
g_at_musashi:~/svn/log$
(which I assume to be a serf problem)

To cut a very long story short: nothing works for me :)

And btw, the configure script still claims that:

--------------
configure: WARNING: unrecognized options: --enable-maintainer-mode,
--with-serf, --with-prefix
--------------

And serf still isn't compiling for me:

./configure --enable-maintainer-mode --with-serf=/home/g/trunk/
--with-prefix=/usr/svntest/

(also tried /home/h/trunk/serf just to be sure)

--------------
configure: serf library configuration via pkg-config
checking for serf-2 library... no
checking for serf-1 library... no
checking was serf enabled... no

An appropriate version of serf could not be found, so libsvn_ra_serf
will not be built. If you want to build libsvn_ra_serf, please
install serf 1.0.0 or newer.

configure: error: Serf was explicitly enabled but an appropriate version
was not found.
-----------------
(it clearly is present, get-deps.sh fetched and unzipped it)

Also, I note the ./configure --help tells me that:

  --with-serf=PREFIX Serf HTTP client library (enabled by default if
                        found)

which makes me think that serf should build without me telling it to,
since, it's present, and it I guess the problem is that it's not found?

Phillip said that he doesn't see that 'configure warning' happening for
him, maybe it's an Ubuntu specific problem and a hint why things are not
working out?

many thanks for any advice,

Gabriela
Received on 2013-03-01 11:35:57 CET

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