-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alpine Linux required to build? #195
Comments
Generally, it should not be. The requirement is because wslbridge2 has a bug. When wslbridge2 is compiled with glibc statically it crashes after sometimes. You can build it in any distribution, just remove the |
That would explain the random crashing I'm seeing now that I've gotten it built. Is the static linking worth installing Alpine for? (I wouldn't guess so unless it can cause instability with other processes working properly.) |
Can't understand the question. |
Sorry, essentially, which is your recommendation for overcoming my the build problem?
As you said, removing the |
Understood. I mean the second one. Dynamic linking does not cause any issue with glibc or musl libc. The released binaries are statically linked because users can use any Linux distribution with it. |
If you want to run the bridge with any musl-lib based Linux distribution, you should compile it with one of them. As far as I know, there are Alpine and VoidMusl right now, the latter should work as well. |
@AberrantWolf now wslbridge2 can be compile in any distribution static or dynamic, as you want. |
among systems based on glibc vs musl libraries (mintty/wsltty#271, mintty/wsltty#195)
I'm trying to
make
the source, and it seems like the makefile is trying to run a make specifically on Alpine Linux over WSL. I don't currently have this installed. Is it a requirement? I can't find any mention of it being required in the docs or the issue tracker.I'm still working out other build issues, but it seems like removing the Alpine specification and just using my default WSL install works fine so far.
I'm using the Cygwin install method because of issues related to #94, btw. I'm just having to keep adding new Cygwin programs and retry.
The text was updated successfully, but these errors were encountered: