[Nut-upsdev] building NUT on Mac OS X Yosemite
Jean Perriault (GM TAF)
jpweb.taf at gmail.com
Thu Nov 20 12:11:52 UTC 2014
Here is a summary of discussions around NUT builds on Mac OS X 10.10.
Starting from https://github.com/networkupstools/nut-website/issues/7 <https://github.com/networkupstools/nut-website/issues/7>
I've found msort on macports (https://trac.macports.org/browser/trunk/dports/textproc/msort/Portfile, http://billposer.org/Software/Downloads/
msort.pdf), but I'm not sure where to implement it, should I replace all sort ocurrences I find in code?
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.
considering the context and limited impact, we could simply check for gsort first, and then sort.
@@ -101,6 +101,7 @@ AC_PROG_CXX
+AC_CHECK_PROGS(SORT, gsort sort)
AC_CHECK_TOOL(RANLIB, ranlib, :)
dnl Postpone call to AC_PROG_LIBTOOL to allow disabling static lib
@JeanPerriault could you please test the above snippet? (apply using 'patch -p0 < /path/to/patch', from within the 'nut' (not -website) top-level source directory
@clepple btw, where / how do you exactly get this error?
@aquette when building the nut-website repository on OS X. At the moment, it does not show up in Buildbot because we are only building nut-website on Debian.
I would rather that we not apply that patch to the repository, since it just masks the problem.
ok make done; I think I will redo everything from scratch to see if libraries updates or @aquette fix did fix
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Nut-upsdev