NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lua-socket installation
Hi,
I've been trying without success for a while to compile and install
/usr/pkgsrc/net/lua-socket
It tells me it installed correctly, I've installed it for lua 5.3, I had
to manually update the LUA_PATH and LUA_CPATH variables, but now when I
go to load the module through require("socket") it throws an error:
Lua 5.3.2 Copyright (C) 1994-2015 Lua.org, PUC-Rio
> require("socket")
error loading module 'socket' from file
'/usr/lib/lua/5.3/usr/pkg/share/lua/5.3/':
/usr/lib/lua/5.3/usr/pkg/share/lua/5.3/:1: unexpected symbol
near '<\205>'
stack traceback:
[C]: in ?
[C]: in function 'require'
stdin:1: in main chunk
[C]: in ?
This has happened when I used the source from pkgsrc and downloaded from
git.
Does anyone else have this issue or is it local to my machine?
Home |
Main Index |
Thread Index |
Old Index