Skip to content

Any way to get kiwix-tools binaries for macOS (or how to build redistributable binaries for macOS)? #464

@technusm1

Description

@technusm1

Hi there, while looking for kiwix-serve binaries for macOS, I realised they aren't provided yet on the download link (Windows and Linux only). So my first question is, are there any plans to ship kiwix-tools binaries for macOS? If you guys need any help, I can provide help with testing and feedback.

So far, I've tried the docker option and it works, but I would like to avoid it due to the massive battery drain it causes on my Mac. I've also tried using kiwix-build to compile a static version of kiwix-tools (I have no idea how C++ tooling works, and I just need kiwix-serve for my case), but it fails. However the defaults work fine, i.e. it is able to build the native_dyn version, I guess.

The main problem with native_dyn on my system is that the compiled executable isn't redistributable. Hell, if I change the folder structure containing all the compiled artifacts, it fails to resolve the libraries, as it is somehow considering absolute paths for resolving the libraries, which sucks. So here's my second question, am I being stupid and doing something wrong here?

I'm happy to provide more information, if required. I also have Xcode and other developer tools installed, and can do testing as required, I just need help on building redistributable kiwix-tools binaries (preferably static) on macOS.

Thanks for all your hard work. 😄

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions