<div dir="ltr">Here&#39;s the script I modified to point to 3.5.2 that got me further I forgot to mention<br><br><a href="https://forge.gluster.org/glusterfs-core/glusterfs/trees/b53bdce3ea4a73c6dd974f3d3e4d67d94a0b7186/extras/Solaris" target="_blank">https://forge.gluster.org/glusterfs-core/glusterfs/trees/b53bdce3ea4a73c6dd974f3d3e4d67d94a0b7186/extras/Solaris</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 8, 2014 at 7:51 AM, Lalatendu Mohanty <span dir="ltr">&lt;<a href="mailto:lmohanty@redhat.com" target="_blank">lmohanty@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>+gluster-devel<div><div class="h5"><br>
      <br>
      On 10/08/2014 02:31 PM, Benjamin Kingston wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div>
          <div>I&#39;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&#39;m a big fan of gluster on linux, but I&#39;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
          &quot;further&quot;, but it still errors with the following:<br>
          <br>
          echo &quot;  CC    &quot; 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=\&quot;/opt/glusterfs/lib/glusterfs/3.5.2/xlator\&quot; 
          -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=\&quot;/opt/glusterfs/var\&quot; -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 &#39;common-utils.c&#39; ||
          echo &#39;./&#39;`common-utils.c<br>
          make: Fatal error: Command failed for target
          `libglusterfs_la-common-utils.lo&#39;<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 &quot;  CC    &quot; 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=\&quot;/opt/glusterfs/lib/glusterfs/3.5.2/xlator\&quot; 
        -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=\&quot;/opt/glusterfs/var\&quot; -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 &#39;common-utils.c&#39; ||
        echo &#39;./&#39;`common-utils.c<br>
        make: Fatal error: Command failed for target
        `libglusterfs_la-common-utils.lo&#39;<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&#39;<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=&#39;exit 1&#39;; \<br>
        for f in x $MAKEFLAGS; do \<br>
          case $f in \<br>
            *=* | --[!k]*);; \<br>
            *k*) failcom=&#39;fail=yes&#39;;; \<br>
          esac; \<br>
        done; \<br>
        dot_seen=no; \<br>
        target=`echo install-recursive | sed s/-recursive//`; \<br>
        list=&#39;src&#39;; for subdir in $list; do \<br>
          echo &quot;Making $target in $subdir&quot;; \<br>
          if test &quot;$subdir&quot; = &quot;.&quot;; then \<br>
            dot_seen=yes; \<br>
            local_target=&quot;$target-am&quot;; \<br>
          else \<br>
            local_target=&quot;$target&quot;; \<br>
          fi; \<br>
          (CDPATH=&quot;${ZSH_VERSION+.}:&quot; &amp;&amp; cd $subdir &amp;&amp;
        make  $local_target) \<br>
          || eval $failcom; \<br>
        done; \<br>
        if test &quot;$dot_seen&quot; = &quot;no&quot;; then \<br>
          make  &quot;$target-am&quot; || exit 1; \<br>
        fi; test -z &quot;$fail&quot;<br>
        make: Fatal error: Command failed for target `install-recursive&#39;<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=&#39;exit 1&#39;; \<br>
        for f in x $MAKEFLAGS; do \<br>
          case $f in \<br>
            *=* | --[!k]*);; \<br>
            *k*) failcom=&#39;fail=yes&#39;;; \<br>
          esac; \<br>
        done; \<br>
        dot_seen=no; \<br>
        target=`echo install-recursive | sed s/-recursive//`; \<br>
        list=&#39;argp-standalone libglusterfs rpc api xlators glusterfsd 
        contrib/fuse-util doc extras cli heal&#39;; for subdir in $list; do
        \<br>
          echo &quot;Making $target in $subdir&quot;; \<br>
          if test &quot;$subdir&quot; = &quot;.&quot;; then \<br>
            dot_seen=yes; \<br>
            local_target=&quot;$target-am&quot;; \<br>
          else \<br>
            local_target=&quot;$target&quot;; \<br>
          fi; \<br>
          (CDPATH=&quot;${ZSH_VERSION+.}:&quot; &amp;&amp; cd $subdir &amp;&amp;
        make  $local_target) \<br>
          || eval $failcom; \<br>
        done; \<br>
        if test &quot;$dot_seen&quot; = &quot;no&quot;; then \<br>
          make  &quot;$target-am&quot; || exit 1; \<br>
        fi; test -z &quot;$fail&quot;<br>
        make: Fatal error: Command failed for target `install-recursive&#39;<br clear="all">
        <div>
          <div>
            <div>
              <div>
                <div><br>
                  -ben<br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
Gluster-users mailing list
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></div>