termux / termux.github.io

The main termux site and help pages.
https://termux.github.io
883 stars 173 forks source link

Cannot install Lua socket libraries #39

Closed b3nsh4 closed 6 years ago

b3nsh4 commented 6 years ago

I tried installing Lua socket libraries. But it's giving an error. Lua.h is missing. :disappointed: Look the screenshot!

Tried

luarocks install luasocket

But after i installed liblua-dev using this command

pkg install liblua-dev

I got this, check screenshot.:point_down:

still can't install the libraries.

Grimler91 commented 6 years ago

You don't have a c compiler installed. Install clang.

b3nsh4 commented 6 years ago

installed clang. Please tell me whether socket is installed. How to use this? Using require command in Lua?

Grimler91 commented 6 years ago

I don't know anything about luasocket so can't help you.

Since you didn't get any error messages it is probably installed.

b3nsh4 commented 6 years ago

Still, there's an error at the bottom

Build error: src/mime.o
b3nsh4 commented 6 years ago

Everything done :grinning: Thanks @Grimler91 :heart_eyes: