[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [msmtp-users] Can't create static binary



Hi!

On Sat, 17 Aug 2013 21:38:41 -0400, grarpamp wrote:
> > Any help or suggestions?
> 
> Configure listens to CPP/LD FLAGS=-static but makefiles are
> broken and set up intl and iconv as .so's.

It seems that AM_GNU_GETTEXT([external]) should take care of all of
this, including static linking if requested.

> Dumping in some other stuff that can be looked at...
> 
> - autoreconf -fiv
> autoreconf-2.69: configure.ac: AM_GNU_GETTEXT is used, but not
> AM_GNU_GETTEXT_VERSION

AM_GNU_GETTEXT_VERSION is optional and, according to its documentation,
only used by autopoint.

> - and it adds some things that could be shipped
> configure.ac:30: installing 'build-aux/config.guess'
> configure.ac:30: installing 'build-aux/config.sub'
> configure.ac:33: installing 'build-aux/install-sh'
> configure.ac:33: installing 'build-aux/missing'
> doc/Makefile.am:3: installing 'build-aux/mdate-sh'
> src/Makefile.am: installing 'build-aux/depcomp'

This is on purpose: you can let your autoconf version install its own
versions of these files, so that there are no conflicts between your
autoconf version and the repository. Also, these files are generated
files in a sense, and therefore should not be in the repository.

> ./msmtp.texi:5: warning: unrecognized encoding name `UTF-8'.
> locale -a, maybe en_US.UTF-8 ?

According to the texinfo manual
(http://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html#Internationalization),
UTF-8 should be correct. The language part (en) ist set by
@documentlanguage in line 4.

Which texinfo version fails to recognize UTF-8?

Martin