[Gluster-devel] Building gluster on OS X and fuse mount
Dennis Schafroth
dennis at schafroth.dk
Mon Mar 31 11:04:15 UTC 2014
One question: Do you tried the gluster client? I haven’t gotten around debugging/tracing this.
cheers,
:-Dennis
On 31 Mar 2014, at 09:18 , Harshavardhana <harsha at harshavardhana.net> wrote:
> Hi Dennis,
>
> https://forge.gluster.org/~schafdog/glusterfs-core/osx-glusterfs - i
> have pushed all of my changes, so please pull and rebase locally.
>
> Good news is i am able to start GlusterNFS, Gluster volume pure
> distributed and started using multiple partitions. Since even the
> client is working from your testing. I guess we have a good deal of
> work finished.
>
> Also there wouldn't be a need to use 'gcc' from ports you can perhaps
> stop using './darwin_configure.sh' - fusermount and qemu are disabled
> for OSX automatically through 'configure.ac' .
>
> NOTE: For the "warnings" on clang, are related to strict C99 checks
> since gluster is solely developed on GNU platforms it kind of ends up
> using GNU extensions. We will get to this subsequently.
>
>
> On Sat, Mar 29, 2014 at 3:19 PM, Dennis Schafroth <dennis at schafroth.dk> wrote:
>>
>> Fixed the issue with with "allow_other". There was an misalignment with the gf_fuse_mount parameters, so fuse mount parameters wasn't used.
>>
>> cheers,
>> :-Dennis
>>
>> On 29 Mar 2014, at 15:33 , Dennis Schafroth <dennis at schafroth.dk> wrote:
>>
>>>
>>> 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
>>> _______________________________________________
>>> Gluster-devel mailing list
>>> Gluster-devel at nongnu.org
>>> https://lists.nongnu.org/mailman/listinfo/gluster-devel
>>
>>
>> _______________________________________________
>> Gluster-devel mailing list
>> Gluster-devel at nongnu.org
>> https://lists.nongnu.org/mailman/listinfo/gluster-devel
>
>
>
> --
> Religious confuse piety with mere ritual, the virtuous confuse
> regulation with outcomes
More information about the Gluster-devel
mailing list