Hi Kralj,
Thanks for your packaging proposal, very appreciated. We’ll have a look at it in the near future.
Would you recommend it as default distribution for all Linux systems, or are there possible restrictions that may need to be considered?
The current build system is based on Windows (mostly due to the Windows executable that’s created). Maybe we could target a more platform-independent approach in future.
Best, Christian
On Mon, Sep 14, 2020 at 6:12 AM karlo@fastmail.com wrote:
I have packaged basex in a way that I believe will be easier for integration with package managers. https://klarinet.kos.ovh/fossil/basex-root-install/uv/basex-9.4.3.tar.gz
From the root of that archive, you can build and install like this.
make make install # as root
The above will install to the prefix /usr/local. You can set a different prefix. Here is an example.
make clean make PREFIX=/usr make PREFIX=/usr install # as root
A secondary benefit of this package is the removal of the bash dependency.
Could a package like this be distributed officially? If that is agreeable, I am happy to try incorporating this into the present build system.
Here is a utility for preparing the package. It depends on sh and other Unix-like utilities. https://klarinet.kos.ovh/fossil/basex-root-install/dir?ci=tip
With distinguished salutations, Kralj Karlo