Compiling libapache2-svn for Apache 2.4.4

I want to use Apache 2.4.4 with SVN on an Ubuntu 12.04 server (Precise Pangolin). But when I use

apt-get install libapache2-svn 

I get the following dependency error

 The following packages have unmet dependencies: libapache2-svn : Depends: apache2.2-common but it is not going to be installed 

Turning on to Google, I got some suggestion about compiling from a source manually. I do not know how to do that. How can i do this?

+4
source share
2 answers

I have two solutions:

  • Follow the instructions in Q & A Server Error .

    * Note. Create another user if you are using the root account on the server.

  • I asked Ondřej Surý on Launchpad to add Subversion to his Apache PPA. You can add Ondřej Surý PPA for normal upgrade / upgrade.

+3
source

You asked Ondrej to include Subversion in your PPA start panel. But I could not install the libapache2-svn package after adding Ondrej PPA.

Somehow the compilation instructions did not work for me, so here is an alternative way to make it work.

Link: ( https://askubuntu.com/questions/312568/where-can-i-find-a-subversion-1-8-binary )

WANDisco has Subversion 1.8 for Ubuntu, and then:

  sudo sh -c 'echo "# WANdisco Open Source Repo" >> /etc/apt/sources.list.d/WANdisco.list' sudo sh -c 'echo "deb http://opensource.wandisco.com/ubuntu precise svn18" >> /etc/apt/sources.list.d/WANdisco.list' wget -q http://opensource.wandisco.com/wandisco-debian.gpg -O- | sudo apt-key add - sudo apt-get update 

Thereafter:

 apt-cache show subversion | grep '^Version:' 

And then you should be good to install normally:

 sudo apt-get install subversion libapache2-svn 
0
source

Source: https://habr.com/ru/post/1495154/


All Articles