首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法安装s3fs-fuse(yum fuse-devel版本问题)和无法安装libfuse(./config丢失问题)

无法安装s3fs-fuse(yum fuse-devel版本问题)和无法安装libfuse(./config丢失问题)
EN

Stack Overflow用户
提问于 2016-06-07 01:59:56
回答 1查看 774关注 0票数 0

我正在尝试在我的Docker容器上安装s3fs-fuse。这是到目前为止我的Dockerfile。

代码语言:javascript
复制
FROM    centos:centos6

RUN yum -y update; yum clean all; \
    yum groupinstall -y "Web Server" "MySQL Database" "PHP Support"; \
    service httpd start; \
    chkconfig httpd on;

RUN yum install -y openssh; \
    yum install -y openssh-clients;

ADD ssh/ /root/.ssh/

RUN chmod 600 /root/.ssh/*; \
    touch /root/.ssh/known_hosts; \
    ssh-keyscan github.com >> /root/.ssh/known_hosts;

RUN yum install -y git;

RUN yum install -y autoconf libtool gcc libstdc++-devel curl-devel mailcap; \
    yum install -y automake fuse-devel gcc-c++ git libcurl-devel libxml2-devel make openssl-devel; 

然后,按照https://github.com/s3fs-fuse/s3fs-fuse上的说明执行以下命令:

代码语言:javascript
复制
git clone https://github.com/s3fs-fuse/s3fs-fuse.git
cd s3fs-fuse
./autogen.sh
./configure

然后我得到了这个:

代码语言:javascript
复制
checking s3fs build with NSS... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for common_lib_checking... configure: error: Package requirements (fuse >= 2.8.4 libcurl >= 7.0 libxml-2.0 >= 2.6) were not met:

Requested 'fuse >= 2.8.4' but version of fuse is 2.8.3

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables common_lib_checking_CFLAGS
and common_lib_checking_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

因此,我认为我需要得到正确的保险丝版本,因为yum fuse-devel不会削减它。因此,我转到https://github.com/libfuse/libfuse,按照那里的说明执行以下操作:

代码语言:javascript
复制
git clone https://github.com/libfuse/libfuse.git;
cd libfuse;
./configure

然后我得到了这个问题:

代码语言:javascript
复制
bash: ./configure: No such file or directory

我已经在互联网上到处跑了,尝试了所有导致m4 directory missing错误的autoconfautoreconf -i的事情。我还尝试将--prefix=/your/chosen/directory添加到./configure --prefix=/your/chosen/directory命令中,这不会给我带来任何结果。一张非常悲伤的脸就没那么走运了。

EN

回答 1

Stack Overflow用户

发布于 2016-06-07 02:44:01

在创建configure的libfuse克隆中运行makeconf.sh

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/37663977

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档