Running SVN on Haiku

Submitted by TheNerd on Thu, 2007-09-20 21:59.   Tags: 

I am trying to get SVN to work on Haiku and when I type any command with SVN in it I get the following error messages.

svn: error: cannot set LC_ALL locale
svn: error: environment variable LANG is not set
svn: error: please check that your locale is set

Anyone know if this can be fixed?

Thanks

TheNerd
Submitted by TheNerd on Fri, 2007-09-21 14:05.

Well I spoke to the good folks on IRC (#haiku) and was told to try

export LANG=en_US or export LANG=C

Neither worked. Any suggestions?

andreasf
Submitted by Andreas Färber on Fri, 2007-09-21 14:13.

I have seen the same issue while trying to run Perl, setting LANG didn't help either.

TheNerd
Submitted by TheNerd on Fri, 2007-09-21 15:53.

Did you ever solve the problem?

andreasf
Submitted by Andreas Färber on Fri, 2007-09-21 16:17.

Nope, I'm new to Haiku and don't have an R5 to compare to. I just ignored it.

TheNerd
Submitted by TheNerd on Tue, 2007-09-25 11:09.

Looks like this bug was fixed in r22297. Karl from Haikuware gave it a try on his image and it worked but it locks up after about 15 mins when trying to check out Haiku from the repository. Karl mentioned that this also happened when he tried it on Zeta and R5.

andreasf
Submitted by Andreas Färber on Sat, 2007-09-29 11:19.

How did you get Subversion compiled for Haiku anyway? The compilation of the apr-util dependency under Haiku always took me to KDL and corrupted the filesystem so that I had to overwrite the image...
Did you cross-compile from Linux? Do you have any pointers how to do so outside Haiku's Jam build environment?

umccullough
Submitted by Urias McCullough on Sat, 2007-09-29 15:27.

I'm guessing anyone testing SVN on Haiku is probably just taking advantage of the binary-compatibility with R5 and copying it from their R5 partition/install rather than recompiling it for Haiku.

It should theoretically be possible (assuming all the headers are correct and necessary tools are present) to compile it for Haiku as well.

TheNerd
Submitted by TheNerd on Sat, 2007-09-29 18:27.

I believe that is what Karl VD did (copied from a R5 version). He was the one who installed it on the Haikuware Super Pack on Haikuware.com.