使文件不适用于s3fs

时间:2012-06-06 10:21:09

标签: macos makefile s3fs

您好我正在尝试安装s3fs,但我收到以下错误。

*** No targets specified and no makefile found.  Stop.

我遵循安装教程的任何想法 http://code.google.com/p/s3fs/wiki/InstallationNotes

继承我的终端代码我正在使用mac os x lion。

stealth:cd ~/Desktop
stealth:Desktop sam$cd s3fs-1.61
stealth:s3fs-1.61 sam$ ./configure --prefix=/sam
checking build system type... x86_64-apple-darwin11.4.0
checking host system type... x86_64-apple-darwin11.4.0
checking target system type... x86_64-apple-darwin11.4.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
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 pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DEPS... no
configure: error: Package requirements (fuse >= 2.8.4 libcurl >= 7.0 libxml-2.0 >= 2.6 libcrypto >= 0.9) were not met:

No package 'fuse' found

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

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.
stealth:s3fs-1.61 sam$ make
make: *** No targets specified and no makefile found.  Stop.

任何帮助请????

3 个答案:

答案 0 :(得分:0)

脚本输出告诉您该做什么,

安装fuse,libcurl,libxml和libcrypto

我不会使用本手册,而是使用包管理框架,例如: MacPorts的

答案 1 :(得分:0)

我已经面临这样的问题(RHEL 6.4,x86_64)。主要原因是:

configure: error: Package requirements (fuse >= 2.8.4 libcurl >= 7.0 libxml-2.0 >= 2.6 libcrypto >= 0.9) were not met:
No package 'fuse' found

我的解决方案如下:

cd /usr/src/
wget http://downloads.sourceforge.net/project/fuse/fuse-2.X/2.9.3/fuse-2.9.3.tar.gz
tar -xzf ./fuse-2.9.3.tar.gz
cd ./fuse-2.9.3
./configure
make && make install
cd /usr/src/
wget http://s3fs.googlecode.com/files/s3fs-1.71.tar.gz
tar -xzf ./s3fs-1.71.tar.gz
cd ./s3fs-1.71

然后我们尝试配置它:

./configure --prefix=/usr

但如果失败:)那么,我们需要在pkgconfig中添加fuse并导出pfgconfig:

cp /usr/src/fuse-2.9.3/fuse.pc /usr/lib64/pkgconfig
export PKG_CONFIG_PATH=/usr/lib64/pkgconfig

尝试再次成功地使它成功,并制作&& make install:

./configure --prefix=/usr
make && make install

答案 2 :(得分:0)

我在今天早些时候在OS X上遇到了同样的问题 s3fs make 配置无效,因为fuse二进制文件在路径中不可用。要解决问题install fuse,请重新运行./configure。完成后,您将能够运行make来编译源代码。