S3fs-fuse: ./configure: line 4085: syntax error near unexpected token `common_lib_checking,'

Created on 25 Jun 2015  路  3Comments  路  Source: s3fs-fuse/s3fs-fuse

~/s3fs-fuse-1.78# uname -a
Linux 3.2.0-85-virtual #122-Ubuntu SMP Tue May 26 16:32:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
~/s3fs-fuse-1.78# cat /etc/issue.net
Ubuntu 12.04.5 LTS
~/s3fs-fuse-1.78# ./autogen.sh
~/s3fs-fuse-1.78# ./configure --prefix=/usr --with-openssl # See (*1)
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking s3fs build with nettle(GnuTLS)... no
checking s3fs build with OpenSSL... yes
checking s3fs build with GnuTLS... no
checking s3fs build with NSS... no
./configure: line 4085: syntax error near unexpected token `common_lib_checking,'
./configure: line 4085: `PKG_CHECK_MODULES(common_lib_checking, fuse >= 2.8.4 libcurl >= 7.0 libxml-2.0 >= 2.6)'

Most helpful comment

The solution was to apt-get install pkg-config

I also needed all this:

build-essential libfuse-dev libcurl4-openssl-dev libxml2-dev mime-support automake libtool

All 3 comments

Also happens at 14.04.2:

~/s3fs-fuse-1.78# uname -a
Linux  3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
~/s3fs-fuse-1.78# cat /etc/issue.net
Ubuntu 14.04.2 LTS

The solution was to apt-get install pkg-config

I also needed all this:

build-essential libfuse-dev libcurl4-openssl-dev libxml2-dev mime-support automake libtool

'The solution was to apt-get install pkg-config'
--> 'thanks'
(on Debian)

Was this page helpful?
0 / 5 - 0 ratings