Building GnuPG

Kevin Hilton kevhilton at gmail.com
Mon Mar 7 07:49:59 CET 2011


Trying to build 2.1.0-git3582e2e using cygwin.

I used the following:
$ ./configure --sysconfdir=/etc/ --enable-maintainer-mode
--enable-symcryptrun
--enable-gpgtar --disable-nls

But am receiving the following error:
gcc -I/usr/local/include -I/usr/local/include -I/usr/local/include -g -O2
-O3 -W
all -Wcast-align -Wshadow -Wstrict-prototypes -Wformat -Wno-format-y2k
-Wformat-
security -W -Wno-sign-compare -Wno-missing-field-initializers
-Wdeclaration-afte
r-statement -Wno-pointer-sign -Wpointer-arith   -o t-convert.exe t-convert.o
lib
common.a ../gl/libgnu.a -L/usr/local/lib -lgcrypt -lgpg-error -lassuan
-L/usr/lo
cal/lib -lgpg-error -L/usr/local/lib -lgpg-error  -liconv
/usr/local/lib/libgpg-error.a(libgpg_error_la-init.o): In function
`real_init':
/home/admin/src/libgpg-error-1.9/src/init.c:68: undefined reference to
`_libintl
_bindtextdomain'
/usr/local/lib/libgpg-error.a(libgpg_error_la-strerror.o): In function
`gpg_stre
rror_r':
/home/admin/src/libgpg-error-1.9/src/strerror.c:161: undefined reference to
`_li
bintl_dgettext'
/usr/local/lib/libgpg-error.a(libgpg_error_la-strerror.o): In function
`gpg_stre
rror':
/home/admin/src/libgpg-error-1.9/src/strerror.c:50: undefined reference to
`_lib
intl_dgettext'
/usr/local/lib/libgpg-error.a(libgpg_error_la-strsource.o): In function
`gpg_str
source':
/home/admin/src/libgpg-error-1.9/src/strsource.c:36: undefined reference to
`_li
bintl_dgettext'
collect2: ld returned 1 exit status
make[3]: *** [t-convert.exe] Error 1

Obviously there seems a linking error to the gettext library.  I thought
however using the --disable-nls switch would prevent this.  I'm open to
suggestions.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20110307/6c0b516b/attachment-0001.htm>


More information about the Gnupg-devel mailing list