sm00th / bitlbee-discord

Bitlbee plugin for Discord (http://discordapp.com)
GNU General Public License v2.0
290 stars 27 forks source link

./autogen.sh fails on Ubuntu 16.04 #111

Closed ghost closed 2 years ago

ghost commented 6 years ago
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -Im4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:31: error: possibly undefined macro: AC_DISABLE_STATIC
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:32: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /usr/bin/autoconf failed with exit status: 1
sm00th commented 6 years ago

do you have libtool installed?

ghost commented 6 years ago

That solved that issue. Now I'm seeing this, I can open a separate issue if you prefer.

checking for gcc option to accept ISO C99... none needed
./configure: line 12152: syntax error near unexpected token `BITLBEE,'
./configure: line 12152: `PKG_CHECK_MODULES(BITLBEE, bitlbee >= 3.5)'
BitlBee 3.5.1+20171005+master+27-g861de54-git
API version 030501
Configure args: --debug=0 --prefix=/usr --etcdir=/etc/bitlbee --events=libevent --otr=plugin --skype=0

I have bitlbee-dev installed.

sm00th commented 6 years ago

it now seems that pkg-config is missing. it is usually a good idea to install "build-essential" in ubuntu if you are trying to build something from source. that target inludes some basic stuff including libtool and pkg-config

ghost commented 6 years ago

build-essential was installed. I had to manually install some of the other things you mentioned. Would you accept a pull request that improved the readme with some of this information?

sm00th commented 6 years ago

Would you accept a pull request that improved the readme with some of this information?

Sure thing, just make sure to mention that those package names are for debian/ubuntu-based distros.