gpt4 book ai didi

docker - 无法安装 s3fs-fuse(yum fuse-devel 版本问题)并且无法安装 libfuse(./config 缺失问题)

转载 作者:行者123 更新时间:2023-12-04 19:44:22 26 4
gpt4 key购买 nike

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

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 的说明进行操作我执行以下命令:
git clone https://github.com/s3fs-fuse/s3fs-fuse.git
cd s3fs-fuse
./autogen.sh
./configure

然后我得到这个:
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.

所以,我想我需要得到正确的 fuse 版本 yum fuse-devel没有削减它。所以我去 https://github.com/libfuse/libfuse并按照那里的说明执行以下操作:
git clone https://github.com/libfuse/libfuse.git;
cd libfuse;
./configure

然后我得到这个问题:
bash: ./configure: No such file or directory

我一直在互联网上并尝试了整个 autoconfautoreconf -i导致 m4 directory missing 的事情错误。我也尝试添加 --prefix=/your/chosen/directory./configure --prefix=/your/chosen/directory令我无处可去的命令。一张 super 悲伤的脸没有运气。

最佳答案

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

关于docker - 无法安装 s3fs-fuse(yum fuse-devel 版本问题)并且无法安装 libfuse(./config 缺失问题),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37663977/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com