How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

April 20, 2012

s3fs and centos 6.2

Filed under: Linux — Tags: , , — admin @ 2:35 pm

Well today I was trying to install s3fs on a centos 6.2 server . So first of all I try this
yum install gcc libstdc++-devel gcc-c++ curl-devel libxml2-devel openssl-devel mailcap fuse fuse-devel
wget http://s3fs.googlecode.com/files/s3fs-1.61.tar.gz
tar xvzf s3fs-1.61.tar.gz
cd s3fs-1.61/
./configure --prefix=/usr
make
make install

However the configure wasn’t working because of fuse version. I have installed 2.8.3 and I need 2.8.4

So the solution was to recompile the fuse also
yum remove fuse fuse* fuse-devel
yum install gcc libstdc++-devel gcc-c++ curl curl* curl-devel libxml2 libxml2* libxml2-devel openssl-devel mailcap
cd /usr/local/src
wget "https://downloads.sourceforge.net/project/fuse/fuse-2.X/2.8.4/fuse-2.8.4.tar.gz?r=&ts=1299709935&use_mirror=cdnetworks-us-1"
tar -xzvf fuse-2.8.4.tar.gz
rm fuse-2.8.4.tar.gz
mv fuse-2.8.4 fuse
cd fuse/
./configure --prefix=/usr
make
make install
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib64/pkgconfig/
ldconfig
modprobe fuse
pkg-config --modversion fuse (confirm that 2.8.4 is the version displayed)
cd ../
cd s3fs-1.61/
./configure --prefix=/usr
make
make install

7 Comments »

  1. Was there a specific reason why you did not install the latest version of fuse 2.9.0 ?

    Comment by Dave — May 17, 2012 @ 6:06 pm

  2. Hello
    Well, I think the program require something > then 2.8.3 and I chose one . But I think it should work with 2.9.0 also.
    If I will have time and same situation again I will post a update on this with 2.9.0.

    Regards

    Comment by admin — May 17, 2012 @ 6:36 pm

  3. GREAT post!

    Saved my life (Well maybe not life but a boatload of time anyway.

    Thanks a bunch

    Comment by Frank — October 18, 2012 @ 5:23 pm

  4. I just compiled it with fuse 2.9.2 – no problems

    Comment by Philipp — November 2, 2012 @ 3:22 pm

  5. Great to hear that !

    Comment by admin — November 2, 2012 @ 6:03 pm

  6. Hello, thank you for your post. Very helpful; but I have problem that occurs with the modprobe fuse step.

    FATAL: Module fuse not found.

    This is on On Centos v2.6.32-042stab059.7

    Your help is greatly appreciated.

    Cheers
    -Dave

    Comment by Karuna Dave — November 3, 2012 @ 1:42 am

  7. Hello
    This seam’s like you don’t have the fuse module compiled. I think you should try to see if you have that module after installer. Perhaps on your make you have a error and you didn’t do well.

    Regards

    Comment by admin — November 8, 2012 @ 1:16 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress