Subversion installieren

Lord_Icon

Member
Hi,

ich würde gern Subversion mit SSL installieren. Diverse Anleitungen im Web habe ich hierzu natürlich gefunden. Leider hängt es an einer Stelle, die natürlich in den HowTo's nicht beschrieben ist.
Und selbst bin ich zwar schon n bissel weiter gekommen aber es hängt trotzdem.

Also:
Runtergeladen + Entpackt => kein Thema.

Komilierung:
Code:
./configure --prefix=/usr/share/subversion/ --with-ssl

...
...
configure: Apache Portable Runtime (APR) library configuration
checking for APR... no
configure: WARNING: APR not found
The Apache Portable Runtime (APR) library cannot be found.
Please install APR on this system and supply the appropriate
--with-apr option to 'configure'

or

get it with SVN and put it in a subdirectory of this source:

   svn co \
    http://svn.apache.org/repos/asf/apr/apr/branches/1.2.x \
    apr

Run that right here in the top level of the Subversion tree.
Afterwards, run apr/buildconf in that subdirectory and
then run configure again here.

Whichever of the above you do, you probably need to do
something similar for apr-util, either providing both
--with-apr and --with-apr-util to 'configure', or
getting both from SVN with:

   svn co \
    http://svn.apache.org/repos/asf/apr/apr-util/branches/1.2.x \
    apr-util

configure: error: no suitable apr found

okay... easy. Steht ja da, was gemacht werden soll.

Als erstes apr
Code:
   svn co \
    http://svn.apache.org/repos/asf/apr/apr/branches/1.2.x \
    apr

...
...
A    apr/user/netware/groupinfo.c
A    apr/user/netware/userinfo.c
 U   apr
Ausgecheckt, Revision 790893.

und dann utils
Code:
   svn co \
    http://svn.apache.org/repos/asf/apr/apr-util/branches/1.2.x \
    apr-util

...
...
A    apr-util/Makefile.win
A    apr-util/libaprutil.rc
 U   apr-util
Ausgecheckt, Revision 790898.

ARP und Utils sollten nun draus sein.
Ergo nochmal das ganze von vorn:


Code:
./configure --prefix=/usr/share/subversion/ --with-ssl

...
...
configure: Apache Portable Runtime (APR) library configuration
checking for APR... reconfig
configure: configuring package in apr now
/bin/sh: /root/subversion-1.6.3/apr/configure: No such file or directory
configure failed for apr


Oki... dann halt mit apr + util....
Code:
./configure --prefix=/usr/share/subversion/ --with-ssl --with-apr --with-apr-util

...
...
configure: Apache Portable Runtime (APR) library configuration
checking for APR... configure: error: --with-apr requires a directory or file to be provided




Soo... die README + dessen Links darin helfen mir leider nicht viel weiter.

Weiß einer, in welcher Konstellation ich den den benötigten arp Pfad eintragen muß?
Vllt. sogar ein Vorschlag für den Pfad.

In ein Separaten Verzeichniss /usr/share/arp
oder doch gleich mit ins Subversion-Verzeichniss mit rein ?
/usr/share/subversion/arp ?

Vielen Dank



EDIT:
Anschiend hab ich eine Zeile überlesen. (die mit den apr/buildconf)

Erster Aufruf benötigte noch die libtool => installiert und dann nochmal:
Code:
apr/buildconf

buildcheck: checking installation...
buildcheck: autoconf version 2.61 (ok)
buildcheck: autoheader version 2.61 (ok)
buildcheck: libtool version 1.5.24 (ok)
buildcheck: local copy of find_apr.m4 does not match APR's copy.
            An updated copy of find_apr.m4 may need to be checked in.
buildcheck: local copy of PrintPath does not match APR's copy.
            An updated copy of PrintPath may need to be checked in.
buildcheck: local copy of find_apu.m4 does not match APRUTIL's copy.
            An updated copy of find_apu.m4 may need to be checked in.
Copying libtool helper files ...
buildconf: Using libtool.m4 at /usr/share/aclocal/libtool.m4.
Creating include/arch/unix/apr_private.h.in ...
Creating configure ...
configure.ac:185: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
Generating 'make' outputs ...
apr/buildconf: line 91: build/gen-build.py: Datei oder Verzeichnis nicht gefunden
rebuilding rpm spec file
apr/buildconf: line 96: build/get-version.sh: Datei oder Verzeichnis nicht gefunden
cat: ./build/rpm/apr.spec.in: Datei oder Verzeichnis nicht gefunden



Okay.... nun is Verwirrung Perfekt
 
Last edited by a moderator:
Warum nimmst Du das ganze APR-Gedöns nicht passend zu dem bei Dir installierten Apache, spricht installierst das ganze mit der Paketverwaltung? Dann wird es auch gleich in den Standard-Pfaden installiert und Du brauchst beim svn keine besonderen configure-Optionen angeben.

Merksatz: Wenn man eine Distribution verwendet, sollte man immer erst prüfen, ob die Pakete, die man über die Paketverwaltung installieren kann, nicht auch geeignet sind. Das spart einem in der Regel viel Ärger.
 
Hi,

habe ich. Allerdings habe ich hier keinen "Zugriff" um kann der Installation sagen => bitte mit SSL.

Und die HowTo's beschreiben es natürlich so wie ich es angefangen habe.


Bzw. ziehen wir das Pferd mal von hinten auf.

KAnn ich nachträglich SVN sagen, das er nur eine SSL verschlüsselung verwenden soll ?
 
habe ich. Allerdings habe ich hier keinen "Zugriff" um kann der Installation sagen => bitte mit SSL.

Meine Aussage bezog sich auf die apr-Pakete.

Dass das vorhandene svn-Paket nicht Deinen Anforderungen genügt, ist klar. Deshalb willst Du es ja auch neu kompilieren. Aber die apr-Pakete, die mit dem installierten Apache harmonieren müssen, solltest Du über die Paketverwaltung installieren.
 
Back
Top