0

こんにちは、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.

何か助けてください???

4

3 に答える 3

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 にヒューズを追加し、pfgconfig をエクスポートする必要があります。

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

もう一度構成を試みて成功し、make && make install を実行します。

./configure --prefix=/usr
make && make install
于 2013-08-07T21:32:10.403 に答える
0

スクリプトの出力は何をすべきかを教えてくれます。

ヒューズ、libcurl、libxml、libcrypto をインストールします。

このマニュアルを作成する代わりに、MacPorts などのパッケージ管理フレームワークを使用してこれを作成します。

于 2012-06-07T10:15:43.603 に答える
0

今日、OS X にs3fsをインストールするときに同じ問題に遭遇しました。バイナリがパスで利用できないため、make構成が機能していません。fuse問題を修正するには、ヒューズをインストールしてから再実行し./configureます。完了すると、実行makeしてソース コードをコンパイルできるようになります。

于 2015-08-29T00:50:24.177 に答える