Re: Curios about Euphoria 4.2 Progress
- Posted by ghaberek (admin) 1 month ago
- 628 views
Was trying to build this on Windows 11 under WSL but got the following (stored in this gist)
Linux build issues too at this gist
For all intents and purposes, WSL is Linux so the only thing that might be helpful is whichever distro you're running. I'm using Ubuntu 24.04 on WSL as my primary development platform.
You probably tried to do a multi-job build (i.e. make -j8) which you should be able to do, but the main Makefile ends up running multiple translations at once, somehow clobbering all over each other.
The Makefile is a recursive mess that calls itself repeatedly with different parameters and a whole lot of ifeq statements. It's like an ouroboros eating its own tail and I hate it.
Unfortunately I haven't been unable to unwind it completely yet. As a (temporary) work-around, I made build.mak, which bootstraps the Makefile correctly and manages some of the top-level dependencies.
Please purge your current build directory and try using build.mak, like this:
make -j$(nproc) -f build.mak PLATFORM=linux-x64
This should produce a complete package named euphoria-4.2.0-linux-x64-a917604.tar.gz
I've made several improvements to this that I still need to push. I will try to do that soon.
-Greg