Closed rezasodaei closed 10 years ago
mafTools generally assumes it's been installed as a git repo (like from github). When it complies it embeds the git hash into the program so that the --help messages can show what branch and what commit you build from. The line:
fatal: Not a git repository (or any of the parent directories): .git
indicates to me that mafTools wasn't installed as a git repo. Try cloning it via github and see if that clears this up!
I have this problem: ~/lib/python/mafTools$ make cd lib && make all make[1]: Entering directory
main()
File "../lib/createVersionSources.py", line 86, in main
buildBranch = getBranch()
File "../lib/createVersionSources.py", line 49, in getBranch
branchList = runCommand([GIT, 'branch']).split('\n')
File "../lib/createVersionSources.py", line 44, in runCommand
mtt.handleReturnCode(p.returncode, cmd)
File "/home/reza/lib/python/mafTools/lib/mafToolsTest.py", line 117, in handleReturnCode
'%s retcode:%d' %(' '.join(cmd), retcode))
Thanks for any help
/home/reza/lib/python/mafTools/lib' make[1]: Nothing to be done for
all'. make[1]: Leaving directory/home/reza/lib/python/mafTools/lib' cd mafComparator && make all make[1]: Entering directory
/home/reza/lib/python/mafTools/mafComparator' fatal: Not a git repository (or any of the parent directories): .git Traceback (most recent call last): File "../lib/createVersionSources.py", line 93, in