-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
./configure fails on SUSE Linux 11.2 #20
Comments
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? |
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 /usr/share/aclocal/erlang.m4:102: error: m4_copy: won't overwrite defined macro: AC_LANG_CONFTEST(Erlang) 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:
configure:3609: checking for Erlang/OTP 'kernel' library subdirectory
configure:3649: $ERLC $ERLCFLAGS -b beam conftest.$ac_ext >&5 ; echo "#!/bin/sh" > conft
est$ac_exeext ; AS_ECHO([""$ERL" -run conftest start -run init stop -noshell"]) >> con
ftest$ac_exeext ; chmod +x conftest$ac_exeext
./configure: eval: line 3651: syntax error near unexpected token
["\"$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:
| -module(conftest).
| -export([start/0]).
|
| start() ->
| ReturnValue = case code:lib_dir("kernel") of
| {error, bad_name} ->
| file:write_file("conftest.out", "not found\n"),
| 1;
| LibDir ->
| file:write_file("conftest.out", LibDir),
| 0
| end,
| halt(ReturnValue)
| .
|
configure:3673: error: in `/home/gosha/work/erlzmq':
configure:3676: error: test Erlang program execution failed
The text was updated successfully, but these errors were encountered: