Skip to content

Instantly share code, notes, and snippets.

@wilson
Created March 15, 2013 19:20
eutaxis% git diff && cat c_src/patch-zeromq2
diff --git a/c_src/GNUmakefile b/c_src/GNUmakefile
index 1c66ec7..012168c 100644
--- a/c_src/GNUmakefile
+++ b/c_src/GNUmakefile
@@ -28,6 +28,7 @@ $(DEPS)/zeromq2:
@git clone git://github.com/zeromq/zeromq2-x.git $(DEPS)/zeromq2
@echo $(ZEROMQ_VERSION)
@cd $(DEPS)/zeromq2 && git checkout $(ZEROMQ_VERSION)
+ @./patch-zeromq2
$(DEPS)/zeromq2/src/.libs/libzmq.a: $(DEPS)/zeromq2
@cd $(DEPS)/zeromq2 && ./autogen.sh && ./configure $(ZMQ_FLAGS) && make
#!/bin/sh
sed -i s/AM_CONFIG_HEADER/AC_CONFIG_HEADER/g ../deps/zeromq2/configure.in
eutaxis% make
==> erlzmq2 (compile)
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'
autoreconf: configure.in: tracing
autoreconf: configure.in: subdirectory foreign/openpgm/build-staging/openpgm/pgm/ not present
autoreconf: configure.in: not using Libtool
autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoconf --include=config --force
configure.in:53: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:54: error: possibly undefined macro: AC_PROG_LIBTOOL
configure:5244: error: possibly undefined macro: AC_DISABLE_STATIC
configure:5248: error: possibly undefined macro: AC_ENABLE_STATIC
autoreconf: /usr/local/Cellar/autoconf/2.69/bin/autoconf 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment