svn: E170000: Schéma d'URL non reconnu pour httpxxxx


12

Il semble que le svn personnalisé ne fonctionne pas pour les URL http. Après avoir cherché en ligne, j'ai compris que je devais installer des bibliothèques néon, ce que j'ai fait. Après avoir installé Neon lorsque je construis la subversion, elle échoue à make. J'ai essayé de nettoyer et de faire à nouveau, toujours un problème. Rien n'a changé, sauf que la version installée de subversion existe toujours dans / usr / local / subversion. Une idée de comment avancer?

Système d'exploitation: RedHat 5

Version

    [root@mercury lib]# svn --version
    svn, version 1.8.0 (r1490375)
       compiled Jul 10 2013, 20:07:32 on x86_64-unknown-linux-gnu

    Copyright (C) 2013 The Apache Software Foundation.
    This software consists of contributions made by many people;
    see the NOTICE file for more information.
    Subversion is open source software, see http://subversion.apache.org/

    The following repository access (RA) modules are available:

    * ra_svn : Module for accessing a repository using the svn network protocol.
      - with Cyrus SASL authentication
      - handles 'svn' scheme
    * ra_local : Module for accessing a repository on local disk.
      - handles 'file' scheme

Configurer Subversion

[root@mercury subversion-1.8.0]# ./configure --prefix=/usr/local/subversion/ --with-apxs=/usr/local/subversion/bin/apxs --with-apr=/usr/local/subversion/bin/apr-1-config --with-apr-util=/usr/local/subversion/bin/apu-1-config --with-ssl --with-neon=/u01/soft/neon-0.29.6/


.....end lines...

config.status: executing svn_private_config.h.tmp commands
configure: WARNING: unrecognized options: --with-ssl, --with-neon
configure: WARNING: we have configured without BDB filesystem support


You don't seem to have Berkeley DB version 4.0.14 or newer
installed and linked to APR-UTIL.  We have created a Makefile which will build
Subversion without support for the Berkeley DB back-end.  You can find the
latest version of Berkeley DB here:

  http://www.oracle.com/technetwork/products/berkeleydb/downloads/index.html

or explicitly specify --without-berkeley-db to silence this warning.

faire

[root@mercury subversion-1.8.0]# make
/bin/sh /u01/soft/subversion-1.8.0/libtool --tag=CC --silent --mode=compile gcc -std=c89  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -g -O2  -g -O2 -pthread  -I./subversion/include -I./subversion -I/usr/local/subversion//include   -I/usr/local/subversion//include -I/u01/soft/subversion-1.8.0/sqlite-amalgamation   -o subversion/libsvn_delta/cancel.lo -c subversion/libsvn_delta/cancel.c
/u01/soft/subversion-1.8.0/libtool: line 865: X--tag=CC: command not found
/u01/soft/subversion-1.8.0/libtool: line 898: libtool: ignoring unknown tag : command not found
/u01/soft/subversion-1.8.0/libtool: line 865: X--mode=compile: command not found
/u01/soft/subversion-1.8.0/libtool: line 1031: *** Warning: inferring the mode of operation is deprecated.: command not found
/u01/soft/subversion-1.8.0/libtool: line 1032: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
/u01/soft/subversion-1.8.0/libtool: line 1175: Xgcc: command not found
/u01/soft/subversion-1.8.0/libtool: line 1175: X-std=c89: command not found
/u01/soft/subversion-1.8.0/libtool: line 1175: X-DLINUX: command not found
/u01/soft/subversion-1.8.0/libtool: line 1175: X-D_REENTRANT: command not found
/u01/soft/subversion-1.8.0/libtool: line 1175: X-D_GNU_SOURCE: command not found
/u01/soft/subversion-1.8.0/libtool: line 1175: X-g: command not found
/u01/soft/subversion-1.8.0/libtool: line 1175: X-O2: command not found
/u01/soft/subversion-1.8.0/libtool: line 1175: X-g: command not found
/u01/soft/subversion-1.8.0/libtool: line 1175: X-O2: command not found
/u01/soft/subversion-1.8.0/libtool: line 1175: X-pthread: command not found
/u01/soft/subversion-1.8.0/libtool: line 1175: X-I./subversion/include: No such file or directory
/u01/soft/subversion-1.8.0/libtool: line 1175: X-I./subversion: No such file or directory
/u01/soft/subversion-1.8.0/libtool: line 1175: X-I/usr/local/subversion//include: No such file or directory
/u01/soft/subversion-1.8.0/libtool: line 1175: X-I/usr/local/subversion//include: No such file or directory
/u01/soft/subversion-1.8.0/libtool: line 1175: X-I/u01/soft/subversion-1.8.0/sqlite-amalgamation: No such file or directory
/u01/soft/subversion-1.8.0/libtool: line 1175: X-c: command not found
/u01/soft/subversion-1.8.0/libtool: line 1227: Xsubversion/libsvn_delta/cancel.lo: No such file or directory
/u01/soft/subversion-1.8.0/libtool: line 1232: libtool: compile: cannot determine name of library object from `': command not found
make: *** [subversion/libsvn_delta/cancel.lo] Error 1

la subversion 1.8 a supprimé NEON au profit du serf.
Doon

Quel OS / Distro avez-vous utilisé?
ALex_hha

La version du système d'exploitation est RedHat5
user1595858

@Doon D'où je peux installer serf, dois-je reconstruire la subversion après avoir installé serf?
user1595858

Il devrait y avoir un rpm libserf ou libserf-devel flottant autour. Et vous devrez utiliser pour reconstruire Subversion et lui dire d'inclure serf. Mais sur la base de votre ligne de configuration, je ne vois rien de "personnalisé", donc la réponse @alex_hha ci-dessous fonctionnerait probablement aussi.
Doon

Réponses:


19

Vous avez compilé Subversion sans bibliothèque serf utilisée pour le protocole HTTP / HTTPS: http://serf.apache.org/

Spécifiez l'emplacement de la bibliothèque serf à l'aide de l' --with-serfoption de configuration.


En utilisant notre site, vous reconnaissez avoir lu et compris notre politique liée aux cookies et notre politique de confidentialité.
Licensed under cc by-sa 3.0 with attribution required.