Giter VIP home page Giter VIP logo

Comments (6)

clepple avatar clepple commented on July 19, 2024

@JeanPerriault 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.

from nut-website.

aquette avatar aquette commented on July 19, 2024

considering the context and limited impact, we could simply check for gsort first, and then sort.

--- a/configure.ac
+++ b/configure.ac
@@ -101,6 +101,7 @@ AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_EGREP
AC_PATH_PROG(AR, ar)
+AC_CHECK_PROGS(SORT, gsort sort)
AC_CHECK_TOOL(RANLIB, ranlib, :)
dnl Postpone call to AC_PROG_LIBTOOL to allow disabling static lib
AC_C_BIGENDIAN

@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?

from nut-website.

clepple avatar clepple commented on July 19, 2024

@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.

from nut-website.

clepple avatar clepple commented on July 19, 2024

The nut-upsdev list is really meant for this sort of discussion. We just use the Github issue tracker for tracking progress on fixing issues.

from nut-website.

zykh avatar zykh commented on July 19, 2024

@clepple, does the following branch solve the problems and work on OS X?
https://github.com/zykh/nut-website/tree/issue7

from nut-website.

zykh avatar zykh commented on July 19, 2024

merged

from nut-website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.