LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2015, 12:06 PM   #1
coops
LQ Newbie
 
Registered: May 2015
Posts: 4

Rep: Reputation: Disabled
Trying to install SVN


Hello all,
I'm having real trouble trying to get SVN 1.8.9 installed on a linux box which is now my responsibility to look after, I think it is centos or scientific linux.
EDIT: it is Scientific Linux release 6.4 (Carbon)

What I've done so far:
  • SVN 1.6 was installed and working fine.
  • I installed smartsvn so that I had a 'nice' GUI to look at the repos on the machine.
  • Smartsvn then upgraded my repos.
  • The svn client on the command line does not work with the upgraded repos.
  • I tried yum install svn but the latest svn is already installed (1.6).
  • I then installed 1.7 from source and still that version was too old.
  • I then installed 1.8.9 from source - yey this worked locally fine.
  • There are cron jobs that run and use the svn client to push to an svn server
  • The SVN I installed from source does not commit properly and gives this error:
    svn: E170000: Unrecognized URL scheme for 'http://.....'
  • I googled around and found I need to install svn with configure --with-serf option.
  • This fails as the SVN install needs serf 1.2.1 or newer.
  • So I install serf 1.3.something from an rpm.
  • That installs fine and I retry the configure step but it fails giving the same error.
  • rpm -ql serf returns: /usr/lib/libserf-1.so
    /usr/lib/libserf-1.so.1
    /usr/lib/libserf-1.so.1.3.0
    So I think 1.3 is installed...?

Does anyone know how to make the configure step of svn know where serf is? --with-serf=/usr/lib/ did not work at all for me.

Thanks for any help and I'm happy to post more information.

Cheers

Last edited by coops; 05-14-2015 at 10:04 AM.
 
Old 05-12-2015, 12:40 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Welcome to LQ.

Please show the output from this command :
Code:
$ cat /etc/redhat-release

SVN :
The default version for CentOS 6 is `subversion-1.6.11' :
# yum install subversion

CentOS 7 : The default version is `subversion-1.7.14'.

-
 
Old 05-13-2015, 04:19 AM   #3
coops
LQ Newbie
 
Registered: May 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Looks like it is Scientific Linux, when I run that command it returns:
Code:
Scientific Linux release 6.4 (Carbon)
Will I be able to install SVN 1.8.9 and serf 1.2.1+ at all on this version do you think?
 
Old 05-18-2015, 04:34 AM   #4
coops
LQ Newbie
 
Registered: May 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Anyone got any ideas...?
 
Old 05-18-2015, 02:39 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,817

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
6.4 dose have MAJOR security only backports
but no new versions of anything

6.6 is the current in the older 6 series
Code:
su -
yum install svn
but the 6.4 version is OLD
the major version of svn was LOCKED back in 2007 with rhel6.0
sl6 is using that version
and the major version will never change it will be the same in 5 to 6 years with sl6.12


to change the version
you might ??? maybe??? be able to build from source

but you are using rhel6 ( the sl rebuild) for a REASON it is DEAD STABLE and dose NOT crash

Quote:
So I install serf 1.3.something from an rpm.
what rpm and from where ?
most of the fedora rpm's are incompatible and the SUSE rpm's are VERY!!! incompatible
and you can NOT mix rhel6 and 7 together so the el7 rpm's ARE NOT COMPATIBLE

if you are building 1.8.9 FROM source
then ALL the VERY NEW libs will also need to be built from source
AND MAKE 100 SURE!!!!!! that the os can NOT see and use them instead of the default already installed versions

rename the lib in building ( and point svn1.8.9 to use THAT version)

or use a build folder that is OUT OF THE SYSTEM " $PATH "
and point svn 1.8.9 to USE the files in the "build folder"

all of the above is a royal pain in the "BLEEPED"

so be ready for a bit of work


now some VERY NEW programs will build without to much trouble ...
Others ... well a TON of trouble

Last edited by John VV; 05-18-2015 at 02:40 PM.
 
Old 05-19-2015, 04:12 AM   #6
coops
LQ Newbie
 
Registered: May 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi, thanks for the reply.

The name of the rpm was: serf-1.3.2-2.i686.rpm i got it from here: http://rpmfind.net/linux/rpm2html/se...?query=libserf

I'm not particularly familiar with Linux, so I didn't check versions of the rpm, I just assumed it would install or fail.

So is there no way to just get yum to install the latest version of svn? (or at least the version smart svn is shipped with)

As a last resort, if there really is no way to install an update version of svn do you know if there is a way i can down grade the repos which I have now updated to the new svn format?

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
starting with git repos created from svn-all-fast-export, how to interact with svn? eantoranz Programming 0 03-17-2013 12:45 AM
svn import error says svn: Repository moved permanently to 'http://192.168.1.5/deva/' dev@linuxquestion# Linux - Server 0 04-15-2012 03:34 AM
copy svn working dir without svn hidden dirs and files? erinspice Linux - Software 4 03-29-2011 06:58 PM
Svn client on FC10: remote SVN server update errs: timed out waiting for srvr ... Amol Tupe Linux - Software 0 10-01-2010 04:25 AM
anon svn read-only over apache: '.svn/entries': No such file hedpe Linux - Software 2 04-29-2009 06:31 AM


All times are GMT -5. The time now is 10:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration