-
-
Notifications
You must be signed in to change notification settings - Fork 818
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
*BSD as a supported platform? #630
Comments
Because I don’t have the *bsd system for testing, I’m not sure if it is supported. If you are interested, welcome to support it. Thanks! |
Hello, I have FreeBSD available and could even set up a jail (secured instance) for you if you like. I noted FreeBSD has a 1.6 version in the ports tree that I was going to look at eventually. Would love to discuss. |
If there is a freebsd environment, I would be happy to test and support it. I tried to install freebsd on virtualbox and searched for available docker image, but they were unsuccessful, so I didn't try it again later. |
That's great news. I'll get back to you for an ssh public key. Feel free to ping me if I don't get back to you in a week (e.g. I lost track of it). |
ok, thanks. |
@RussellHaley @tomekw I have supported freebsd now. We can install xmake on freebsd. git clone --recursive https://github.com/xmake-io/xmake.git
cd ./xmake
gmake build
./scripts/get.sh __local__ __install_only__
source ~/.xmake/profile After the new version is released, we can quickly install it directly through the script. bash <(curl -fsSL https://xmake.io/shget.text) |
I'm getting a build errors:
I noted some |
Maybe your host was detected as
You can try run HOST=bsd gmake build |
I'm using tcsh for a shell on FreeBSD 12.
I have a new xmake installation! I'll test asap. |
Ok, I closed this issue. If there are other bsd related issues, please open a new issue. |
I was trying to compile xmake inside a jail based on a FreeBSD 11.3-p5 with the following command:
And I got the following errors:
Is xmake going to support FreeBSD 11 too? |
You can try RussellHaley's operation. gmake "HOST=bsd" build
su
gmake install |
I switched the shell to |
?? |
I have improved core/makefile, you can fetch dev branch code and try it again. gmake build |
command:
got:
Some information I got: In FreeBSD 11.3 Release notes:
But in FreeBSD 12.0 Release notes:
|
You can try edit #include <stdint.h>
#include <sys/event.h> Or edit tbox/platform/poller.h to disable kqueue for *bsd. If it works, I will add this patch. |
Two lines added into
Feel lazy to create pull request. |
@ljsnogard I have merged this patch. You can fetch the dev branch code and try it again. |
It works for me.
Thanks ! |
ok |
I didn't find *BSD systems on a supported platforms list. I also couldn't find what's the reason for this.
If it's only for technical reasons and there would be someone to guide me through this I would be more than happy to try to contribute and work on supporting *BSD platforms.
The text was updated successfully, but these errors were encountered: