[Gluster-devel] Building on *BSD

W B Hacker wbh at conducive.org
Mon Nov 10 15:57:40 UTC 2008


Has anyone been able to build glusterfs on either;

- OpenBSD (which AFAIK has neither client nor userland FUSE support)

  or

- NetBSD (which seems to have both - or a reasonable facsimile therof)

I don't need the client on these, but would like to trial as  servers.

My attempts fail here:

==
..
...

Making all in booster
Making all in src
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../..  -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE   -I../../../../libglusterfs/src -DDATADIR=\"/usr/var\"
-DCONFDIR=\"/usr/etc/glusterfs\"   -D_GNU_SOURCE -DGF_BSD_HOST_OS -fPIC
-Wall  -pthread  -g -O2 -MT glusterfs_booster_so-entry.o -MD -MP -MF
".deps/glusterfs_booster_so-entry.Tpo" -c -o glusterfs_booster_so-entry.o
`test -f 'entry.c' || echo './'`entry.c;  then mv -f
".deps/glusterfs_booster_so-entry.Tpo"
".deps/glusterfs_booster_so-entry.Po"; else rm -f
".deps/glusterfs_booster_so-entry.Tpo"; exit 1; fi
entry.c: In function 'do_open':
entry.c:97: warning: implicit declaration of function 'fgetxattr'
entry.c: At top level:
entry.c:406: error: conflicting types for 'lseek'
/usr/include/sys/types.h:251: error: previous declaration of 'lseek' was
here
*** Error code 1

Stop.
make: stopped in
/usr/local/src/glusterfs-1.3.12/xlators/performance/booster/src
*** Error code 1

Stop.
make: stopped in /usr/local/src/glusterfs-1.3.12/xlators/performance/booster
*** Error code 1

Stop.
make: stopped in /usr/local/src/glusterfs-1.3.12/xlators/performance
*** Error code 1

Stop.
make: stopped in /usr/local/src/glusterfs-1.3.12/xlators
*** Error code 1

Stop.
make: stopped in /usr/local/src/glusterfs-1.3.12
*** Error code 1





More information about the Gluster-devel mailing list