<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;" class=""><div class=""><div class="">> which sort</div><div class="">/usr/bin/sort</div><div class=""><br class=""></div><div class="">> sort --version</div><div class="">sort (GNU coreutils) 5.93</div></div><br class=""><div><blockquote type="cite" class=""><div class="">Le 23 nov. 2014 à 21:59, Jean Perriault (GM TAF) <<a href="mailto:jpweb.taf@gmail.com" class="">jpweb.taf@gmail.com</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=windows-1252" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Sorry I ran ‘make' command in nut-website/nut... (I still can’t understand why creating man page is so long, it is much more faster on ubuntu.)</div><div class="">When running ‘make’ in nut-website, same issue then described previously, even with Arno patch</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class="">sort: stray character in field spec: invalid field specification `4.1,4.5rV</div><div class=""><br class=""></div><div class="">>>>>>> and it ends with:</div><div class=""><br class=""></div><div class=""><div class="">/opt/local/bin/asciidoc --backend=xhtml11 --conf-file=./web-layout.conf --attribute icons --attribute linkcss --attribute=badges --attribute=website --attribute=quirks --attribute=revision=2.7.2 --attribute tree_version=2.7 --attribute localdate=`TZ=UTC date +%Y-%m-%d` --attribute localtime=`TZ=UTC date +%H:%M:%S` --attribute=date="`TZ=UTC date`" --attribute iconsdir=./images --attribute scriptsdir=./scripts -o projects.html -a toc projects.txt</div><div class="">make: *** No rule to make target `-eindex.html', needed by `ups-html.txt'.  Stop.</div></div></div></blockquote></div><div class=""><br class=""></div><div class="">regards, jean</div><br class=""><div class=""><blockquote type="cite" class=""><div class="">Le 23 nov. 2014 à 21:19, Jean Perriault (GM TAF) <<a href="mailto:jpweb.taf@gmail.com" class="">jpweb.taf@gmail.com</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=windows-1252" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">After a fresh ‘nut' (version 2.7.2.5) clone on Yosemite,</div><div class=""><br class=""></div><div class=""><div class="">Configuration summary:</div><div class="">======================</div><div class="">build serial drivers: yes </div><div class="">build USB drivers: yes </div><div class="">build SNMP drivers: yes </div><div class="">build neon based XML driver: yes </div><div class="">enable Avahi support: no </div><div class="">build Powerman PDU client driver: no</div><div class="">build IPMI driver: no</div><div class="">build Mac OS X meta-driver: yes</div><div class="">build i2c based drivers: no</div><div class="">enable SSL support: yes (OpenSSL)</div><div class="">enable libwrap (tcp-wrappers) support: no</div><div class="">enable libltdl (Libtool dlopen abstraction) support: no</div><div class="">build nut-scanner: no</div><div class="">build CGI programs: no</div><div class="">build and install documentation: no</div><div class="">build and install the development files: no</div></div><div class=""><br class=""></div><div class="">>>>>>> Then make command looks ok, until:</div><div class=""><br class=""></div><div class=""><div class="">Making all in docs</div><div class="">Making all in man</div><div class="">/opt/local/bin/a2x --doctype manpage --format manpage --attribute mansource="Network UPS Tools" --attribute manversion="2.7.2.5" --attribute manmanual="NUT Manual" --destination-dir=. nut.conf.txt</div><div class="">a2x: WARNING: --destination-dir option is only applicable to HTML based outputs</div></div><div class=""><br class=""></div><div class="">>>>>>> At this stage, the process is kind of hanging, it takes 1 hour to generate the man pages.</div><div class=""><br class=""></div><div class="">>>>>>> then make command ends correctly without issues.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Regarding 'nut-website’, after fresh clone on Yosemite:</div><div class=""><br class=""></div><div class="">>>>>>> ./autogen.sh automatically clone nut and nut-dll in nut-website.</div><div class="">>>>>>> can I use my own clones here?</div><div class=""><br class=""></div><div class=""><div class="">Configuration summary:</div><div class="">======================</div><div class="">build serial drivers: yes</div><div class="">build USB drivers: yes</div><div class="">build SNMP drivers: yes</div><div class="">build neon based XML driver: yes</div><div class="">enable Avahi support: no</div><div class="">build Powerman PDU client driver: no</div><div class="">build IPMI driver: no</div><div class="">build Mac OS X meta-driver: yes</div><div class="">build i2c based drivers: no</div><div class="">enable SSL support: yes (OpenSSL)</div><div class="">enable libwrap (tcp-wrappers) support: no</div><div class="">enable libltdl (Libtool dlopen abstraction) support: no</div><div class="">build nut-scanner: no</div><div class="">build CGI programs: no</div><div class="">build and install documentation: no</div><div class="">build and install the development files: no</div></div><div class=""><br class=""></div><div class="">>>>>>> then make command. I have this one dozen of times:</div><div class=""><br class=""></div><div class="">sort: stray character in field spec: invalid field specification `4.1,4.5rV</div><div class=""><br class=""></div><div class="">>>>>>> and it ends with:</div><div class=""><br class=""></div><div class=""><div class="">/opt/local/bin/asciidoc --backend=xhtml11 --conf-file=./web-layout.conf --attribute icons --attribute linkcss --attribute=badges --attribute=website --attribute=quirks --attribute=revision=2.7.2 --attribute tree_version=2.7 --attribute localdate=`TZ=UTC date +%Y-%m-%d` --attribute localtime=`TZ=UTC date +%H:%M:%S` --attribute=date="`TZ=UTC date`" --attribute iconsdir=./images --attribute scriptsdir=./scripts -o projects.html -a toc projects.txt</div><div class="">make: *** No rule to make target `-eindex.html', needed by `ups-html.txt'.  Stop.</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">>>>>>> I apply aquette patch in 'nut-website/nut/configure.ac’, then apply 'make' command</div><div class="">>>>>>> no more 'sort: stray character in field spec: invalid field specification `4.1,4.5rV’ error... is it because I need to clean something?</div><div class="">>>>>>> then it is taking long..minutes (near an hour right now) generating man page:</div><div class=""><br class=""></div><div class=""><div class="">/opt/local/bin/a2x --doctype manpage --format manpage --attribute mansource="Network UPS Tools" --attribute manversion="2.7.2.5" --attribute manmanual="NUT Manual" --destination-dir=. ivtscd.txt</div><div class="">a2x: WARNING: --destination-dir option is only applicable to HTML based outputs</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">regards,</div><div class="">jean</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="">Le 20 nov. 2014 à 15:10, Charles Lepple <<a href="mailto:clepple@gmail.com" class="">clepple@gmail.com</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">On Nov 20, 2014, at 7:11 AM, Jean Perriault (GM TAF) <</span><a href="mailto:jpweb.taf@gmail.com" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">jpweb.taf@gmail.com</a><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">> wrote:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline"><blockquote type="cite" class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">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>,<span class="Apple-converted-space"> </span><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 class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Just to clarify, the sort error is only when building nut-website:</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><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);" class=""><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 style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">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 style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span class="Apple-tab-span" style="white-space: pre;">      </span>• asciidoc</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span class="Apple-tab-span" style="white-space: pre;">       </span>• asciidoc-a2x (if packaged separately)</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><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 style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span class="Apple-tab-span" style="white-space: pre;">       </span>• dblatex</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">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 style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://buildbot.networkupstools.org/snapshots" class="">http://buildbot.networkupstools.org/snapshots</a></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">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 style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div class="">-- </div><div class="">Charles Lepple</div><div class="">clepple@gmail</div></span></div></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></body></html>