Skip to content
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

Problem building on Mountain Lion #53

Closed
puzza007 opened this issue Feb 28, 2013 · 7 comments
Closed

Problem building on Mountain Lion #53

puzza007 opened this issue Feb 28, 2013 · 7 comments

Comments

@puzza007
Copy link

Using homebrew. I'm getting:

puzza@Pauls-MacBookPro ~/src/erlzmq2 (master) $ make
==> erlzmq2 (compile)
Cloning into '../deps/zeromq2'...
v2.1.11
Note: checking out 'v2.1.11'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at 73f167e... Updated NEWS for 2.1.11
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal -I config --force -I config
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:13: error: 'AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/local/Cellar/automake/1.13.1/share/aclocal-1.13/obsolete-err.m4:14: AM_CONFIG_HEADER is expanded from...
configure.in:13: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
autogen.sh: error: autoreconf exited with status 0
make[1]: *** [../deps/zeromq2/src/.libs/libzmq.a] Error 1
ERROR: Command [compile] failed!
make: *** [compile] Error 1

@puzza007
Copy link
Author

I was able to get it to build using 7d74a91 and gsed

@wilson
Copy link

wilson commented Mar 15, 2013

Same problem for me; here's a full log of it: https://gist.github.com/wilson/97e85fbbb93376582e74

@wilson
Copy link

wilson commented Mar 15, 2013

The patch in 7d74a91 gets things further for me, but it still fails due to autoconf-lookin' incompatibilities. I guess zeromq2 needs updating in general.

@puzza007
Copy link
Author

What fails for you with that patch? Can you gist it?

2013/3/15 Wilson Bilkovich notifications@github.com

The patch in 7d74a91 7d74a91gets things further for me, but it still fails due to autoconf-lookin'
incompatibilities. I guess zeromq2 needs updating in general.


Reply to this email directly or view it on GitHubhttps://github.com//issues/53#issuecomment-14979288
.

@wilson
Copy link

wilson commented Mar 15, 2013

Yep; here is a log: https://gist.github.com/wilson/1892faa8d1c318e2da85

@puzza007
Copy link
Author

Using gnu-sed fixed it for me:

puzza@Pauls-MacBookPro ~/src/erlzmq2 (master_) $ brew list | grep gnu-sed
gnu-sed
puzza@Pauls-MacBookPro ~/src/erlzmq2 (master_) $ git diff | cat
diff --git a/c_src/patch-zeromq2 b/c_src/patch-zeromq2
index bfda2fb..6828f50 100755
--- a/c_src/patch-zeromq2
+++ b/c_src/patch-zeromq2
@@ -1,2 +1,2 @@
#!/bin/sh
-sed -i s/AM_CONFIG_HEADER/AC_CONFIG_HEADER/g ../deps/zeromq2/configure.in
+gsed -i s/AM_CONFIG_HEADER/AC_CONFIG_HEADER/g ../deps/zeromq2/configure.in
puzza@Pauls-MacBookPro ~/src/erlzmq2 (master*) $

2013/3/15 Wilson Bilkovich notifications@github.com

Yep; here is a log: https://gist.github.com/wilson/1892faa8d1c318e2da85


Reply to this email directly or view it on GitHubhttps://github.com//issues/53#issuecomment-14979904
.

@wilson
Copy link

wilson commented Mar 15, 2013

Still fails for me when I change to that: https://gist.github.com/wilson/c9e08f3adc5f4b46c86a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants