I'm trying to get gluster 3.5.2, or really any version at this point, to compile on Solaris so I can take advantage of ZFS and encryption. This would be a killer app for me, as I'm a big fan of gluster on linux, but I'm running into a number of road blocks with compiling. any pointers or success stories will be greatly appreciated. At first I ran into gmake failing with all-recursive errors, then I repointed this old script to 3.5.2 and got a lot "further", but it still errors with the following: echo " CC " libglusterfs_la-common-utils.lo;/bin/sh ../../libtool --silent --tag=CC --quiet --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_SOLARIS_HOST_OS -I../../libglusterfs/src -I../../contrib/uuid -D__USE_FILE_OFFSET64 -DXLATORDIR=\"/opt/glusterfs/lib/glusterfs/3.5.2/xlator\" -I../../rpc/rpc-lib/src/ -I../../contrib/rbtree -I/usr/include/python2.6 -I/usr/include/python2.6 -DNDEBUG -Wall -I../../argp-standalone -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O0 -m64 -DDATADIR=\"/opt/glusterfs/var\" -g -O2 -Wformat -Werror=format-security -Werror=implicit-function-declaration -I/usr/include/python2.6 -I/usr/include/python2.6 -DNDEBUG -MT libglusterfs_la-common-utils.lo -MD -MP -MF .deps/libglusterfs_la-common-utils.Tpo -c -o libglusterfs_la-common-utils.lo `test -f 'common-utils.c' || echo './'`common-utils.c make: Fatal error: Command failed for target `libglusterfs_la-common-utils.lo' Current working directory /root/glus/glusterfs-core-glusterfs/extras/Solaris/source/libglusterfs/src and later on *** Error code 1 The following command caused the error: echo " CC " libglusterfs_la-common-utils.lo;/bin/sh ../../libtool --silent --tag=CC --quiet --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_SOLARIS_HOST_OS -I../../libglusterfs/src -I../../contrib/uuid -D__USE_FILE_OFFSET64 -DXLATORDIR=\"/opt/glusterfs/lib/glusterfs/3.5.2/xlator\" -I../../rpc/rpc-lib/src/ -I../../contrib/rbtree -I/usr/include/python2.6 -I/usr/include/python2.6 -DNDEBUG -Wall -I../../argp-standalone -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O0 -m64 -DDATADIR=\"/opt/glusterfs/var\" -g -O2 -Wformat -Werror=format-security -Werror=implicit-function-declaration -I/usr/include/python2.6 -I/usr/include/python2.6 -DNDEBUG -MT libglusterfs_la-common-utils.lo -MD -MP -MF .deps/libglusterfs_la-common-utils.Tpo -c -o libglusterfs_la-common-utils.lo `test -f 'common-utils.c' || echo './'`common-utils.c make: Fatal error: Command failed for target `libglusterfs_la-common-utils.lo' Current working directory /root/glus/glusterfs-core-glusterfs/extras/Solaris/source/libglusterfs/src *** Error code 1 make: Fatal error: Command failed for target `install' Current working directory /root/glus/glusterfs-core-glusterfs/extras/Solaris/source/libglusterfs/src *** Error code 1 The following command caused the error: fail= failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo install-recursive | sed s/-recursive//`; \ list='src'; for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target `install-recursive' Current working directory /root/glus/glusterfs-core-glusterfs/extras/Solaris/source/libglusterfs *** Error code 1 The following command caused the error: fail= failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo install-recursive | sed s/-recursive//`; \ list='argp-standalone libglusterfs rpc api xlators glusterfsd contrib/fuse-util doc extras cli heal'; for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target `install-recursive' -ben -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20141008/bcd361ef/attachment.html>
+gluster-devel On 10/08/2014 02:31 PM, Benjamin Kingston wrote:> I'm trying to get gluster 3.5.2, or really any version at this point, > to compile on Solaris so I can take advantage of ZFS and encryption. > This would be a killer app for me, as I'm a big fan of gluster on > linux, but I'm running into a number of road blocks with compiling. > > any pointers or success stories will be greatly appreciated. > > At first I ran into gmake failing with all-recursive errors, then I > repointed this old script to 3.5.2 and got a lot "further", but it > still errors with the following: > > echo " CC " libglusterfs_la-common-utils.lo;/bin/sh ../../libtool > --silent --tag=CC --quiet --mode=compile gcc -DHAVE_CONFIG_H -I. > -I../.. -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_SOLARIS_HOST_OS > -I../../libglusterfs/src -I../../contrib/uuid -D__USE_FILE_OFFSET64 > -DXLATORDIR=\"/opt/glusterfs/lib/glusterfs/3.5.2/xlator\" > -I../../rpc/rpc-lib/src/ -I../../contrib/rbtree > -I/usr/include/python2.6 -I/usr/include/python2.6 -DNDEBUG -Wall > -I../../argp-standalone -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O0 > -m64 -DDATADIR=\"/opt/glusterfs/var\" -g -O2 -Wformat > -Werror=format-security -Werror=implicit-function-declaration > -I/usr/include/python2.6 -I/usr/include/python2.6 -DNDEBUG -MT > libglusterfs_la-common-utils.lo -MD -MP -MF > .deps/libglusterfs_la-common-utils.Tpo -c -o > libglusterfs_la-common-utils.lo `test -f 'common-utils.c' || echo > './'`common-utils.c > make: Fatal error: Command failed for target > `libglusterfs_la-common-utils.lo' > Current working directory > /root/glus/glusterfs-core-glusterfs/extras/Solaris/source/libglusterfs/src > > and later on > > *** Error code 1 > The following command caused the error: > echo " CC " libglusterfs_la-common-utils.lo;/bin/sh ../../libtool > --silent --tag=CC --quiet --mode=compile gcc -DHAVE_CONFIG_H -I. > -I../.. -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_SOLARIS_HOST_OS > -I../../libglusterfs/src -I../../contrib/uuid -D__USE_FILE_OFFSET64 > -DXLATORDIR=\"/opt/glusterfs/lib/glusterfs/3.5.2/xlator\" > -I../../rpc/rpc-lib/src/ -I../../contrib/rbtree > -I/usr/include/python2.6 -I/usr/include/python2.6 -DNDEBUG -Wall > -I../../argp-standalone -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O0 > -m64 -DDATADIR=\"/opt/glusterfs/var\" -g -O2 -Wformat > -Werror=format-security -Werror=implicit-function-declaration > -I/usr/include/python2.6 -I/usr/include/python2.6 -DNDEBUG -MT > libglusterfs_la-common-utils.lo -MD -MP -MF > .deps/libglusterfs_la-common-utils.Tpo -c -o > libglusterfs_la-common-utils.lo `test -f 'common-utils.c' || echo > './'`common-utils.c > make: Fatal error: Command failed for target > `libglusterfs_la-common-utils.lo' > Current working directory > /root/glus/glusterfs-core-glusterfs/extras/Solaris/source/libglusterfs/src > *** Error code 1 > make: Fatal error: Command failed for target `install' > Current working directory > /root/glus/glusterfs-core-glusterfs/extras/Solaris/source/libglusterfs/src > *** Error code 1 > The following command caused the error: > fail= failcom='exit 1'; \ > for f in x $MAKEFLAGS; do \ > case $f in \ > *=* | --[!k]*);; \ > *k*) failcom='fail=yes';; \ > esac; \ > done; \ > dot_seen=no; \ > target=`echo install-recursive | sed s/-recursive//`; \ > list='src'; for subdir in $list; do \ > echo "Making $target in $subdir"; \ > if test "$subdir" = "."; then \ > dot_seen=yes; \ > local_target="$target-am"; \ > else \ > local_target="$target"; \ > fi; \ > (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make $local_target) \ > || eval $failcom; \ > done; \ > if test "$dot_seen" = "no"; then \ > make "$target-am" || exit 1; \ > fi; test -z "$fail" > make: Fatal error: Command failed for target `install-recursive' > Current working directory > /root/glus/glusterfs-core-glusterfs/extras/Solaris/source/libglusterfs > *** Error code 1 > The following command caused the error: > fail= failcom='exit 1'; \ > for f in x $MAKEFLAGS; do \ > case $f in \ > *=* | --[!k]*);; \ > *k*) failcom='fail=yes';; \ > esac; \ > done; \ > dot_seen=no; \ > target=`echo install-recursive | sed s/-recursive//`; \ > list='argp-standalone libglusterfs rpc api xlators glusterfsd > contrib/fuse-util doc extras cli heal'; for subdir in $list; do \ > echo "Making $target in $subdir"; \ > if test "$subdir" = "."; then \ > dot_seen=yes; \ > local_target="$target-am"; \ > else \ > local_target="$target"; \ > fi; \ > (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make $local_target) \ > || eval $failcom; \ > done; \ > if test "$dot_seen" = "no"; then \ > make "$target-am" || exit 1; \ > fi; test -z "$fail" > make: Fatal error: Command failed for target `install-recursive' > > -ben > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20141008/43a26196/attachment.html>
----- Original Message -----> I'm trying to get gluster 3.5.2, or really any version at this point, to > compile on Solaris so I can take advantage of ZFS and encryption. This > would be a killer app for me, as I'm a big fan of gluster on linux, but I'm > running into a number of road blocks with compiling. > > any pointers or success stories will be greatly appreciated.As a thought, have you tried compiling 3.6.0 <latest beta>, or our upstream master branch? Asking because there's been a bunch of cross-platform portability work happening over the last few months, which _might_ have made things easier for Solaris too (unsure). Worth a shot, just in case. :) Regards and best wishes, Justin Clift -- GlusterFS - http://www.gluster.org An open source, distributed file system scaling to several petabytes, and handling thousands of clients. My personal twitter: twitter.com/realjustinclift