[zeromq-dev] ./configure fails when cross compiling malamute

Benjamin Henrion zoobab at gmail.com
Wed Jan 20 19:03:42 CET 2016


I am cross-compiling malamute from the now working master, but fails
compared to the version I was using before

I got this error in ./configure:

checking for memset... no
checking for getifaddrs... yes
checking for .git... configure: error: cannot check for file existence
when cross compiling

It seems there is a new configure flag in configure.ac:


+# enable draft API by default if we're in a git repository
 +# else disable it by default; then allow --with-draft=yes/no override
 +AC_CHECK_FILE(.git, [gitmaster=yes], [gitmaster=no])
 +    AS_HELP_STRING([--with-drafts],
 +        [Build and install draft classes and methods [default=yes.]]),
 +    [with_drafts=$withval],
 +    [with_drafts=$gitmaster])
 +AM_CONDITIONAL([WITH_DRAFTS], [test x$with_drafts != xno])
 +if test "x$with_drafts" = "xyes"; then
 +    AC_MSG_NOTICE([building draft, stable, and legacy API])
 +    AC_DEFINE(WITH_DRAFTS, 1, [Build and install draft classes and methods.])
 +    AC_MSG_NOTICE([building stable and legacy API (no drafts)])

I could use the ./configure --draft=no in my build instructions, if
you have a better idea...

Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."

More information about the zeromq-dev mailing list