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

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



> Any help or suggestions?

Configure listens to CPP/LD FLAGS=-static but makefiles are
broken and set up intl and iconv as .so's.
Till that's fixed, just change them to .a's in the final gcc line.
msmtp_static: ELF 32-bit LSB executable, Intel 80386, version 1
(FreeBSD), statically linked, for FreeBSD 8.3 (803500), not stripped

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

- 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'

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