Comments (4)
Hi,
Are your NSS, GnuTLS installed under /usr/local?
Then if these libraries is installed to not default(/usr/lib), I think you have to specify that environment.
from s3fs-fuse.
Hi,
This bug was found while preparing Debian package. It can be reproduced in a clean Debian chroot environment with mentioned package dependencies installed system-wide from Debian packages (i.e prefix is /usr), was tested on current Debian unstable(sid) branch.
Here is the config.log:
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by s3fs configure 1.78-pre, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/s3fs-fuse --disable-maintainer-mode --disable-dependency-tracking --with-gnutls ## --------- ## ## Platform. ## ## --------- ## hostname = desktop uname -m = x86_64 uname -r = 3.14-0.bpo.1-amd64 uname -s = Linux uname -v = #1 SMP Debian 3.14.12-1~bpo70+1 (2014-07-13) /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2033: checking build system type configure:2047: result: x86_64-pc-linux-gnu configure:2067: checking host system type configure:2080: result: x86_64-pc-linux-gnu configure:2100: checking target system type configure:2113: result: x86_64-pc-linux-gnu configure:2156: checking for a BSD-compatible install configure:2224: result: /usr/bin/install -c configure:2235: checking whether build environment is sane configure:2290: result: yes configure:2441: checking for a thread-safe mkdir -p configure:2480: result: /bin/mkdir -p configure:2487: checking for gawk configure:2517: result: no configure:2487: checking for mawk configure:2503: found /usr/bin/mawk configure:2514: result: mawk configure:2525: checking whether make sets $(MAKE) configure:2547: result: yes configure:2576: checking whether make supports nested variables configure:2593: result: yes configure:2778: checking for g++ configure:2794: found /usr/bin/g++ configure:2805: result: g++ configure:2832: checking for C++ compiler version configure:2841: g++ --version >&5 g++ (Debian 4.9.1-5) 4.9.1 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2852: $? = 0 configure:2841: g++ -v >&5 Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.1-5' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.9.1 (Debian 4.9.1-5) configure:2852: $? = 0 configure:2841: g++ -V >&5 g++: error: unrecognized command line option '-V' g++: fatal error: no input files compilation terminated. configure:2852: $? = 4 configure:2841: g++ -qversion >&5 g++: error: unrecognized command line option '-qversion' g++: fatal error: no input files compilation terminated. configure:2852: $? = 4 configure:2872: checking whether the C++ compiler works configure:2894: g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -Wl,-z,relro conftest.cpp >&5 configure:2898: $? = 0 configure:2946: result: yes configure:2949: checking for C++ compiler default output file name configure:2951: result: a.out configure:2957: checking for suffix of executables configure:2964: g++ -o conftest -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -Wl,-z,relro conftest.cpp >&5 configure:2968: $? = 0 configure:2990: result: configure:3012: checking whether we are cross compiling configure:3020: g++ -o conftest -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -Wl,-z,relro conftest.cpp >&5 configure:3024: $? = 0 configure:3031: ./conftest configure:3035: $? = 0 configure:3050: result: no configure:3055: checking for suffix of object files configure:3077: g++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 conftest.cpp >&5 configure:3081: $? = 0 configure:3102: result: o configure:3106: checking whether we are using the GNU C++ compiler configure:3125: g++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 conftest.cpp >&5 configure:3125: $? = 0 configure:3134: result: yes configure:3143: checking whether g++ accepts -g configure:3163: g++ -c -g -D_FORTIFY_SOURCE=2 conftest.cpp >&5 configure:3163: $? = 0 configure:3204: result: yes configure:3238: checking for style of include used by make configure:3266: result: GNU configure:3292: checking dependency style of g++ configure:3403: result: none configure:3466: checking for gcc configure:3482: found /usr/bin/gcc configure:3493: result: gcc configure:3722: checking for C compiler version configure:3731: gcc --version >&5 gcc (Debian 4.9.1-5) 4.9.1 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3742: $? = 0 configure:3731: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.1-5' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.9.1 (Debian 4.9.1-5) configure:3742: $? = 0 configure:3731: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3742: $? = 4 configure:3731: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3742: $? = 4 configure:3746: checking whether we are using the GNU C compiler configure:3765: gcc -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:3765: $? = 0 configure:3774: result: yes configure:3783: checking whether gcc accepts -g configure:3803: gcc -c -g -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:3803: $? = 0 configure:3844: result: yes configure:3861: checking for gcc option to accept ISO C89 configure:3924: gcc -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:3924: $? = 0 configure:3937: result: none needed configure:3962: checking whether gcc understands -c and -o together configure:3984: gcc -c conftest.c -o conftest2.o configure:3987: $? = 0 configure:3984: gcc -c conftest.c -o conftest2.o configure:3987: $? = 0 configure:3999: result: yes configure:4018: checking dependency style of gcc configure:4129: result: none configure:4150: checking s3fs build with nettle(GnuTLS) configure:4170: result: no configure:4176: checking s3fs build with OpenSSL configure:4200: result: no configure:4206: checking s3fs build with GnuTLS configure:4214: result: yes configure:4242: checking s3fs build with NSS configure:4272: result: no configure:4288: checking compile s3fs with configure:4507: result: GnuTLS-gcrypt configure:4511: checking for gcry_control in -lgnutls configure:4536: gcc -o conftest -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -Wl,-z,relro conftest.c -lgnutls >&5 /usr/bin/ld: /tmp/ccSZIDB6.o: undefined reference to symbol 'gcry_control@@GCRYPT_1.2' //lib/x86_64-linux-gnu/libgcrypt.so.11: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status configure:4536: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "s3fs" | #define PACKAGE_TARNAME "s3fs" | #define PACKAGE_VERSION "1.78-pre" | #define PACKAGE_STRING "s3fs 1.78-pre" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "s3fs" | #define VERSION "1.78-pre" | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char gcry_control (); | int | main () | { | return gcry_control (); | ; | return 0; | } configure:4545: result: no configure:4552: checking for gcry_control in -lgcrypt configure:4577: gcc -o conftest -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -Wl,-z,relro conftest.c -lgcrypt >&5 configure:4577: $? = 0 configure:4586: result: yes configure:4597: checking for DEPS configure:4665: result: no configure:4667: error: in `/tmp/buildd/s3fs-fuse-1.78-pre': configure:4669: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables DEPS_CFLAGS and DEPS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-D_FORTIFY_SOURCE=2 ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2' ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_DEPS_CFLAGS_set= ac_cv_env_DEPS_CFLAGS_value= ac_cv_env_DEPS_LIBS_set= ac_cv_env_DEPS_LIBS_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=-Wl,-z,relro ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set= ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-linux-gnu ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=x86_64-pc-linux-gnu ac_cv_lib_gcrypt_gcry_control=yes ac_cv_lib_gnutls_gcry_control=no ac_cv_objext=o ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=mawk ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes ac_cv_target=x86_64-pc-linux-gnu am_cv_CC_dependencies_compiler_type=none am_cv_CXX_dependencies_compiler_type=none am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /tmp/buildd/s3fs-fuse-1.78-pre/missing aclocal-1.14' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AUTOCONF='${SHELL} /tmp/buildd/s3fs-fuse-1.78-pre/missing autoconf' AUTOHEADER='${SHELL} /tmp/buildd/s3fs-fuse-1.78-pre/missing autoheader' AUTOMAKE='${SHELL} /tmp/buildd/s3fs-fuse-1.78-pre/missing automake-1.14' AWK='mawk' CC='gcc' CCDEPMODE='depmode=none' CFLAGS='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2' CPPFLAGS='-D_FORTIFY_SOURCE=2' CXX='g++' CXXDEPMODE='depmode=none' CXXFLAGS='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wall -D_FILE_OFFSET_BITS=64' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DEPS_CFLAGS='' DEPS_LIBS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EXEEXT='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LDFLAGS='-Wl,-z,relro' LIBOBJS='' LIBS='' LTLIBOBJS='' MAKEINFO='${SHELL} /tmp/buildd/s3fs-fuse-1.78-pre/missing makeinfo' MKDIR_P='/bin/mkdir -p' OBJEXT='o' PACKAGE='s3fs' PACKAGE_BUGREPORT='' PACKAGE_NAME='s3fs' PACKAGE_STRING='s3fs 1.78-pre' PACKAGE_TARNAME='s3fs' PACKAGE_URL='' PACKAGE_VERSION='1.78-pre' PATH_SEPARATOR=':' PKG_CONFIG='' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' SET_MAKE='' SHELL='/bin/bash' STRIP='' USE_GNUTLS_NETTLE_FALSE='' USE_GNUTLS_NETTLE_TRUE='' USE_SSL_GNUTLS_FALSE='' USE_SSL_GNUTLS_TRUE='' USE_SSL_NSS_FALSE='' USE_SSL_NSS_TRUE='' USE_SSL_OPENSSL_FALSE='' USE_SSL_OPENSSL_TRUE='' VERSION='1.78-pre' ac_ct_CC='gcc' ac_ct_CXX='g++' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='#' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='x86_64-pc-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${prefix}/share/info' install_sh='${SHELL} /tmp/buildd/s3fs-fuse-1.78-pre/install-sh' libdir='${exec_prefix}/lib' libexecdir='${prefix}/lib/s3fs-fuse' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${prefix}/share/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target='x86_64-pc-linux-gnu' target_alias='' target_cpu='x86_64' target_os='linux-gnu' target_vendor='pc' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "s3fs" #define PACKAGE_TARNAME "s3fs" #define PACKAGE_VERSION "1.78-pre" #define PACKAGE_STRING "s3fs 1.78-pre" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "s3fs" #define VERSION "1.78-pre" configure: exit 1
from s3fs-fuse.
Hi, jollyroger
I push a fixed codes about this issue to master branch.
Please check it, and if you find bugs please let me know.
(I close this issue, but I re-open this or please make new issue.)
Thanks in advance for your help.
from s3fs-fuse.
Thank you, it works now.
from s3fs-fuse.
Related Issues (20)
- Providing more details in docs HOT 5
- s3fs fuse hangs EC2 node very frequently HOT 1
- s3fs-fuse to HCP (Hitachi Content Platform) issue HOT 10
- [FR] Resolve IPv4/v6 Only Option HOT 4
- S3FS SSL Client Certificate
- kernel lockup HOT 1
- Set a custom endpoint connection port ? HOT 2
- Failure to moving 750GB object to COS bucket HOT 3
- Deadlock for FdManager::fd_manager_lock && FdEntity::fdent_lock when write data concurrently HOT 1
- Input/output error-S3FS HOT 5
- when i use https,Which version of libcurl should be used? HOT 1
- I use s3fs 1.89 version, find s3fs have Memory leakage.s3fs is killed Beacuse of OOM HOT 3
- use V1.89,find print many "could not get fd_manager_lock when clean up file" information in s3fs logs . What will be affected? HOT 2
- S3fs version is 1.9.4,I find warning log printf "Not enough local storage to cache write request till multipart upload can start" .what will be affect? HOT 4
- Too many del stat cache entry and head requests for just 1 file requested
- s3fs mount freezes when uploading a bigger single file (>1GB) and uploaded data reaches precise 1GB. HOT 1
- Failed to compile s3fs-fuse in static mode.
- s3fscurl->DestroyCurlHandle(true, false) Why is the second parameter set to false ,but all other calls are true. HOT 1
- Passwd-s3fs files for different mounts if /etc/fstab HOT 1
- dead lock in NoCacheLoadAndPost HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s3fs-fuse.