<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi<div class=""><br class=""></div><div class="">I was able to install it, with limited functionality (I only wanted to use the dis export command on mac). Here in how I installed it</div><div class=""><br class=""></div><div class=""><h4 data-sourcepos="94:1-94:22" dir="auto" style="font-family: -webkit-standard;" class="">Required Packages</h4><p data-sourcepos="95:1-95:148" dir="auto" style="font-family: -webkit-standard;" class=""><code class="">wget fltk fftw uriparser protobuf libxml2 zlib</code>. Be aware where the libraries for <code class="">libxml2</code>and <code class="">zlib</code>are installed (in my case <code class="">/usr/local/opt/</code>)</p><ol data-sourcepos="97:1-133:0" dir="auto" style="font-family: -webkit-standard;" class=""><li data-sourcepos="97:1-105:7" class=""><p data-sourcepos="97:4-97:37" class="">Download and install PdCom library</p><pre class="code highlight monokai js-syntax-highlight shell" lang="shell" v-pre="true"><code class=""><span id="LC1" class="line" lang="shell"><span class="nv">$ </span>wget <a href="http://etherlab.org/download/pdcom/pdcom-3.0.9.tar.bz2" class="">http://etherlab.org/download/pdcom/pdcom-3.0.9.tar.bz2</a> </span>
<span id="LC2" class="line" lang="shell"><span class="nv">$ </span><span class="nb">tar </span>xjf pdcom-3.0.9.tar.bz2</span>
<span id="LC3" class="line" lang="shell"><span class="nv">$ </span><span class="nb">cd </span>pdcom-3.0.9</span>
<span id="LC4" class="line" lang="shell"><span class="nv">$ </span>./configure <span class="nt">--prefix</span><span class="o">=</span>/usr/local/etherlab</span>
<span id="LC5" class="line" lang="shell"><span class="nv">$ </span>make</span>
<span id="LC6" class="line" lang="shell"><span class="nv">$ </span><span class="nb">sudo </span>make <span class="nb">install</span></span></code></pre></li><li data-sourcepos="106:1-113:0" class=""><p data-sourcepos="106:4-106:25" class="">Clone and install DLS</p><pre class="code highlight monokai js-syntax-highlight shell" lang="shell" v-pre="true"><code class=""><span id="LC1" class="line" lang="shell"><span class="nv">$ </span><span class="nb">cd</span> /usr/local/etherlab/src/</span>
<span id="LC2" class="line" lang="shell"><span class="nv">$ </span>hg clone <a href="http://hg.code.sf.net/p/dls/code" class="">http://hg.code.sf.net/p/dls/code</a> dls</span>
<span id="LC3" class="line" lang="shell"><span class="nv">$ </span><span class="nb">cd </span>dls</span>
<span id="LC4" class="line" lang="shell"><span class="nv">$ </span>hg update <span class="nt">--rev</span> 872 <span class="c">#Revision tested</span></span></code></pre></li><li data-sourcepos="114:1-133:0" class=""><p data-sourcepos="114:4-114:38" class="">Compile and install DLS source code</p><ul data-sourcepos="115:5-121:163" class=""><li data-sourcepos="115:5-115:167" class="">Modify the file <code class="">/usr/local/etherlab/src/dls/lib/Zlib.cpp</code>. Replace line 22 from <code class="">#include <zlib.h></code>to <code class="">#include "[path-to-zlib-libraries]/zlib/include/zlib.h"</code></li><li data-sourcepos="116:5-117:126" class="">Modify the file <code class="">/usr/local/etherlab/src/dls/daemon/ProcMother.cpp</code>line 925. Replace <code class="">ret = bind(_listen_fd, rp->ai_addr, rp->ai_addrlen);</code>by <code class="">ret = ::bind(_listen_fd, rp->ai_addr, rp->ai_addrlen);</code></li><li data-sourcepos="118:5-119:120" class="">In <code class="">/usr/local/etherlab/src/dls/daemon/Connection.cpp</code>replace <code class="">*str = strerror_r(errno, ebuf, sizeof(ebuf))</code>by <code class="">*str = (char *)strerror_r(errno, ebuf, sizeof(ebuf))</code>in line 158. In function <code class="">Connection::thread_finished()</code>in line 93 comment out the content of the function and add a <code class="">return 1;</code></li><li data-sourcepos="120:5-120:91" class="">Add <code class="">#include <signal.h></code>to <code class="">/usr/local/etherlab/src/dls/fltkguis/CtlDialogMain.cpp</code></li><li data-sourcepos="121:5-121:163" class="">Replace line 291 in <code class="">/usr/local/etherlab/src/dls/tool/Export.cpp</code>from <code class="">ret = mkdir(dls_export_dir.c_str());</code>to <code class="">ret = mkdir(dls_export_dir.c_str(), 0755);</code></li></ul><pre class="code highlight monokai js-syntax-highlight shell" lang="shell" v-pre="true"><code class=""><span id="LC1" class="line" lang="shell"><span class="nv">$ </span>./bootstrap.sh</span>
<span id="LC2" class="line" lang="shell"><span class="nv">$ </span>./configure <span class="nt">--prefix</span><span class="o">=</span>/usr/local/etherlab <span class="nt">--with-xml-prefix</span><span class="o">=[</span>path-to-libxml-libraries]/libxml2 <span class="nt">--with-zlib-dir</span><span class="o">=[</span>path-to-zlib-libraries]/zlib <span class="nv">CXXFLAGS</span><span class="o">=</span><span class="nt">-std</span><span class="o">=</span>c++11 </span>
<span id="LC3" class="line" lang="shell"><span class="nv">$ </span>make</span>
<span id="LC4" class="line" lang="shell"><span class="nv">$ </span><span class="nb">sudo </span>make <span class="nb">install</span></span></code></pre><p data-sourcepos="128:5-128:140" class="">If the error <code class="">configure.ac:47: warning: macro 'AM_PATH_XML2' not found in library</code>after running <code class="">./bootstrap.sh</code>add the symbolic link</p><pre class="code highlight monokai js-syntax-highlight shell" lang="shell" v-pre="true"><code class=""><span class="nv">$ </span><span class="nb">ln</span> <span class="nt">-s</span> /usr/local/Cellar/libxml2/<version>/share/aclocal/libxml.m4 /usr/local/share/aclocal/</code></pre><p data-sourcepos="132:5-132:130" class="">where <code class=""><version></code>is the correspondent libxml version installed in your system (In my case 2.9.9_2) and repeat commands below.</p></li></ol><div class=""><br class=""></div></div><div class=""><br class=""></div></body></html>