rmt/amqptools

Installing on debian (line 11903: syntax error near unexpected token `0.17')

pscheit opened this issue · 1 comments

I'm trying to install amqptools on debian and tried to make the analogous steps from the redhat installation file:

apt-get install python-simplejson libtool autoconf automake gcc

and then

 git clone git://github.com/alanxz/rabbitmq-c.git
cd rabbitmq-c
git submodule init
git submodule update
autoreconf -i

but ./configure returns:

checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc option to accept ISO C99... -std=gnu99
./configure: line 11903: syntax error near unexpected token `0.17'
./configure: line 11903: `PKG_PROG_PKG_CONFIG(0.17)'

I tried to find something about this error (or syntax errors in autoconf) but I couldn't come up with a solution. Does anyone has a direction how to fix that?

autoconf --version
autoconf (GNU Autoconf) 2.69

oh never mind i solved it:

apt-get install pkg-config

I'll send you a pull request for a debian install log, when finished