Hide Forgot
MacOSX 10.6.7 with Xcode, Fink, and MacFuse 2.0.3.2-1 , build proceeds almost all the way, but dies in linking step, with the following error: Making all in marker Making all in src glibtool --tag=CC --mode=link gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -fno-strict-aliasing -DGF_DARWIN_HOST_OS -I../../../../libglusterfs/src -I../../../../xlators/lib/src -I../../../../argp-standalone -D__DARWIN_64_BIT_INO_T -bundle -undefined suppress -flat_namespace -D_XOPEN_SOURCE -O0 -shared -nostartfiles -g -O2 -o marker.la -rpath /usr/local/lib/glusterfs/3.2.0/xlator/features -module -avoidversion marker.lo marker-quota.lo marker-quota-helper.lo marker-common.lo ../../../../libglusterfs/src/libglusterfs.la -lpthread gcc ${wl}-undefined ${wl}dynamic_lookup -o .libs/marker.0.0.0.so -bundle .libs/marker.o .libs/marker-quota.o .libs/marker-quota-helper.o .libs/marker-common.o ../../../../libglusterfs/src/.libs/libglusterfs.dylib -lpthread ld: duplicate symbol _k in .libs/marker-quota.o and .libs/marker.o collect2: ld returned 1 exit status While I realize that MacOSX is not a supported system, it's also tantalizingly close to working fully; the compile worked but the link failed.
Not having a mac os x locally here at the moment. But I would love to get the access and have this fixed.
Emailed Amar with login details to a Mac client.
Created attachment 506 patch taken on git head of 'master' branch. apply using 'git apply <PATCH>'.
Also note that, fuse module may not work with Mac, hence use the './configure --disable-fuse-client' before doing the 'make'.
PATCH: http://patches.gluster.com/patch/7427 in master (fixing some build issues in Mac OS X)
with the committed patch, GlusterFS should build fine on 'MacOSX'.
Has been verified as part of build sanity