[Gluster-devel] failure to compile on OSX
Rodney McDuff
mcduff at its.uq.edu.au
Fri Feb 29 05:45:09 UTC 2008
Amar S. Tumballi wrote:
> Sorry for being bit lazy on documentation part. We are still under testing
> part with regard to MAC OS X.
>
> http://www.gluster.org/docs/index.php/GlusterFS_on_MAC_OS_X
Thanks Amar. These instructions worked for me. Both client and server
seem to be working fine.
However the diskusage seems a bit strange
> bash-3.2# df -k /mnt/glusterfs
> Filesystem 1024-blocks Used Available Capacity Mounted on
> glusterfs 74112 0 347136 0% /mnt/glusterfs
>
> bash-3.2# du -sk /tmp/export
> 85500 /tmp/export
/tmp/export is where the server is exporting.
>
> Also use '-d disable' while mounting glusterfs, because O_APPEND is not
> handled in MacFUSE.
>
> Regards,
> Amar
>
> On Thu, Feb 28, 2008 at 8:54 PM, Rodney McDuff <mcduff at its.uq.edu.au> wrote:
>
>> Amar S. Tumballi wrote:
>>> Hi Luke,
>>> can you try to configure like below?
>>>
>>> CFLAGS='-D__FreeBSD__=10 -D__DARWIN_64_BIT_INO_T' ./configure
>>
>> Yep. That what worked for me on my 10.5 iMac. Except while the server
>> seems to work the client just gives me.
>>
>>> ls -al /mnt
>>>> ls: glusterfs: Input/output error
>>
>>
>>
>>
>>
>> What gluster and OS versions do you have?
>>
>>> Regards,
>>> Amar
>>>
>>> On Thu, Feb 28, 2008 at 8:38 PM, Luke Schierer <
>>> luke-gluster at acceleratedservers.com> wrote:
>>>
>>>> Hi,
>>>> The wiki suggests that glusterfs should compile on OSX. When I attempt
>>>> to do so, I get the following error:
>>>>
>>>> gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall
>>>> -I../../../../libglusterfs/src -shared -nostartfiles -bundle -undefined
>>>> suppress -flat_namespace -D__FreeBSD__=10 -o unify.so unify.o
>>>> unify-self-heal.o -lpthread
>>>> ld: can't insert lazy pointers, __dyld section not found
>>>> collect2: ld returned 1 exit status
>>>> make[5]: *** [unify.so] Error 1
>>>> make[4]: *** [all-recursive] Error 1
>>>> make[3]: *** [all-recursive] Error 1
>>>> make[2]: *** [all-recursive] Error 1
>>>> make[1]: *** [all-recursive] Error 1
>>>> make: *** [all] Error 2
>>>>
>>>> This is with a checkout from arch just today, I am not really sure how
>>>> to use arch, so I am unsure how to get a revision number. the last
>>>> couple lines of the checkout were:
>>>>
>>>> * patching for revision:
>>>> * gluster at sv.gnu.org/glusterfs--mainline--2.5--patch-689
>>>> * making pristine copy
>>>> * tree version set gluster at sv.gnu.org/glusterfs--mainline--2.5
>>>>
>>>>
>>>> I hope this helps.
>>>>
>>>> Thanks!!
>>>>
>>>> Luke Schierer
>>>> Accelerated Servers.
>>>>
>>>>
>>>> _______________________________________________
>>>> Gluster-devel mailing list
>>>> Gluster-devel at nongnu.org
>>>> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>>>>
>>>
>>>
>>
>> --
>> Dr. Rodney G. McDuff |Ex ignorantia ad sapientiam
>> Manager, Strategic Technologies Group| Ex luce ad tenebras
>> Information Technology Services |
>> The University of Queensland |
>> EMAIL: mcduff at its.uq.edu.au |
>> TELEPHONE: +61 7 3365 8220 |
>>
>>
>>
>
>
--
Dr. Rodney G. McDuff |Ex ignorantia ad sapientiam
Manager, Strategic Technologies Group| Ex luce ad tenebras
Information Technology Services |
The University of Queensland |
EMAIL: mcduff at its.uq.edu.au |
TELEPHONE: +61 7 3365 8220 |
More information about the Gluster-devel
mailing list