im trying to compile GlusterFS (or at least the Client part for now) on my Mac OS X Lion
machine to build a working Homebrew (http://mxcl.github.com/homebrew/) formular ...
since MacFuse is no longer maintained and not available within brew im using his successor
fuse4x (http://fuse4x.org/).
./configure seems to work OK, I get this:
GlusterFS configure summary
===========================
FUSE client : yes
Infiniband verbs : no
epoll IO multiplex : no
argp-standalone : yes
fusermount : no
readline : yes
georeplication : no
But when I try to build it I get this strage error:
glibtool: link: gcc -Wl,-undefined -Wl,dynamic_lookup -o .libs/marker.0.so -bundle .libs/marker.o .libs/marker-quota.o .libs/marker-quota-helper.o .libs/marker-common.o ../../../../libglusterfs/src/.libs/libglusterfs.0.0.0.dylib -lfl -lpthread -march=core2 -msse4.1
ld: duplicate symbol _k in .libs/marker-quota.o and .libs/marker.o for architecture x86_64
collect2: ld returned 1 exit status
make[5]: *** [marker.la] 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
My wild guess is I'm using either a wrong compiler (llvm?) or some wrong library version ...
The complete output of ./configure & make can be found here (https://gist.github.com/1386044)
It would be nice if someone can have a look on that, course having a brew formular would make
installing glusterfs on Mac as easy as:
brew install glusterfs
- Markus