[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua socket compile
- From: richard miller <richard@...>
- Date: Tue, 21 Dec 2004 15:37:11 +0000 (UTC)
Diego Nehab <diego <at> tecgraf.puc-rio.br> writes:
> > I am trying to compile, both static and dynamic, lua under LINUX
> > Fedora 3. Is there a concise set of instructions that I should be
> > using?
> Did "make" not work? Should work for the dynamic at least.
> For the static,
> ar rcu libluasocket.a *.o
> ranlib libluasocket.a
> should do the trick.
> PS: I have never managed to distribute LuaSocket in a form that made
> everyone happy, therefore it is currently in a "do it yourself" form.
Thanks for your response. I am new to Lua and this is the first library I have
I am able to build the .a static library.
My next question is what code needs to be added to lua.c to make the socket and
mime functions available to the interpreter?
Additionally, is the .exe for windows on the Sua page all one needs to run lua
from the dos prompt?