Probleme mit subversion

  • Themenstarter Themenstarter Shlyakh
  • Beginndatum Beginndatum
S

Shlyakh

Guest
Ich habe Linux Mint (Maya), dann habe ich subversion 1.7.7 heruntergeaden und ausgepackt. Dann bin ich das VZ gewechselt und habe ./configure in die Kommandozeile eingegeben.

Das Resultat war diese Meldung:

configure: Configuring Subversion 1.7.7
configure: creating config.nice
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: Apache Portable Runtime (APR) library configuration
checking for APR... yes
checking APR version... 1.4.6
configure: Apache Portable Runtime Utility (APRUTIL) library configuration
checking for APR-util... no
configure: WARNING: APRUTIL not found
The Apache Portable Runtime Utility (APRUTIL) library cannot be found.
Either install APRUTIL on this system and supply the appropriate
--with-apr-util option

or

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

svn co \
asf - Revision 1404164: /apr/apr-util/branches/1.3.x \
apr-util

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

configure: error: no suitable APRUTIL found

Also habe ich apr 1.4.6 hier Download - The Apache Portable Runtime Project runtergeladen, ich bin dort wieder ins VZ gewechselt, habe dann ./configure eingegeben, dann make dann sudo make install. Das scheint funktioniert zu haben - nur dass ich bei ./configure für subversion immer noch denselben Fehler kriege - Was soll ich also tun?

Ich hoffe, der Beitrag is hier nich ganz fehl am Platze.
 
Wenn apr-util installiert ist, solltest du dem configure von Subversion '--with-apr-util=/pfad/zu/apr-util' als Parameter übergeben.
 
Der Witz ist der: Ich habe jetzt apr-util installieren wollen, also runtergeladen, entpackt, dann habe ich diese Meldung bekommen:

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
APR-util Version: 1.5.1
checking for chosen layout... apr-util
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
Applying apr-util hints file rules for i686-pc-linux-gnu
checking for APR... no
configure: error: APR could not be located. Please use the --with-apr option

Aber woher soll ich denn wissen, wo APR ist? Und es ist ja auf der Downloadseite auch nicht angegeben. Wenn ich das schaffe zu installieren, dann dürfte das subversionding ja kein Problem mehr sein.
 
Wenn du apr selbst aus dem Source installiert hast, dann befindet es sich üblicherweise unterhalb von /usr/local, sofern du --prefix nicht als Parameter für configure übergeben hast.
 
Tatsächlich, stimmt, danke! Aber

./configure --with-apr /usr/local/apr

geht dennoch nicht, denn nun sagt er:

./configure --with-apr /usr/local/apr
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /usr/local/apr
checking build system type... /usr/local/apr
configure: error: invalid value of canonical build
 
Zwischen den Parameter und den Wert für den Parameter gehört ein Gleichheitszeichen. Und /usr/local/apr ist ziemlich sicher nicht der richtige Pfad, wovon du dich überzeigen kannst, indem du einfach mal nachschaust ob dieser Ordner existiert. apr ist eine Library und liegt daher vermutlich in /usr/local/lib. Daher dürfte '--with-apr=/usr/local' oder '--with-apr=/usr/local/lib' eher richtig sein, je nachdem ob das configure die Unterordner einbezieht oder nicht.
 
...um ehrlich zu sein, meine mangelnde Erfahrung mit derselben, aber ich werde mich auf alle Fälle weiterbilden.
 
Zurück
Oben