sorced-jim/SPDY-for-iPhone — Issue #1: "Making all in demo" ends with error: "configure.ac:24: error: m4_defn: undefined macro: _m4_divert_diversion"
Author: ligaard
Created: 2012-02-09 19:24:58+00:00
State: open

I tried doing compiling as described in the readme. When it reached the "Making all in demo" part, it errored out; see details below.

Making all in demo
gcc -DHAVE_CONFIG_H -I. -I../src `pkg-config --cflags check` -I../include -g -O2 -MT server.o -MD -MP -MF .deps/server.Tpo -c -o server.o server.c
/bin/sh: pkg-config: command not found
mv -f .deps/server.Tpo .deps/server.Po
/bin/sh ../libtool --tag=CC --mode=link gcc `pkg-config --cflags check` -I../include -g -O2 `pkg-config --libs check` `pkg-config --libs zlib` -o server server.o ../src/libspdy.la
/bin/sh: pkg-config: command not found
/bin/sh: pkg-config: command not found
/bin/sh: pkg-config: command not found
libtool: link: gcc -I../include -g -O2 -o .libs/server server.o ../src/.libs/libspdy.dylib
gcc -DHAVE_CONFIG_H -I. -I../src `pkg-config --cflags check` -I../include -g -O2 -MT client.o -MD -MP -MF .deps/client.Tpo -c -o client.o client.c
/bin/sh: pkg-config: command not found
mv -f .deps/client.Tpo .deps/client.Po
/bin/sh ../libtool --tag=CC --mode=link gcc `pkg-config --cflags check` -I../include -g -O2 `pkg-config --libs check` `pkg-config --libs zlib` -o client client.o ../src/libspdy.la
/bin/sh: pkg-config: command not found
/bin/sh: pkg-config: command not found
/bin/sh: pkg-config: command not found
libtool: link: gcc -I../include -g -O2 -o .libs/client client.o ../src/.libs/libspdy.dylib
make[2]: Nothing to be done for `all-am'.
cd spdylay && autoreconf -i && automake && autoconf
configure.ac:24: error: m4_defn: undefined macro: _m4_divert_diversion
configure.ac:24: the top level
autom4te: /usr/bin/gm4 failed with exit status: 1
aclocal: /usr/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
make: *** [spdylay/configure] Error 1