I have some errors when I downloaded the source by using command gclient.
And, I have installed all required programs.
sudo apt-get install apache2 g++ python subversion gperf make devscripts fakeroot git
The error occurred when I tried to sync with the source server:
gclient sync --force --jobs=1
Error :
________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress --template=/home/xxx/bin/depot_tools/git-templates
http://github.com/Itseez/opencv.git /home/xxx/mps/src/third_party/opencv/src/opencv/_gclient__Py83IO' in '/home/xxx/mps'
Unknown option: -c
usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]
[-p|--paginate|--no-pager] [--no-replace-objects]
[--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]
[--help] COMMAND [ARGS]
Error: Command git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress --template=/home/xxx/bin/depot_tools/git-templates
http://github.com/Itseez/opencv.git /home/xxx/mps/src/third_party/opencv/src/opencv/_gclient__Py83IO returned non-zero exit status 129 in /home/xxx/mps