Compiling on Solaris 11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux