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.
だから、私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
私はインターネットのいたるところにいて、エラーにつながるすべてautoconf
を試しました. また、コマンドにを追加して、どこにも行かないようにしました。超悲しい顔で運がない。autoreconf -i
m4 directory missing
--prefix=/your/chosen/directory
./configure --prefix=/your/chosen/directory