Greetings all,
OS: Debian 6.0.2 (Linux 2.6.32-5-686 #1 SMP Mon Jun)
pushpool: 0.5.1
Pursuant to
https://forum.bitcoin.org/index.php?topic=8707.msg135119#msg135119, I have ran into a problem.
I have downloaded pushpool 0.5.1, and extracted it. When I cd into the dir, I do not see a "configure" script, so I run autoreconf, and get the following:
alex@home:~/bitcoin$ cd pushpool-0.5.1/
alex@home:~/bitcoin/pushpool-0.5.1$ autoreconf
configure.ac:35: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
Knowing this is a problem, I the run autoreconf -vi, and get the following:
alex@home:~/bitcoin/pushpool-0.5.1$ autoreconf -vi
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
autoreconf: Leaving directory `.'
All seems well...but it's not. Having accounted for some missing packages (like a new enough openssl), I proceed to the following:
alex@home:~/bitcoin/pushpool-0.5.1$ ./configure LDFLAGS=-L/home/alex/bitcoin/openssl/lib/ CPPFLAGS=-I/home/alex/bitcoin/openssl/include/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking whether gcc and cc understand -c and -o together... yes
checking for ranlib... ranlib
checking for ANSI C header files... yes
checking for event_base_new in -levent... yes
checking for pthread_create in -lpthread... yes
checking for uncompress in -lz... yes
checking for json_loads in -ljansson... yes
checking for MD5_Init in -lcrypto... yes
checking for memcached_get in -lmemcached... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for a Python interpreter with version >= 2.2... python
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/dist-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/dist-packages
./configure: line 4767: syntax error near unexpected token `AX_LIB_MYSQL'
./configure: line 4767: `AX_LIB_MYSQL()'
and
alex@home:~/bitcoin/pushpool-0.5.1$ ls m4/
ax_lib_mysql.m4 ax_lib_postgresql.m4 ax_lib_sqlite3.m4
Thinking that maybe something from autom4te is out of sync, I then run autoreconf -fvi and get the following:
alex@home:~/bitcoin/pushpool-0.5.1$ autoreconf -fvi
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:35: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
To help, here are the versions of the autotools suit I'm using:
automake (GNU automake) 1.11.1
Copyright (C) 2009 Free Software Foundation, Inc.
aclocal (GNU automake) 1.11.1
Copyright (C) 2009 Free Software Foundation, Inc.
autoconf (GNU Autoconf) 2.67
Copyright (C) 2010 Free Software Foundation, Inc.
autoheader (GNU Autoconf) 2.67
Copyright (C) 2010 Free Software Foundation, Inc.
autom4te (GNU Autoconf) 2.67
Copyright (C) 2010 Free Software Foundation, Inc.
I am a programmer, but I am not well versed in autotools or m4, so I am at a loss as to what is going on with this. Does anyone have any info on how to get pushpool compiled on Debian 6, or how to fix this error? Any help is greatly appreciated.
- Vadtec