[Xuite] Build SVN from source on Ubuntu 13.10

Just finished a SVN standalone server setup post yesterday. I got an assignment from boss. There exists a problem for a long time. Our build server is old. CentOS 4.x or something like that since 2009. The svn client version is 1.4.2

The latest tortoiseSVN on Windows always complain that the workspace is too old to use. So, it will upgrade it while we operate source in Windows. But this will impact the build server old svn client. It can’t identify the workspace version. So, you need to remove the entire workspace  and re-checkout.

As a comproise, we use Windows SVN to examine code difference and Linux svn to check-in code. 

 

Eventually, team lead decides to fix this and give the task to me. There are two solutions.

First, downgrade tortoiseSVN. Unfortunately, old tortoiseSVN doesn’t work for Win7. So, we need to proceed the 2nd, upgrade svn on Linux.

 

After some study, we realize that there is nothing to do with svn server. What we need to to upgrade svn client.

Since the distribution is too old to have newer svn update, we need to build it from source. “configure;make” itself in subversion package is nothing special. Most time is spent on figuring out the dependency.

I come out a Makefile to download source, extract source, and make them into binary files. Share it here~ Hope this helps.

You should remember to convert the spaces to tabs. This is a makefile.

 

 

Leave a Reply(Name請以user_開頭,否則會被判定會垃圾息)

請輸入答案 35 − 32 =