I'm attempting to build 1.80 on Ubuntu 14.04 and get this error on configure:
./configure: line 4285: syntax error near unexpected token `common_lib_checking,'
./configure: line 4285: `PKG_CHECK_MODULES(common_lib_checking, fuse >= ${min_fuse_version} libcurl >= 7.0 libxml-2.0 >= 2.6)'
I've verified that those package versions are above that but it is a syntax error anyway. And min_fuse_version is defined on line # 4140.
case "$target" in
*-darwin* )
# Do something specific for mac
min_fuse_version=2.7.3
;;
*)
# Default Case
# assume other supported linux system
min_fuse_version=2.8.4
;;
esac
I've tried replacing the variable directly with 2.8.4 but get the same error. Have I missed something?
I'm going to close this as I started all over and cloned the git instead of using the release and also reinstalled all the necessary packages and it worked fine after. I don't know what it was, but it likely isn't an issue. Thanks.
What is the necessary packages @david-rahrer?
Because I got this error when trying to build it with different Dockerfile.
Here's the case. I have 2 Dockerfile.
(Dockerfile 1 can build image and provision S3FS, and Dockerfile 2 otherwise)
Thanks.
fwiw, i'm also having this issue...
Also having the issue in Ubuntu 14.04.
The following fixed it:
sudo apt-get install build-essential libcurl4-openssl-dev libxml2-dev pkg-config libssl-dev libfuse-dev
./autogen.sh
...
Reinstalling the dependencies helped resolve my issues as well on Lubuntu 16.04. Out of the box the './configure' wouldn't run kept failing at the same line
...
PKG_CHECK_MODULES(common_lib_checking
...
This is what I ran on my system to clear all the related packages I could find:
apt-get purge build-essential libcurl4-openssl-dev libxml2-dev pkg-config libssl-dev libfuse-dev m4 automake autotools-dev s3fs
apt-get install build-essential libcurl4-openssl-dev libxml2-dev pkg-config libssl-dev libfuse-dev m4 automake autotools-dev s3fs
Most helpful comment
Also having the issue in Ubuntu 14.04.
The following fixed it:
sudo apt-get install build-essential libcurl4-openssl-dev libxml2-dev pkg-config libssl-dev libfuse-dev ./autogen.sh ...