NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
zfil
Jul 14, 2008Aspirant
Subversion : some progress
Hello
I've managed to build a working subversion server :
wget http://subversion.tigris.org/downloads/ ... 5.0.tar.gz
wget http://subversion.tigris.org/downloads/ ... 5.0.tar.gz
First untar both previously downloaded tgz.
cd subversion-1.5.0/zlib
./configure && make test && make install
cd ..
./configure --build=sparc-linux --enable-all-static --with-ssl --without-serf --with-zlib=/usr/local
make
make check
make install
56 tests out of 56 must run successfully.
The key is to build static otherwise svn and svnsync command coredump ...
The problem now is that the subversion server is very very slow, it is not a cpu problem, more a networking I think (the cpu is idle).
I'm using svnserve (svnserve -d), it is my usual setup on other platform and I never experienced any slowness (but it wasn't svn 1.5).
I've managed to build a working subversion server :
wget http://subversion.tigris.org/downloads/ ... 5.0.tar.gz
wget http://subversion.tigris.org/downloads/ ... 5.0.tar.gz
First untar both previously downloaded tgz.
cd subversion-1.5.0/zlib
./configure && make test && make install
cd ..
./configure --build=sparc-linux --enable-all-static --with-ssl --without-serf --with-zlib=/usr/local
make
make check
make install
56 tests out of 56 must run successfully.
The key is to build static otherwise svn and svnsync command coredump ...
The problem now is that the subversion server is very very slow, it is not a cpu problem, more a networking I think (the cpu is idle).
I'm using svnserve (svnserve -d), it is my usual setup on other platform and I never experienced any slowness (but it wasn't svn 1.5).
41 Replies
Replies have been turned off for this discussion
- stevepiercyAspirantThank you! That was it.
So this step above:mkdir -p /c/home/svn/repository
chown svn:svn /c/home/svn
should be:mkdir -p /c/home/svn/repository
chown -R svn:svn /c/home/svn
Now the creation of the repository is fine.
But now I have problems with authenticating. I edited the two files as suggested, but perhaps I did not enter the proper information. Here they are:
For svnserve.conf, I simply uncommented all the options. I had no reasoning behind do so, so if you can advise something more intelligent, I'll go with it. Snipped (...) for brevity.svn@nas-01-B5-6B:~/repository/conf$ cat svnserve.conf
...
[general]
...
anon-access = read
auth-access = write
...
password-db = passwd
...
authz-db = authz
...
realm = My First Repository
[sasl]
...
use-sasl = true
...
min-encryption = 0
max-encryption = 256
Actual user and pass obscured:svn@nas-01-B5-6B:~/repository/conf$ cat passwd
### This file is an example password file for svnserve.
### Its format is similar to that of svnserve.conf. As shown in the
### example below it contains one section labelled [users].
### The name and password for each user follow, one account per line.
[users]
# harry = harryssecret
# sally = sallyssecret
myuser = mypassword
svn@nas-01-B5-6B:~/repository/conf$
Thank you for any further help for this newbie. - zfilAspirantOkay you uncommented too much :wink:
Lets just do a basic setup, you can improve it later by reading the svn manual.
svnserve.conf[general]
anon-access = read
auth-access = write
password-db = passwd
realm = Repository
[sasl]
Your passwd looks fine. - stevepiercyAspirant
zfil wrote: Okay you uncommented too much :wink:
Lets just do a basic setup, you can improve it later by reading the svn manual.
svnserve.conf[general]
anon-access = read
auth-access = write
password-db = passwd
realm = Repository
[sasl]
Your passwd looks fine.
That worked. Thank you!
This was my first time setting up a SVN repository. If I have some spare time, I'll compile all the details and publish an article "SVN Setup (on ReadyNAS NV+) for Newbies". - wishyouAspirant
da9l wrote:
Reinstalling APT addon (the latest seems to be dated 2008-10-31) in order to get the most recent and most correct sources.lists file.
Adding all libraries as described in the setting up development environment howto.
Running:
apt-get install python (the tests depends on python)
apt-get install coreutils (some stuff in configure is dependent on the uniq command)
apt-get install libtool (Might have something to do with our problem below)
Make sure that you do ./configure with all options again.
My god, you are good! :)
I've been banging my head against the wall for weeks over this...
Thank you!
Wish - enoesque73AspirantHi,
I'm a relative newbie to both ReadyNAS and to linux.
I've been trying to get a Subversion server setup, mostly using the instructions in this thread.
However, I'm getting errors when trying to install certain packages, and I can't get the 'make' to even work.
What I ultimately need is a subversion server installed that I can access not only my home LAN, but also from outside my LAN - e.g. from work - using https(?)
Here's what I've done, starting with RAIDiator 4.01c1-p2 [1.00a042] with enableRootSSH and apt1.0.bin installed.
• Logged in as root using putty
• apt-get update
• apt-get install nano
• apt-get install libc6-dev
• apt-get install gcc
• apt-get install gdb
• apt-get install libtag1-dev – ERROR - see below
• apt-get install python
• apt-get install coreutils
• apt-get install libtool
• apt-get install uuid-dev
• apt-get install libssl-dev - ERROR - see below
• wget http://subversion.tigris.org/downloads/ ... 5.5.tar.gz
• wget http://subversion.tigris.org/downloads/ ... 5.5.tar.gz
• tar xvzf subversion-1.5.5.tar.gz
• tar xvzf subversion-deps-1.5.5.tar.gz
• rm *.gz
• cd subversion-1.5.5/zlib
• ./configure && make test && make install - OK, no errors
• cd ..
• (now in ~/subversion-1.5.5)
• ./configure --build=sparc-linux --enable-all-static --with-ssl --without-serf --with-zlib=/usr/local --with-devrandom=/dev/urandom - ERRORS, see below
• make - ERROR - see below
Anyone got any idea why I'm getting these errors? Should I be using svn 1.5.4 instead?
Any help very much appreciated.
enoesque
ERRORS
apt-get install libtag1-dev ERRORThe following packages have unmet dependencies:
libtag1-dev: Depends: libtag1 (= 1.4-2bpo2.netgear2) but 1.4-2bpo2.netgear1 is to be installed
E: Broken packages
apt-get install libssl-devThe following packages have unmet dependencies:
libssl-dev: Depends: libssl0.9.8 (= 0.9.8g-10) but 0.9.8e-9 is to be installed
E: Broken packages
./configure --build=sparc-linux --enable-all-static --with-ssl --without-serf --with-zlib=/usr/local --with-devrandom=/dev/urandom
(last few lines)checking for working AI_ADDRCONFIG... yes
checking for socklen_t... yes
checking for struct tm.tm_gmtoff... yes
checking for struct tm.__tm_gmtoff... no
configure: zlib not enabled
checking whether to enable ACL support in neon... yes
checking for pkg-config... no
checking for library containing RSA_new... not found
configure: error: could not find library containing RSA_new
configure failed for neon
makemake: *** No targets specified and no makefile found. Stop.
(Note, there is a Makefile.in, but no Makefile) - super_poussinVirtuosoopenssl-dev or ssl-dev missing ?
- enoesque73Aspirant
super-poussin wrote: openssl-dev or ssl-dev missing ?
Hi super-poussin, thanks for your response.
If openssl-dev or ssl-dev are missing, how do I install them?
I tried:apt-get install openssl-dev
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package openssl-dev
andapt-get install ssl-dev
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package ssl-dev
Like I said, I'm a noob, so I'm not sure what I should try.
Thanks
enoesque - super_poussinVirtuosowhat do you have in you sources list for apt-get/update ?
- enoesque73Aspirant
super-poussin wrote: what do you have in you sources list for apt-get/update ?
Hi super-poussin, here's my output:apt-get update
Hit http://archive.debian.org sarge/main Packages
Hit http://archive.debian.org sarge/main Release
Hit http://archive.debian.org sarge/contrib Packages
Hit http://archive.debian.org sarge/contrib Release
Hit http://archive.debian.org sarge/non-free Packages
Hit http://archive.debian.org sarge/non-free Release
Hit http://archive.debian.org sarge/main Sources
Hit http://archive.debian.org sarge/main Release
Hit http://archive.debian.org sarge/contrib Sources
Hit http://archive.debian.org sarge/contrib Release
Hit http://archive.debian.org sarge/non-free Sources
Hit http://archive.debian.org sarge/non-free Release
Hit http://www.readynas.com readynas/ Packages
Ign http://www.readynas.com readynas/ Release
Reading Package Lists... Done - super_poussinVirtuososave your list and try with :
deb http://www.infrant.com/packages readynas/
deb http://archive.debian.org/debian-security sarge/updates main contrib non-fre
deb-src http://archive.debian.org/debian-security sarge/updates main contrib non
deb http://archive.debian.org/backports.org sarge-backports main contrib non-fre
deb-src http://archive.debian.org/backports.org sarge-backports main contrib non
deb http://archive.debian.org/debian sarge main contrib non-free
deb-src http://archive.debian.org/debian sarge main contrib non-free
deb http://www.backports.org/debian sarge-backports main contrib non-free
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!