threads / discuss / 33674

git -build failure with gettext-0.18.2.1

Subject: git -build failure with gettext-0.18.2.1

## tl;dr

One message between Apr 29, 2013 and Apr 29, 2013.

replies: 0people: 1as markdown or json

Treeve Jelbert· Apr 29, 2013, 19:25 UTC · lore

git-1.8.2.2 glibc-2.17 gettext-0.18.2.1

Recent gettext versions install several libraries: /usr/lib/libgettextlib-0.18.2.so /usr/lib/libgettextsrc-0.18.2.so /usr/lib/libintl.so.8.1.2

/usr/include/autosprintf.h /usr/include/gettext-po.h

while glibc installs
/usr/include/libintl.h
git reports:
checking for gettext in -lc... yes

checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes

git build fails while trying to link
    LINK git-imap-send
libgit.a(diff.o): In function `parse_dirstat_params.isra.19':
diff.c:(.text+0x1f0f): undefined reference to `libintl_gettext'
I tried adding 
export LIBS="-lintl"
I also tried 
export NO_GETTEXT=1
before the build but to no avail

← back to recent threads