Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Hinko Kocevar <hinko.kocevar@cetrtapot.si>
To: buildroot@busybox.net
Subject: [Buildroot] Python / Lua socket programming
Date: Thu, 07 Aug 2008 15:55:04 +0200	[thread overview]
Message-ID: <489AFEB8.6000406@cetrtapot.si> (raw)
In-Reply-To: <489AEA22.80700@gmail.com>

Leonardo Giordano wrote:

> For lua, I should add luasocket library but I don't know how.
> 
> Any comments?

You'll need to build lua first, then luasocket as another package, independently.
luasocket relies on lua headers/libs. You'll probably need to fix some
paths in lua(socket) in order for luasocket to find lua stuff inside the
buildroot.

these steps might help:
cd lua-5.1.3
make linux
make install INSTALL_TOP=/home/hinkok/Desktop/lua/out
cd ../luasocket-2.0.2
LUAINC=-I/home/hinkok/Desktop/lua/out/include INSTALL_TOP_SHARE=/home/hinkok/Desktop/lua/out/share INSTALL_TOP_LIB=/home/hinkok/Desktop/lua/out/lib/lua/5.1 make
make install INSTALL_TOP_SHARE=/home/hinkok/Desktop/lua/out/share INSTALL_TOP_LIB=/home/hinkok/Desktop/lua/out/lib/lua/5.1


HTH,
Hinko

-- 
?ETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar at cetrtapot.si
Http: www.cetrtapot.si

  reply	other threads:[~2008-08-07 13:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-07 12:27 [Buildroot] Python / Lua socket programming Leonardo Giordano
2008-08-07 13:55 ` Hinko Kocevar [this message]
2008-08-07 14:33   ` Leonardo Giordano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=489AFEB8.6000406@cetrtapot.si \
    --to=hinko.kocevar@cetrtapot.si \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox