Open JohnCido opened 3 years ago
Generally, as a Unix-like system, MacOS should be okay; builds of master
branch and recent PRs were tested in Travis CI until it disappeared this
summer.
Note there were some recipe and code fixes relevant to build on those Travis CI Macs, so you should give the master branch a try, and not to the (aged) latest release.
As not a Mac user, I can't say exactly how to prepare the build
environment, but remaining environment setup listed for macosx
tests in
.travis.yml
can hint at required packages.
It would be great if you can find a way and document the prerequisite
system setup at docs/config-prereqs.txt
so others can walk the same path
more easily.
On Thu, Sep 30, 2021, 22:33 John Cido @.***> wrote:
My Mac Mini is running macOS Monterey. And I've tried to use fink and fink seems does not work on this version of macOS. I also tried to download source git and got no clue of how to build it. I also found this formula on homebrew, is it supported or?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/networkupstools/nut/issues/1119, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMPTFG3DUHBGQEB5TFFEHLUETCQXANCNFSM5FDFLMEA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Hello, some time has passed since your question, and over that time I've got access to CircleCI and some MacOS VMs.
Some notes on Homebrew installation were added to docs/config-prereqs.txt
, you can find a rendered version at https://networkupstools.org/docs/user-manual.chunked/_build_prerequisites_to_make_nut_from_scratch_on_various_operating_systems.html#_macos_with_homebrew
This sufficed at least for development and debugging, to build and run NUT from command line, which was my goal as far as NUT CI farm is concerned (and helped fix quite a few bugs when I recently got back into it - so if you BYOD before NUT release v2.8.3, be sure to use github master branch and the ci_build.sh
script which hacks the path variables needed to find some HomeBrew-delivered dependencies). For more info - https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests
For OS integration with services (launchd manifests) you'd need to explore HomeBrew recipes for NUT, I suppose. For anecdotal evidence, here's a manifest I've crafted in a related side project (NUT CI farm agents): https://github.com/networkupstools/jenkins-swarm-nutci/blob/master/org.nutci.swarm-client-nutci.plist
My Mac Mini is running macOS Monterey. And I've tried to use fink and fink seems does not work on this version of macOS. I also tried to download source git and got no clue of how to build it. I also found this formula on homebrew, is it supported or?