I think if there’s a technology equivalent of the poverty line, it should be having to live without subversion. Yet when I logged into a compute node assigned to us since we started clamouring for clock cycles, the first thing I see is: “bash: svn: command not found”. Ouch. What did I do to deserve this?
Anyway compiling svn on this machine was a bit of a chore, so I’m just writing it down for reference. The normal way to compile is to get the subversion-1.x.x and subversion-deps-1.x.x files, untar/gunzip them (they extract into the same subversion-1.x.x directory), run autogen.sh, run ./configure, make and make install. I got caught while running make due to one of the dependencies and the error was:
.../neon/src/.libs/libneon.a(ne_request.o): relocation R_X86_64_32 against `a local symbol’ can not be used when making a shared object; recompile with -fPIC
I found the solution in the comments of this blog post. The subversion-deps archive extracts a subdir called “neon” into the subversion source folder. The workaround is to go into the neon subdir, run ./configure –enable-shared && make && make install (i also used –prefix=$HOME/usr for both this and the top-level ./configure). Once this is done, go back to the top-level source directory, run autogen.sh, ./configure, make and make install as usual and it should work.
shashwat | 07-Feb-07 at 12:03 am | Permalink
Surely there are better ways to make notes for future reference. WHAT ON EARTH was this post about :)
Sherene | 07-Feb-07 at 3:45 pm | Permalink
Phew. Such a relief to see Shash’s comment. I was starting to think it’s just me.
Anshul | 07-Feb-07 at 4:58 pm | Permalink
Sorry for the Greek, people. Subversion is a source-control software or a versioning system, I’m sure you guys use equivalent stuff at work (CVS/Rational Rose?). But basically I can use it to track every change that I commit to my code so that I can revert to old versions etc.
As for writing it here, it’s a semi permanent place on the web; and the blog is searchable – nothing better for a permanent record :)
Zdenek Wagner | 06-Mar-07 at 4:22 am | Permalink
Thank you very much. I had exactly the same problem and subversion’s buddy has no info about it. Google search found this page for me and it helped me to compile svn.
Denis | 09-May-07 at 11:12 pm | Permalink
Thank you! I spend couple of hours trying to compile before I have found your record.
Martin | 12-Jan-08 at 8:23 am | Permalink
Me too! Thanks so much for posting this to your blog. I am building on x86_64 with FC3 so finding your entry was a great blessing.
John Armstrong | 23-Feb-08 at 3:07 am | Permalink
Awesome, thanks, this really saved me some time. Much appreciated!
John-
maha | 20-Mar-08 at 11:41 pm | Permalink
saved me tons of work…thanks man