I'm trying to upgrade my Git version to 1.8.3 on my fresh new CentOS 6.4 server(Cloud).
I'm trying these instructions here because I will then install the Gitlab. I have used this document before on my VirtualBox CentOS installation, I had no errors there.
However, this time after I clone the git repo, I can't compile, it fails on this line:
./configure --prefix=/usr/local
Here's the error that I get:
-bash: ./configure: Permission denied
I've updated the permissions, the result didn't change. I have used sh ./configure
and it did seem to work at first but then it broke down with this error:
checking whether the C compiler works... configure: error: in `/tmp/git':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
What might be the problem? Some similar issues are told to use mount
command but I couldn't make anything work. Thanks in advance.