cryptodotis / irssi-otr

LibOTR functionality in Irssi.
GNU General Public License v2.0
183 stars 24 forks source link

Syntax Error, line 12412 #66

Closed c650 closed 7 years ago

c650 commented 7 years ago

Hello,

I'm trying to install this software and I'm following the steps:

Running ./configure --prefix="/usr" goes smoothly until it yields this error:

./configure: line 12412: syntax error near unexpected token `1:1.2.0,as_fn_error'
./configure: line 12412: `AM_PATH_LIBGCRYPT(1:1.2.0,,as_fn_error $? "libgcrypt 1.2.0 or newer is required." "$LINENO" 5)'

Considering that I don't know much about bash scripting, I'm lost at this point and I cannot install this software.

I'm running Ubuntu 16.04 x64.

dgoulet commented 7 years ago

Do you have all the requirements installed? See README.

c650 commented 7 years ago

@dgoulet yes I have libgcrypt20-dev installed and I even ran sudo apt install --reinstall libgcrypt20-dev

dgoulet commented 7 years ago

Try apt install pkg-config ?

c650 commented 7 years ago

@dgoulet that package is already installed at this point. I think I installed it earlier in response to another error.

dgoulet commented 7 years ago

I'm quite confused... I just tried on a 16.04 x64 and it works out of the box with the requirements....

If you can run autogen.sh properly and you have pkg-config, it suppose to be enough. Maybe Googling a bit the error can give you some advise because it seems more of autoconf issue.

Rhialto commented 7 years ago

To me it looks like the line

AM_PATH_LIBGCRYPT(1:1.2.0,,AC_MSG_ERROR(libgcrypt 1.2.0 or newer is required.))

from the file configure.ac hasn't been processed into shell script.

c650 commented 7 years ago

Now I'm quite confused because I got a new copy of the repo and it worked!

Fishy.