git - What is libintl.h and where can I get it? -


trying make install of git source, , keep kicking error:

 make install * new build flags or prefix cc credential-store.o in file included credential-store.c:1: in file included ./cache.h:8: ./gettext.h:17:11: fatal error: 'libintl.h' file not found # include <libintl.h> ^ 1 error generated. make: *** [credential-store.o] error 1 

no amount of googling has turned on lib.intl.h. elusive library, , how can can install git?

depending on system, it's part of gnu c library (glibc).

note installing file libintl.h isn't good.

on debian-based systems (including debian, ubuntu, , linux mint), it's part of libc6-dev package, installed with:

sudo apt-get install libc6-dev 

since you're using mac os x, google search "libintl.h osx" shows lot of people having similar problems. according install file in git sources:

set no_gettext disable localization support , make git use english. under autoconf configure script automatically if can't find libintl on system.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -