2012-06-06 38 views
0

嗨,我想安裝s3fs,但我得到以下錯誤。使文件不工作s3fs

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

任何想法,我下面的安裝教程 http://code.google.com/p/s3fs/wiki/InstallationNotes

我使用的Mac OS X獅子繼承人我的終端代碼。

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. 

請幫忙嗎?

回答

0

腳本輸出告訴你該怎麼做,

安裝保險絲,的libcurl,libxml的和libcrypto

而不是做本手冊,我會做到這一點與例如像包管理框架MacPorts

0

我jsut面臨這樣的問題(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中添加保險絲並導出pfgconfig:

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

嘗試成功再confugure它,不要讓& &使安裝:

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

我跑進今天早些時候在OS X上安裝s3fs同樣的問題。 使配置不起作用,因爲fuse二進制文件在路徑中不可用。要解決問題install fuse,然後重新運行./configure。完成後,您將可以運行make來編譯源代碼。