Mailing List Archive

Build problem in 0.4.1
I think to have found a small problem in configure section of gnupg-0.4.1
The locale is not working, only english messages are displayed. So I've run
and strace reports the following: (configure was launched with --prefix=/usr
option)
open("/usr//locale/it_IT/LC_MESSAGES/gnupg.mo".....

the "share" path is missing. Checking the Makefile, it shows:
G10_LOCALEDIR = /usr//locale

To try to get Makefile created in a correct way, I've tried some hacks, but
I'm not expert in configure files so I may have done a big mess...

I've modified the configure.in file around the line 258, (I've modified the
file according to the version found in 0.4.0 tar); I've put back

AM_GNU_GETTEXT
before the line
G10_LOCALEDIR="$g10_prefix/$DATADIRNAME/locale"

and deleted the dnl found at the start of

WK_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl )

With this change, the makefile created by configure script seems to be
correct, in fact I can found the line
G10_LOCALEDIR = /usr/share/locale
and the italian messages are back.

I've built a redhat 5.1 rpm package for gnupg-0.4.1 (I've rewrote the
original spec file) and if someone is interested I can put in some ftp site.



--
Fabio Coatti
2:332/409.414 Fidonet
cova@felix.unife.it Internet
http://felix.unife.it/~cova Home page
Old SysOps never die... they simply forget their password.
Re: Build problem in 0.4.1 [ In reply to ]
Fabio Coatti <cova@felix.unife.it> writes:

> the "share" path is missing. Checking the Makefile, it shows:
> G10_LOCALEDIR = /usr//locale

This is the first problem, which I think can only be addressed by
adding G10_LOCALDIR as -D to CFLAGS.

> and deleted the dnl found at the start of
>
> WK_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl )
>
> With this change, the makefile created by configure script seems to be

I apologize for this dnl, I did some tests and didn't remove the
dnl.


Werner