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
- enoesque73AspirantHi,
I backed up /etc/apt/sources.list and updated it to read:# more sources.list
deb http://www.infrant.com/packages readynas/
deb http://archive.debian.org/debian-security sarge/updates main contrib non-free
deb-src http://archive.debian.org/debian-security sarge/updates main contrib non-free
deb http://archive.debian.org/backports.org sarge-backports main contrib non-free
deb-src http://archive.debian.org/backports.org sarge-backports main contrib non-free
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
Then I did:apt-get update
and got:# apt-get update
Get:1 http://archive.debian.org sarge/updates/main Packages [432kB]
Get:2 http://www.backports.org sarge-backports/main Packages [748kB]
Get:3 http://www.infrant.com readynas/ Packages [16.1kB]
Ign http://www.infrant.com readynas/ Release
Get:4 http://archive.debian.org sarge/updates/main Release [114B]
Get:5 http://archive.debian.org sarge/updates/contrib Packages [624B]
Get:6 http://archive.debian.org sarge/updates/contrib Release [117B]
Get:7 http://archive.debian.org sarge/updates/non-free Packages [672B]
Get:8 http://archive.debian.org sarge/updates/non-free Release [118B]
Get:9 http://archive.debian.org sarge/updates/main Sources [77.1kB]
Get:10 http://archive.debian.org sarge/updates/main Release [115B]
Get:11 http://archive.debian.org sarge/updates/contrib Sources [20B]
Get:12 http://archive.debian.org sarge/updates/contrib Release [118B]
Get:13 http://archive.debian.org sarge/updates/non-free Sources [414B]
Get:14 http://archive.debian.org sarge/updates/non-free Release [119B]
Get:15 http://archive.debian.org sarge-backports/main Packages [748kB]
Get:16 http://www.backports.org sarge-backports/main Release [138B]
Get:17 http://www.backports.org sarge-backports/contrib Packages [24.1kB]
Get:18 http://www.backports.org sarge-backports/contrib Release [141B]
Get:19 http://www.backports.org sarge-backports/non-free Packages [4297B]
Get:20 http://www.backports.org sarge-backports/non-free Release [142B]
Get:21 http://archive.debian.org sarge-backports/main Release [138B]
Get:22 http://archive.debian.org sarge-backports/contrib Packages [24.1kB]
Get:23 http://archive.debian.org sarge-backports/contrib Release [141B]
Get:24 http://archive.debian.org sarge-backports/non-free Packages [4297B]
Get:25 http://archive.debian.org sarge-backports/non-free Release [142B]
Get:26 http://archive.debian.org sarge-backports/main Sources [163kB]
Get:27 http://archive.debian.org sarge-backports/main Release [139B]
Get:28 http://archive.debian.org sarge-backports/contrib Sources [2161B]
Get:29 http://archive.debian.org sarge-backports/contrib Release [142B]
Get:30 http://archive.debian.org sarge-backports/non-free Sources [2933B]
Get:31 http://archive.debian.org sarge-backports/non-free Release [143B]
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
Fetched 2251kB in 19s (113kB/s)
Reading Package Lists... Done
Finally I tried:# apt-get install openssl-dev
and gotReading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package openssl-dev
(Same happened with apt-get install ssl-dev)
I feel like you're getting me in the right direction, but I'm not there yet :?
enoesque - super_poussinVirtuososorry can you try libssl-dev ?
- enoesque73Aspirant
super-poussin wrote: sorry can you try libssl-dev ?
That now gives me:# apt-get install libssl-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The 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 - zfilAspirantThis is strange
The 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
Because it is the correct thing: the dev lib depends on 0.9.8g-10 version I don't know why it is not installing the dependency ...
On my machine :# dpkg -l|grep libssl
ii libssl-dev 0.9.8g-10 SSL development libraries, header files and
ii libssl0.9.7 0.9.7e-3sarge5 SSL shared libraries
ii libssl0.9.8 0.9.8g-10 SSL shared libraries
Usually I use something like that to have a running dev env, maybe you can try:apt-get update
apt-get install apt dpkg dpkg-dev
apt-get install libc6-dev gcc gdb libtag1-dev uuid-dev g++
apt-get install autoconf automake1.9 intltool libtool
apt-get install libssl-dev libexpat1-dev libapr1-dev libaprutil1-dev libcurl-dev
source.listdeb http://www.readynas.com/packages readynas/
deb http://archive.debian.org/debian-security sarge/updates main contrib non-free
deb-src http://archive.debian.org/debian-security sarge/updates main contrib non-free
deb http://archive.debian.org/backports.org sarge-backports main contrib non-free
deb-src http://archive.debian.org/backports.org sarge-backports main contrib non-free
deb http://archive.debian.org/debian sarge main contrib non-free
deb-src http://archive.debian.org/debian sarge main contrib non-free - enoesque73AspirantThanks zfil, I'll try that later on tonight, when I'm back home
enoesque - enoesque73AspirantHi zfil,
I updated my sources.list:/etc/apt# more sources.list
deb http://www.readynas.com/packages readynas/
deb http://archive.debian.org/debian-security sarge/updates main contrib non-free
deb-src http://archive.debian.org/debian-security sarge/updates main contrib non-free
deb http://archive.debian.org/backports.org sarge-backports main contrib non-free
deb-src http://archive.debian.org/backports.org sarge-backports main contrib non-free
deb http://archive.debian.org/debian sarge main contrib non-free
deb-src http://archive.debian.org/debian sarge main contrib non-free
Then:/etc/apt# apt-get update
Hit http://archive.debian.org sarge/updates/main Packages
Hit http://archive.debian.org sarge/updates/main Release
Hit http://archive.debian.org sarge/updates/contrib Packages
Hit http://archive.debian.org sarge/updates/contrib Release
Hit http://archive.debian.org sarge/updates/non-free Packages
Hit http://archive.debian.org sarge/updates/non-free Release
Hit http://archive.debian.org sarge/updates/main Sources
Hit http://archive.debian.org sarge/updates/main Release
Hit http://archive.debian.org sarge/updates/contrib Sources
Hit http://archive.debian.org sarge/updates/contrib Release
Hit http://archive.debian.org sarge/updates/non-free Sources
Hit http://archive.debian.org sarge/updates/non-free Release
Hit http://archive.debian.org sarge-backports/main Packages
Hit http://archive.debian.org sarge-backports/main Release
Hit http://archive.debian.org sarge-backports/contrib Packages
Hit http://archive.debian.org sarge-backports/contrib Release
Hit http://archive.debian.org sarge-backports/non-free Packages
Hit http://archive.debian.org sarge-backports/non-free Release
Hit http://archive.debian.org sarge-backports/main Sources
Hit http://archive.debian.org sarge-backports/main Release
Hit http://archive.debian.org sarge-backports/contrib Sources
Hit http://archive.debian.org sarge-backports/contrib Release
Hit http://archive.debian.org sarge-backports/non-free Sources
Hit http://archive.debian.org sarge-backports/non-free Release
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... Doneapt-get install apt dpkg dpkg-dev
No errors
Finally/etc/apt# apt-get install libc6-dev gcc gdb libtag1-dev uuid-dev g++
Reading Package Lists... Done
Building Dependency Tree... Done
libc6-dev is already the newest version.
gcc is already the newest version.
gdb is already the newest version.
uuid-dev is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The 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
So, as with my initial attempt in my first post, libtag1-dev is still giving errors :?
Any other ideas what I could be missing?
Thanks
eno - zfilAspirantOkay please can you reinstall libtag1 ?
apt-get install libtag1
or if it is not working :apt-get --reinstall install libtag1
- enoesque73Aspirant
zfil wrote: Okay please can you reinstall libtag1 ? apt-get install libtag1
or if it is not working :apt-get --reinstall install libtag1
Hi zfil,
Thanks again for more assistance.
I triedapt-get --reinstall install libtag1
[/quote]
but still getThe 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
I then tried to do the --reinstall on every other package I'd installed BEFORE triying libtag1 again, but still get the same result.
I think I may have to give up at this stage, and instead use your downloadable tarball in viewtopic.php?f=35&t=23409&p=137837#p137837 instead.
Thanks again for helping with this one, even if I couldn't get it working.
eno - kalostAspirantI successfully installed svn by the above instructions. Now, when my readynas gave me this message in the log
"Please reboot your ReadyNAS device to continue with the update process.",
I rebooted and got
"Your ReadyNAS device has been updated with a new firmware image. (RAIDiator 4.1.5)".
Now my svn server is broken.
I readded the lines
svn 3690/tcp
svn 3690/udp
to /etc/services, and
svn stream tcp nowait svn /usr/local/bin/svnserve svnserve -i -r /c/home/svn/repository
to /etc/inetd.conf, and rebooted.
Now I get response from the svn server again but when using tortoisesvn (win) I only get
"Malformed network data".
Now I don't know if I need to reinstall svn. - chrismacpAspirantThanks for these tips, I got it working too. I had the some of the same issues mentioned in the thread but finally got it working. I didn't realise it would take so long to make and check though, took soooooo long.
Nice one :)
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!