<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">On Nov 20, 2014, at 7:11 AM, Jean Perriault (GM TAF) <<a href="mailto:jpweb.taf@gmail.com">jpweb.taf@gmail.com</a>> wrote:<br><div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello,<div class="">Here is a summary of discussions around NUT builds on Mac OS X 10.10.</div><div class=""><br class=""></div><div class="">Starting from <a href="https://github.com/networkupstools/nut-website/issues/7" class="">https://github.com/networkupstools/nut-website/issues/7</a></div><div class=""><br class=""></div><div class=""><div class="">@JeanPerriault</div><div class=""><div class="">I've found msort on macports (<a href="https://trac.macports.org/browser/trunk/dports/textproc/msort/Portfile" class="">https://trac.macports.org/browser/trunk/dports/textproc/msort/Portfile</a>, <a href="http://billposer.org/Software/Downloads/" class="">http://billposer.org/Software/Downloads/</a></div><div class="">msort.pdf), but I'm not sure where to implement it, should I replace all sort ocurrences I find in code?</div></div></div><div class=""><br class=""></div><div class="">@clepple</div><div class=""><div class="">I think checking for gsort in the configure script would be better (since that is what is used when 'sort' is invoked on Linux), and then sort would get replaced with @GSORT@ or whatever. However, when I mentioned via email that the website doesn't build on OS X, I wasn't thinking that it needed to be solved soon - we can build the website and documentation on Linux systems for now.</div></div><div class=""><br class=""></div><div class="">@aquette</div><div class=""><div class="">considering the context and limited impact, we could simply check for gsort first, and then sort.</div><div class="">--- a/configure.ac</div><div class="">+++ b/configure.ac</div><div class="">@@ -101,6 +101,7 @@ AC_PROG_CXX</div><div class="">AC_PROG_INSTALL</div><div class="">AC_PROG_EGREP</div><div class="">AC_PATH_PROG(AR, ar)</div><div class="">+AC_CHECK_PROGS(SORT, gsort sort)</div><div class="">AC_CHECK_TOOL(RANLIB, ranlib, :)</div><div class="">dnl Postpone call to AC_PROG_LIBTOOL to allow disabling static lib</div><div class="">AC_C_BIGENDIAN</div></div></div></blockquote><br></div><div>Just to clarify, the sort error is only when building nut-website:</div><div><br></div><div><span style="color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif; line-height: 22px; background-color: rgb(255, 255, 255);"><span class="Apple-tab-span" style="white-space:pre"> </span>sort: stray character in field spec: invalid field specification `4.1,4.5rV'</span></div><div><br></div><div>Also, you had mentioned dependencies for building documentation. This affects NUT non-website builds as well, but the list looks something like this:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">      </span>• asciidoc</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>• asciidoc-a2x (if packaged separately)</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>• docbook-xsl (symptom for Debian bug #635347; xsltproc will otherwise try to download DocBook files from the net)</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>• dblatex</div><div><br></div><div>We are trying to reduce the dependencies needed to build the .tar.gz snapshots, so you might want to try one of them:</div><div><br></div><div><a href="http://buildbot.networkupstools.org/snapshots">http://buildbot.networkupstools.org/snapshots</a></div><div><br></div><div>The snapshots include some HTML rendered versions of the documentation. (I think we are missing the PDF files.) They are generated from Git commits to branches in the main GitHub repository. If you have a branch you want to test, let us know and we can push it over.</div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div>-- </div><div>Charles Lepple</div><div>clepple@gmail</div><div><br></div></span><br class="Apple-interchange-newline">

</div>
<br></body></html>