javalikescript / luaserial

6 stars 1 forks source link

macOS/bsd support? #3

Open flozano opened 6 months ago

flozano commented 6 months ago

I was expecting to try this rock in my mac but no luck:

luarocks install --tree lua_modules luaserial
Installing https://luarocks.org/luaserial-0.2-1.rockspec
Cloning into 'luaserial'...
remote: Enumerating objects: 43, done.
remote: Counting objects: 100% (29/29), done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 43 (delta 13), reused 23 (delta 9), pack-reused 14
Receiving objects: 100% (43/43), 19.88 KiB | 278.00 KiB/s, done.
Resolving deltas: 100% (16/16), done.
Note: switching to '1029af39a868735bc5f09e5511a95241384f5609'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

Submodule 'lua-compat' (https://github.com/javalikescript/lua-compat.git) registered for path 'lua-compat'
Cloning into '/private/var/folders/c7/3b0ybh1j5hg3fgnj8yy9qwtm0000gn/T/luarocks_luaserial-0.2-1-2005834/luaserial/lua-compat'...
Submodule path 'lua-compat': checked out 'caeabbdc169732fb1c768b03d16c1da43a64cf10'

Error: This rockspec for luaserial does not support bsd, macos, macosx, unix platforms.
make: *** [deps] Error 1

is there any way to make it work ?

javalikescript commented 6 months ago

Hello,

I do not have access to a mac, that's why the rock spec is limited to linux/windows.

You could try to build as linux, I have no idea if it will work!

Hope it helps and have a good day, Samuel