Upgrading Subversion 1.4.3 to 1.5.2 on Debian (Account Hosting)

I'm trying to upgrade my subversion server (I have it hosted with Dreamhost)

This is what I run:

But I can not continue further due to this error:

  • checking the name of the default output file of the compiler C ...
  • configure: error: C compiler cannot create executable files
  • See < config.log 'for more details .
  • Configuration failed for neon

Linux, , .

, , ( -).

Update:

config.log ( , SO)

Update:

, config.log.
, subversion.1.5.2/neon/config.log

+3
5

openssl SVN, SVN

./configure .... --with-openssl=/path/to/openssl

, , , -fPIC. make ( ). , make ... :

make CC="gcc -fPIC" LDFLAGS="/path/to/openssl/lib"

openssl CC="gcc -fPIC"!

!

+2

.

mkdir ~/src
cd ~/src
wget http://subversion.tigris.org/downloads/subversion-1.5.2.tar.bz2
wget http://subversion.tigris.org/downloads/subversion-deps-1.5.2.tar.bz2
tar -xjf subversion-1.5.2.tar.bz2
tar -xjf subversion-deps-1.5.2.tar.bz2
cd subversion-1.5.2
./configure --prefix=/home/$USER --with-ssl
make
make install

, , .

+5

./configure --prefix=/usr/bin --with-libs=/usr/bin/openssl --with-ssl

neon/config.log, /usr/bin/openssl/include... , , . , "--with-libs" , ssl

apt-get install libssl-dev
+2

I am also stuck in this error:

configure: error: C compiler cannot create executables

It turns out that in my case I had a clean installation of Debian Etch without the C compiler. I installed it (by mistake, I suppose) through apt-get install gcc. A few google searches made me install g ++ instead

apt-get install g++

Subsequently, it worked. Not sure if this will help you, but it helped me.

0
source

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


All Articles