[Gluster-devel] Building gluster on OS X and fuse mount

Dennis Schafroth dennis at schafroth.dk
Sat Mar 29 14:33:16 UTC 2014


I am cleaning up the build process and it should now be possible to build using the following procedure: 

You will needs Xcode and command line tools. See instruction on Macports

Install OSXFUSE  

Install macports to get other development tools: http://www.macports.org/install.php 

Install dependencies using macports:

sudo port install autoconf automake libtool gcc47 gettext readline libxml2 glib2 openssl

git clone git at forge.gluster.org:~schafdog/glusterfs-core/osx-glusterfs.git
cd osx-glusterfs/

./autogen.sh 
./darwin_configure 
make 
sudo make install 

Be sure to autogen.sh if you install a missing macports later. 

Now I can mount a linux cluster using

sudo /usr/local/sbin/glusterfs -L TRACE --volfile=test-fuse.vol /export/ds/

And as root using

export PATH=/usr/local/sbin:$PATH 
mount -t glusterfs bolt:/test /export/ds

However the mount is only readable for root. Parsing -o allow_other does not seem to have any effect. 

If anyone have time to review this build process, and report back that would be great. 

I will look into merging with the contributions from Hasha. 

cheers, 
:-Dennis 



More information about the Gluster-devel mailing list