[Gluster-users] OSX

Peter Riel peterriel at me.com
Tue Sep 7 07:18:59 UTC 2010

Hi all, I'm in the process of setting up a gluster network in our VFX studio, replacing the NAS based nfs storage we used before.
I have got gluster up and running fine on the linux boxes, but not had much luck in building the osx flavor of the client software. Pulling down the latest git tree now (a pain to do this on osx as you need to basically install a crapload of software just to build the client app, please consider building dmg archives again... please, please, please? :)) 

Anyway, as mentioned the make process fails, below are a snippet before the fail:

make[5]: Nothing to be done for `all-am'.
Making all in server
Making all in src
if glibtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../..    -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_DARWIN_HOST_OS -I../../../../libglusterfs/src -shared -nostartfiles -DDATADIR=\"/usr/local/var\" -DCONFDIR=\"/usr/local/etc/glusterfs\" -I../../../../argp-standalone -D__DARWIN_64_BIT_INO_T -bundle -undefined suppress -flat_namespace -g -O2 -MT server-protocol.lo -MD -MP -MF ".deps/server-protocol.Tpo" -c -o server-protocol.lo server-protocol.c; \
	then mv -f ".deps/server-protocol.Tpo" ".deps/server-protocol.Plo"; else rm -f ".deps/server-protocol.Tpo"; exit 1; fi
glibtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_DARWIN_HOST_OS -I../../../../libglusterfs/src -nostartfiles -DDATADIR=\"/usr/local/var\" -DCONFDIR=\"/usr/local/etc/glusterfs\" -I../../../../argp-standalone -D__DARWIN_64_BIT_INO_T -bundle -undefined suppress -flat_namespace -g -O2 -MT server-protocol.lo -MD -MP -MF .deps/server-protocol.Tpo -c server-protocol.c  -fno-common -DPIC -o .libs/server-protocol.o
if glibtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../..    -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_DARWIN_HOST_OS -I../../../../libglusterfs/src -shared -nostartfiles -DDATADIR=\"/usr/local/var\" -DCONFDIR=\"/usr/local/etc/glusterfs\" -I../../../../argp-standalone -D__DARWIN_64_BIT_INO_T -bundle -undefined suppress -flat_namespace -g -O2 -MT server-resolve.lo -MD -MP -MF ".deps/server-resolve.Tpo" -c -o server-resolve.lo server-resolve.c; \
	then mv -f ".deps/server-resolve.Tpo" ".deps/server-resolve.Plo"; else rm -f ".deps/server-resolve.Tpo"; exit 1; fi
glibtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_DARWIN_HOST_OS -I../../../../libglusterfs/src -nostartfiles -DDATADIR=\"/usr/local/var\" -DCONFDIR=\"/usr/local/etc/glusterfs\" -I../../../../argp-standalone -D__DARWIN_64_BIT_INO_T -bundle -undefined suppress -flat_namespace -g -O2 -MT server-resolve.lo -MD -MP -MF .deps/server-resolve.Tpo -c server-resolve.c  -fno-common -DPIC -o .libs/server-resolve.o
server-resolve.c: In function 'server_resolve_fd':
server-resolve.c:535: error: 'EBADFD' undeclared (first use in this function)
server-resolve.c:535: error: (Each undeclared identifier is reported only once
server-resolve.c:535: error: for each function it appears in.)
make[5]: *** [server-resolve.lo] 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

After ./configure I'm building:

GlusterFS configure summary
FUSE client        : yes
Infiniband verbs   : no
epoll IO multiplex : no
libglusterfsclient : no
argp-standalone    : yes
fusermount         : no

Anyone able to shed some light on this issue? Perhaps the latest git tree will work better... I'll post again once I know.



More information about the Gluster-users mailing list