Open ikolomiets opened 13 years ago
probably unrelated, but normally, for the path to 0mq, you want: ./configure --with-zeromq=/usr/local
Thank you! Good to know. You're right - it's unrelated - I still get the same error.
Looks like AC_ERLANG_CHECK_LIB macro is missing, what's your autoconf version? Were you able to run it before?
autoconf is version 2.63
I compile lots of software on my workstation and never had problems related to autoconf before.
I got latest erlang.m4 from autoconf distro. This solved everything with exception of
./bootstrap that complains now about:
/usr/share/aclocal/erlang.m4:102: error: m4_copy: won't overwrite defined macro: AC_LANG_CONFTEST(Erlang) /usr/share/aclocal/erlang.m4:102: the top level autom4te: /usr/bin/m4 failed with exit status: 1 aclocal: /usr/bin/autom4te failed with exit status: 1 autoreconf: aclocal failed with exit status: 1
but it doesn't prevent ./configure & make from running successfully.
erlzmq includes m4/erlang.m4, may be there's a conflict.
I encountered the same problem, how can we solve
The system has latest Erlang installed (R14B01) and 0mq built from the current zeromq2 sources (as of Feb. 21, 2011) and installed in /usr/local/lib
After running ./bootstrap script,
./configure --with-zeromq=/usr/local/lib/
fails with the following error: .... checking for Erlang/OTP 'kernel' library subdirectory... configure: error: in
/home/gosha/work/erlzmq': configure: error: test Erlang program execution failed See
config.log' for more details.config.log has this:
["\"$ERL\" -run confte st start -run init stop -noshell"]' ./configure: eval: line 3651:
$ERLC $ERLCFLAGS -b beam conftest.$ac_ext >&5 ; echo "#!/ bin/sh" > conftest$ac_exeext ; AS_ECHO(["\"$ERL\" -run conftest start -run init stop -no shell"]) >> conftest$ac_exeext ; chmod +x conftest$ac_exeext' configure:3653: $? = 1 configure: program exited with status 1 configure: failed program was:configure:3673: error: in `/home/gosha/work/erlzmq': configure:3676: error: test Erlang program execution failed