gaz561 / tab

Groundhog Operating System
1 stars 1 forks source link

Lua can't find socket on Windows #5

Closed emsenn closed 2 years ago

emsenn commented 2 years ago

Tried getting this all set up on my partner's Windows laptop so I can help non-Linux users get started collaborating. got pretty far! But ran into issues during the final stretch: When i try and make marmud, it errors at making a thing based off mud/server, because it can't find the socket module.

emsenn commented 2 years ago

I see now that the Makefile even says to change usocket.o to wsocket.o but I guess I don't quite know how to rewrite a Makefile to let me do "make tab-winbin" which I guess would be the desired solution to this problem?

emsenn commented 2 years ago

Also thinking about it - and playing with it - I'm not sure if that's the answer when using Windows Subsystems for Linux, like I've done.

emsenn commented 2 years ago

Using Luarocks to install luasocket got me there, so I'm gonna go ahead and close this; if folk run into failure again they can open a new issue.