S3fs-fuse: syntax error near unexpected token `common_lib_checking,'

Created on 24 Jun 2016  路  5Comments  路  Source: s3fs-fuse/s3fs-fuse

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?

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 ...

All 5 comments

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)

  • In Dockerfile 1 I'm using Debian Wheezy & PHP5
  • In Dockerfile 2 I'm using Debian Jessie & PHP 7

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

neilmillard picture neilmillard  路  3Comments

KES777 picture KES777  路  5Comments

CAFxX picture CAFxX  路  4Comments

inghoward picture inghoward  路  4Comments

chrisgo picture chrisgo  路  5Comments