Closed torshepherd closed 3 months ago
The rest of the text got pasted in the terminal
Is this WezTerm on WSL2? Which distro?
This error usually means flow (actually notcurses) cannot find terminfo for your terminal.
Ubuntu 22.04 in WSL2 yep. I can try alacritty instead tonight
Should flow build for windows too? If so I can try natively
Just tried on a native Ubuntu 20.04 machine instead, got a different compile error this time
zig build-lib libunistring ReleaseFast native 1 errors
~/.cache/zig/p/.../linux-gnu/lib/thread-optim.h: error: 'sys/single_threaded.h' file not found
Ok yep, the issue is with the libunistring-zig dependency - I don't think it's fully hermetic libc?
Ok I see the issue. Basically all of the HAVE_X_HEADER in config.h in libunistring-zig are hardcoded to 1. They should probably either check using zig the version of glibc and set them like that or there should be hermetic glibc 2.32 shipped with it
Sorry, this is a regression. Flow is supposed to be building with musl on linux, but somewhere the default target got removed.
Try build with:
./zig build -Doptimize=ReleaseFast -Dtarget=native-native-musl
This should succeed on pretty much any linux distro, including WSL2.
I think this is an error on my end, notcurses has had issues previously using WSL2 :/ , but should probably handle the init failed gracefully