I am trying to upgrade Git from my shared hosting. To do this, I follow these steps:
- Download the latest version of Git
- Unzip and put it on the server
- Configure and create a Makefile ->
./configure --prefix=$HOME/dev/git/src --without-tcltk - Build the package ->
make then make install - Update PATH.bash_profile
I am stuck in step 4. When I run the make , I get the following:
user@ssh1:~/dev/git/src$ make SUBDIR gitweb SUBDIR ../ make[2]: ? GIT-VERSION-FILE ? est ? jour. GEN git-instaweb SUBDIR perl SUBDIR git_remote_helpers SUBDIR templates MSGFMT po/build/locale/is/LC_MESSAGES/git.mo /bin/sh: msgfmt: command not found make: *** [po/build/locale/is/LC_MESSAGES/git.mo] Erreur 127
The compiler throws an msgfmt command not found error.
I googled it and it seems to be related to the gettext package.
Any ideas how to fix this error on shared hosting?
git compiler-errors gettext shared-hosting
John 29 Feb 2018-12-12T00: 00Z
source share