by Rochus · 4y ago · 0 comments
The xmake package repository files might be useful also for people interested in making their own package manager, or even installing by hand.
Here is the package information for autoconf, for instance:
https://github.com/xmake-io/xmake-repo/blob/master/packages/...
It has download links, checksums for specific versions, and the Lua syntax seems easy to parse.
The package for NanoVG however, does not indicate anywhere that you need the GLEW and GLFW libraries:
https://github.com/xmake-io/xmake-repo/blob/master/packages/...
Following the instructions, after `make build` I get “No rule to make target 'lua/lapi.c', needed by 'lua/lapi.o'. Stop.”.
I’m now reading more, and it will probably be some easy thing.
My advice would be to have some compact list of steps to get it up and running from source without having to install binaries. I think that would make it easier to try out.
I’ll now continue trying to figure out what’s missing.
git submodule update --init
Or you can download full source code from releases. https://github.com/xmake-io/xmake/releases/download/v2.6.5/x...Yes, that’s what I did. :-)
wget https://github.com/xmake-io/xmake/archive/refs/tags/v2.6.5.tar.gz
tar xf v2.6.5.tar.gz
cd xmake-2.6.5/
make build