You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Bernhard Reiter <be...@intevation.de> on 2001/11/15 11:29:14 UTC
r442- Unrecognised URL scheme for default!
Following the instructions from:
http://subversion.tigris.org/
I encountered the following problem when giving subversion my first spin.
Symptoms: Checking out the latest Source does not work as documented.
subversion-r442/subversion/clients/cmdline/svn co http://svn.collab.net/repos/svn/trunk/ -d subversion
svn_error: #21068 : <Bad URL passed to RA layer>
Unrecognized URL scheme: http://svn.collab.net/repos/svn/trunk
from config.log:
$ ./configure
## ---------- ##
## Platform. ##
## ---------- ##
hostname = albunea.hq
uname -m = ppc
uname -r = 2.4.4-pre6
uname -s = Linux
uname -v = #4 Thu Apr 26 11:08:24 CEST 2001
Reading specs from /usr/lib/gcc-lib/ppc-redhat-linux/2.95.3/specs
gcc version 2.95.3 20001130 (prerelease/franzo/20001204)
configure:9776: WARNING: we have configured for a client-only build
It complies nicely.
I can say "make check" which irritated me as
I only have python1.5.2 installed and got no warning.
According to the INSTALL file I would have needed python 2.1 at least.
The following tests all ran fine:
stringtest
hashdump-test
path-test
random-test
svn-test2.sh
svn-test.sh
target-test.sh
I have no idea which kind of bug it is.
It might as well be a documentation or configuration bug.
Best,
Bernhard
ps.: I am not on dev@, please cc relevant replies.
--
Professional Service around Free Software (intevation.net)
The FreeGIS Project (freegis.org)
Association for a Free Informational Infrastructure (ffii.org)
FSF Europe (fsfeurope.org)
Re: r442- Unrecognised URL scheme for default!
Posted by cm...@collab.net.
Kevin Pilch-Bisson <ke...@pilch-bisson.net> writes:
> We have a FAQ page? Okay, I'll add it there too.
Oh, and be sure to add "Is there a Subversion FAQ page?" to the FAQ
page, too. We can set up a script to select a random (and bitterly
sarcastic) response to that question.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: r442- Unrecognised URL scheme for default!
Posted by Kevin Pilch-Bisson <ke...@pilch-bisson.net>.
On Thu, Nov 15, 2001 at 11:18:26PM -0600, Karl Fogel wrote:
> Kevin Pilch-Bisson <ke...@pilch-bisson.net> writes:
> > > > Time to add something to INSTALL about this.
> > >
> > > Yes. :)
> > >
> >
> > Done
>
> And the FAQ page?
>
> This is, after all, a very frequently asked question...
>
We have a FAQ page? Okay, I'll add it there too.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson http://www.pilch-bisson.net
"Historically speaking, the presences of wheels in Unix
has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Re: r442- Unrecognised URL scheme for default!
Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Kevin Pilch-Bisson <ke...@pilch-bisson.net> writes:
> > > Time to add something to INSTALL about this.
> >
> > Yes. :)
> >
>
> Done
And the FAQ page?
This is, after all, a very frequently asked question...
-K
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: r442- Unrecognised URL scheme for default!
Posted by Bernhard Reiter <be...@intevation.de>.
On Thu, Nov 15, 2001 at 10:14:18AM -0500, Kevin Pilch-Bisson wrote:
> On Thu, Nov 15, 2001 at 04:04:36PM +0100, Bernhard Reiter wrote:
> > INSTALL contains some bits about the shared libraries and the
> > --disable-shared configure option.
> > I am recompling with it now.
It seems to work, I am "fetching" the trunk right now.
> > Hint about: --version
> > The usual help output does not tell me
> > about the --version option. This certainly is good for the
> > INSTALL, too.
>
> The help will be fixed eventually.
> I've added something about this to INSTALL
Good.
It is only once that you are a complete newbie to a project.
Bernhard
--
Professional Service around Free Software (intevation.net)
The FreeGIS Project (freegis.org)
Association for a Free Informational Infrastructure (ffii.org)
FSF Europe (fsfeurope.org)
Re: r442- Unrecognised URL scheme for default!
Posted by Greg Stein <gs...@lyra.org>.
On Fri, Nov 16, 2001 at 11:30:59PM +0900, Yoshiki Hayashi wrote:
>...
> I dig up my old patch to enable shared link of RA libraries.
> When I submitted this patch, you couldn't run make check
> because of the deficiencies of libtool 1.3. Now you can run
> make check with shared library build without first
> installing libraries.
>
> * configure.in: Add new option --enable-dso. Default is
> --disable-dso. When enabled, libsvn_client tries to load
> RA libraries at run time. Otherwise, RA libraries are
> dynamically linked.
Looks good. And we did decide that this was the "best" behavior, compared to
current behavior. Please feel free to apply the patch.
Thanks!
Cheers,
-g
--
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: r442- Unrecognised URL scheme for default!
Posted by Yoshiki Hayashi <yo...@xemacs.org>.
Kevin Pilch-Bisson <ke...@pilch-bisson.net> writes:
> On Thu, Nov 15, 2001 at 04:04:36PM +0100, Bernhard Reiter wrote:
> > INSTALL contains some bits about the shared libraries and the
> > --disable-shared configure option.
> > I am recompling with it now.
> >
> > However: I've thought that libtool and its wrapper would
> > take care of setting the right paths. Maybe a check
> > producing a warning that no RA modules could be loaded
> > would be helpful because svn just starts fine.
> >
> It does for normally linked libraries. The problem is that we dynamically
> load the library at run time, which confuses the libtool wrapper scripts.
I dig up my old patch to enable shared link of RA libraries.
When I submitted this patch, you couldn't run make check
because of the deficiencies of libtool 1.3. Now you can run
make check with shared library build without first
installing libraries.
* configure.in: Add new option --enable-dso. Default is
--disable-dso. When enabled, libsvn_client tries to load
RA libraries at run time. Otherwise, RA libraries are
dynamically linked.
Index: ./configure.in
===================================================================
--- ./.svn/text-base/configure.in.svn-base Fri Nov 16 20:45:57 2001
+++ ./configure.in Fri Nov 16 20:54:46 2001
@@ -273,7 +273,18 @@
AC_SUBST(INSTALL_INFO)
dnl decide whether we want to link against the RA libraries
-if test "$enable_shared" = "no"; then
+AC_ARG_ENABLE(dso,
+[ --enable-dso Turn on DSO loading of RA libralies],
+[
+ if test "$enableval" = "yes"; then
+ enable_dso=yes
+ if test "$enable_shared" = "no"; then
+ AC_MSG_ERROR([--enable-dso conflicts with --disable-shared])
+ fi
+ fi
+])
+
+if test "$enable_shared" = "no" -o "$enable_dso" != "yes"; then
AC_DEFINE(SVN_LIBSVN_CLIENT_LINKS_RA_DAV, 1,
[Defined if libsvn_client should link against libsvn_ra_dav])
SVN_RA_LIB_DEPS="subversion/libsvn_ra_dav/libsvn_ra_dav.la"
--
Yoshiki Hayashi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: r442- Unrecognised URL scheme for default!
Posted by Kevin Pilch-Bisson <ke...@pilch-bisson.net>.
On Thu, Nov 15, 2001 at 04:04:36PM +0100, Bernhard Reiter wrote:
> INSTALL contains some bits about the shared libraries and the
> --disable-shared configure option.
> I am recompling with it now.
>
> However: I've thought that libtool and its wrapper would
> take care of setting the right paths. Maybe a check
> producing a warning that no RA modules could be loaded
> would be helpful because svn just starts fine.
>
It does for normally linked libraries. The problem is that we dynamically
load the library at run time, which confuses the libtool wrapper scripts.
>
> Hint about: --version
> The usual help output does not tell me
> about the --version option. This certainly is good for the
> INSTALL, too.
The help will be fixed eventually. I've added something about this to INSTALL
>
> ...
>
> > Time to add something to INSTALL about this.
>
> Yes. :)
>
Done
> ...
>
> Thanks for all your answers,
> Bernhard
No problem
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson http://www.pilch-bisson.net
"Historically speaking, the presences of wheels in Unix
has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Re: r442- Unrecognised URL scheme for default!
Posted by cm...@collab.net.
Bernhard Reiter <be...@intevation.de> writes:
> However: I've thought that libtool and its wrapper would
> take care of setting the right paths. Maybe a check
> producing a warning that no RA modules could be loaded
> would be helpful because svn just starts fine.
Hmm...yeah, that's not a bad idea.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: r442- Unrecognised URL scheme for default!
Posted by Bernhard Reiter <be...@intevation.de>.
INSTALL contains some bits about the shared libraries and the
--disable-shared configure option.
I am recompling with it now.
However: I've thought that libtool and its wrapper would
take care of setting the right paths. Maybe a check
producing a warning that no RA modules could be loaded
would be helpful because svn just starts fine.
Hint about: --version
The usual help output does not tell me
about the --version option. This certainly is good for the
INSTALL, too.
On Thu, Nov 15, 2001 at 03:19:43PM +0100, Daniel Stenberg wrote:
> On Thu, 15 Nov 2001, Bernhard Reiter wrote:
> > svn_error: #21068 : <Bad URL passed to RA layer>
> > Unrecognized URL scheme: http://svn.collab.net/repos/svn/trunk
> Then I rerun ./configure --disable-shared and voila, it worked! ;-)
On Thu, Nov 15, 2001 at 09:20:49AM -0500, Kevin Pilch-Bisson wrote:
> Subversion tries to dynamically load modules for different types of
> repository access.
> Then run 'svn --version' You should see something like this:
> The important part is that ra_dav is listed as an available module.
>
> Time to add something to INSTALL about this.
Yes. :)
On Thu, Nov 15, 2001 at 08:24:54AM -0600, cmpilato@collab.net wrote:
> Bernhard Reiter <be...@intevation.de> writes:
> > I can say "make check" which irritated me as I only have python1.5.2
> > installed and got no warning. According to the INSTALL file I would
> > have needed python 2.1 at least.
> You only need Python 2.1 for the tests which are written in Python.
> Those would be the 5 or 6 tests you *don't* have listed as having
> "all run fine." :-)
I thought so, but doing this without a warning that these tests
cannot be run is IMHO a bug. :)
Thanks for all your answers,
Bernhard
--
Professional Service around Free Software (intevation.net)
The FreeGIS Project (freegis.org)
Association for a Free Informational Infrastructure (ffii.org)
FSF Europe (fsfeurope.org)
Re: r442- Unrecognised URL scheme for default!
Posted by cm...@collab.net.
Bernhard Reiter <be...@intevation.de> writes:
> Following the instructions from:
> http://subversion.tigris.org/
> I encountered the following problem when giving subversion my first spin.
>
> Symptoms: Checking out the latest Source does not work as documented.
>
> subversion-r442/subversion/clients/cmdline/svn co http://svn.collab.net/rep=
> os/svn/trunk/ -d subversion
>
> svn_error: #21068 : <Bad URL passed to RA layer>
> Unrecognized URL scheme: http://svn.collab.net/repos/svn/trunk
It looks like perhaps your ra_dav library did not compile properly.
If you run `svn --version` you should see:
The following repository access (RA) modules are available:
* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles 'http' schema
* ra_local : Module for accessing a repository on local disk.
- handles 'file' schema
If you don't see the ra_dav listing, something failed to build. If
you DO see ra_dav listed there... well, that make the problem a litter
harder to find.
> I can say "make check" which irritated me as I only have python1.5.2
> installed and got no warning. According to the INSTALL file I would
> have needed python 2.1 at least.
>
> The following tests all ran fine:
> stringtest
> hashdump-test
> path-test
> random-test
> svn-test2.sh
> svn-test.sh
> target-test.sh
You only need Python 2.1 for the tests which are written in Python.
Those would be the 5 or 6 tests you *don't* have listed as having
"all run fine." :-)
At any rate, check that `svn --version` output and see if that
indicates a missing ra_dav library.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: r442- Unrecognised URL scheme for default!
Posted by Kevin Pilch-Bisson <ke...@pilch-bisson.net>.
Subversion tries to dynamically load modules for different types of
repository access. If you built with shared libraries (the default), and then
either didn't install them, or installed them to a location which is not
in /etc/ld.so.conf, or LD_LIBRARY_PATH, subversion will not be able to find
the library.
Try 'export LD_LIBRARY_PATH=/usr/local/lib'
Then run 'svn --version' You should see something like this:
Subversion Client, version M5
compiled Nov 12 2001, 09:25:46
Copyright (C) 2000-2001 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
The following repository access (RA) modules are available:
* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles 'http' schema
* ra_local : Module for accessing a repository on local disk.
- handles 'file' schema
The important part is that ra_dav is listed as an available module.
Time to add something to INSTALL about this.
On Thu, Nov 15, 2001 at 12:29:14PM +0100, Bernhard Reiter wrote:
> Following the instructions from:
> http://subversion.tigris.org/
> I encountered the following problem when giving subversion my first spin.
>
> Symptoms: Checking out the latest Source does not work as documented.
>
> subversion-r442/subversion/clients/cmdline/svn co http://svn.collab.net/repos/svn/trunk/ -d subversion
>
> svn_error: #21068 : <Bad URL passed to RA layer>
> Unrecognized URL scheme: http://svn.collab.net/repos/svn/trunk
>
> from config.log:
> $ ./configure
>
> ## ---------- ##
> ## Platform. ##
> ## ---------- ##
>
> hostname = albunea.hq
> uname -m = ppc
> uname -r = 2.4.4-pre6
> uname -s = Linux
> uname -v = #4 Thu Apr 26 11:08:24 CEST 2001
>
> Reading specs from /usr/lib/gcc-lib/ppc-redhat-linux/2.95.3/specs
> gcc version 2.95.3 20001130 (prerelease/franzo/20001204)
>
>
> configure:9776: WARNING: we have configured for a client-only build
>
> It complies nicely.
> I can say "make check" which irritated me as
> I only have python1.5.2 installed and got no warning.
> According to the INSTALL file I would have needed python 2.1 at least.
>
> The following tests all ran fine:
> stringtest
> hashdump-test
> path-test
> random-test
> svn-test2.sh
> svn-test.sh
> target-test.sh
>
>
> I have no idea which kind of bug it is.
> It might as well be a documentation or configuration bug.
>
> Best,
> Bernhard
> ps.: I am not on dev@, please cc relevant replies.
> --
> Professional Service around Free Software (intevation.net)
> The FreeGIS Project (freegis.org)
> Association for a Free Informational Infrastructure (ffii.org)
> FSF Europe (fsfeurope.org)
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson http://www.pilch-bisson.net
"Historically speaking, the presences of wheels in Unix
has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Re: r442- Unrecognised URL scheme for default!
Posted by Daniel Stenberg <da...@haxx.se>.
On Thu, 15 Nov 2001, Bernhard Reiter wrote:
> Symptoms: Checking out the latest Source does not work as documented.
>
> subversion-r442/subversion/clients/cmdline/svn co http://svn.collab.net/repos/svn/trunk/ -d subversion
>
> svn_error: #21068 : <Bad URL passed to RA layer>
> Unrecognized URL scheme: http://svn.collab.net/repos/svn/trunk
Exactly this happened to me too, when I built it shared. (svn --version will
show you which RA modules it knows about, it should list both http and file)
Then I rerun ./configure --disable-shared and voila, it worked! ;-)
Perhaps you must do 'make install' for the shared build to work.
--
Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org