Im trying to install git on shared hosting - (via SSH, gcc --version
returns number) I downloaded the lasted git from GitHub: wget https://github.com/git/git/archive/v1.8.4.2.tar.gz
then extracted it to a folder: tar zxvf v1.8.4.2
and navigated to the git folder: cd git-v1.8.4.2
.
then tried to install it: ./configure prefix=/home/$USER --with-curl --with-expat
.
the command returned bash: ./cofigure.ac: No such file or directory
. its seems like there is no configure file? why? there is another file to configure?
i saw there is a file named configure.ac
and started it. not worked:
what is the problem? how I can configure git before installing?
Just type
make configure
to create the configure file.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.