<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">+gluster-devel<br>
      <br>
      On 10/08/2014 02:31 PM, Benjamin Kingston wrote:<br>
    </div>
    <blockquote
cite="mid:CAHA1JWLzhbnv56xapasayg98c5965jwBr+Q=ooCVCch_esf4-A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>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.<br>
            <br>
          </div>
          <div>any pointers or success stories will be greatly
            appreciated.<br>
          </div>
          <div><br>
          </div>
          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:<br>
          <br>
          echo "&nbsp; CC&nbsp;&nbsp;&nbsp; " libglusterfs_la-common-utils.lo;/bin/sh
          ../../libtool --silent --tag=CC --quiet&nbsp; --mode=compile gcc
          -DHAVE_CONFIG_H -I. -I../..&nbsp; -D_FILE_OFFSET_BITS=64
          -D_GNU_SOURCE -DGF_SOLARIS_HOST_OS -I../../libglusterfs/src
          -I../../contrib/uuid -D__USE_FILE_OFFSET64&nbsp;
          -DXLATORDIR=\"/opt/glusterfs/lib/glusterfs/3.5.2/xlator\"&nbsp;
          -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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          -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<br>
          make: Fatal error: Command failed for target
          `libglusterfs_la-common-utils.lo'<br>
          Current working directory
/root/glus/glusterfs-core-glusterfs/extras/Solaris/source/libglusterfs/src<br>
          <br>
        </div>
        and later on<br>
        <br>
        *** Error code 1<br>
        The following command caused the error:<br>
        echo "&nbsp; CC&nbsp;&nbsp;&nbsp; " libglusterfs_la-common-utils.lo;/bin/sh
        ../../libtool --silent --tag=CC --quiet&nbsp; --mode=compile gcc
        -DHAVE_CONFIG_H -I. -I../..&nbsp; -D_FILE_OFFSET_BITS=64
        -D_GNU_SOURCE -DGF_SOLARIS_HOST_OS -I../../libglusterfs/src
        -I../../contrib/uuid -D__USE_FILE_OFFSET64&nbsp;
        -DXLATORDIR=\"/opt/glusterfs/lib/glusterfs/3.5.2/xlator\"&nbsp;
        -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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -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<br>
        make: Fatal error: Command failed for target
        `libglusterfs_la-common-utils.lo'<br>
        Current working directory
/root/glus/glusterfs-core-glusterfs/extras/Solaris/source/libglusterfs/src<br>
        *** Error code 1<br>
        make: Fatal error: Command failed for target `install'<br>
        Current working directory
/root/glus/glusterfs-core-glusterfs/extras/Solaris/source/libglusterfs/src<br>
        *** Error code 1<br>
        The following command caused the error:<br>
        fail= failcom='exit 1'; \<br>
        for f in x $MAKEFLAGS; do \<br>
        &nbsp; case $f in \<br>
        &nbsp;&nbsp;&nbsp; *=* | --[!k]*);; \<br>
        &nbsp;&nbsp;&nbsp; *k*) failcom='fail=yes';; \<br>
        &nbsp; esac; \<br>
        done; \<br>
        dot_seen=no; \<br>
        target=`echo install-recursive | sed s/-recursive//`; \<br>
        list='src'; for subdir in $list; do \<br>
        &nbsp; echo "Making $target in $subdir"; \<br>
        &nbsp; if test "$subdir" = "."; then \<br>
        &nbsp;&nbsp;&nbsp; dot_seen=yes; \<br>
        &nbsp;&nbsp;&nbsp; local_target="$target-am"; \<br>
        &nbsp; else \<br>
        &nbsp;&nbsp;&nbsp; local_target="$target"; \<br>
        &nbsp; fi; \<br>
        &nbsp; (CDPATH="${ZSH_VERSION+.}:" &amp;&amp; cd $subdir &amp;&amp;
        make&nbsp; $local_target) \<br>
        &nbsp; || eval $failcom; \<br>
        done; \<br>
        if test "$dot_seen" = "no"; then \<br>
        &nbsp; make&nbsp; "$target-am" || exit 1; \<br>
        fi; test -z "$fail"<br>
        make: Fatal error: Command failed for target `install-recursive'<br>
        Current working directory
        /root/glus/glusterfs-core-glusterfs/extras/Solaris/source/libglusterfs<br>
        *** Error code 1<br>
        The following command caused the error:<br>
        fail= failcom='exit 1'; \<br>
        for f in x $MAKEFLAGS; do \<br>
        &nbsp; case $f in \<br>
        &nbsp;&nbsp;&nbsp; *=* | --[!k]*);; \<br>
        &nbsp;&nbsp;&nbsp; *k*) failcom='fail=yes';; \<br>
        &nbsp; esac; \<br>
        done; \<br>
        dot_seen=no; \<br>
        target=`echo install-recursive | sed s/-recursive//`; \<br>
        list='argp-standalone libglusterfs rpc api xlators glusterfsd&nbsp;
        contrib/fuse-util doc extras cli heal'; for subdir in $list; do
        \<br>
        &nbsp; echo "Making $target in $subdir"; \<br>
        &nbsp; if test "$subdir" = "."; then \<br>
        &nbsp;&nbsp;&nbsp; dot_seen=yes; \<br>
        &nbsp;&nbsp;&nbsp; local_target="$target-am"; \<br>
        &nbsp; else \<br>
        &nbsp;&nbsp;&nbsp; local_target="$target"; \<br>
        &nbsp; fi; \<br>
        &nbsp; (CDPATH="${ZSH_VERSION+.}:" &amp;&amp; cd $subdir &amp;&amp;
        make&nbsp; $local_target) \<br>
        &nbsp; || eval $failcom; \<br>
        done; \<br>
        if test "$dot_seen" = "no"; then \<br>
        &nbsp; make&nbsp; "$target-am" || exit 1; \<br>
        fi; test -z "$fail"<br>
        make: Fatal error: Command failed for target `install-recursive'<br
          clear="all">
        <div>
          <div>
            <div>
              <div>
                <div><br>
                  -ben<br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>