building elua.

classic Classic list List threaded Threaded
4 messages Options
james osburn james osburn
Reply | Threaded
Open this post in threaded view
|

building elua.

I have been trying to build the elua sources from github on linux.
I am assuming that the starting point is the lua script build_elua.lua?
when I run the script i get the following error:

[josburn@localhost elua]$ lua ./build_elua.lua
lua: ./utils/mkfs.lua:3: module 'pack' not found:
        no field package.preload['pack']
        no file './pack.lua'
        no file '/usr/share/lua/5.1/pack.lua'
        no file '/usr/share/lua/5.1/pack/init.lua'
        no file '/usr/lib/lua/5.1/pack.lua'
        no file '/usr/lib/lua/5.1/pack/init.lua'
        no file './pack.so'
        no file '/usr/lib/lua/5.1/pack.so'
        no file '/usr/lib/lua/5.1/loadall.so'
stack traceback:
        [C]: in function 'require'
        ./utils/mkfs.lua:3: in main chunk
        [C]: in function 'require'
        ./build_elua.lua:22: in main chunk
        [C]: ?

My best guess is I am missing a package?
Which one?
James

_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
jbsnyder jbsnyder
Reply | Threaded
Open this post in threaded view
|

Re: building elua.

There are actually two build systems.  One is newer and still
considered experimental but works and is based on Lua which is the one
you've found. The other is built around scons, and is described in our
docs here:
http://www.eluaproject.net/doc/master/en_building.html

To quote from an earlier email from Bogdan, in order to use the
Lua-based build system you'll need a few extra dependencies first
which can be installed using luarocks, which you'll also need to
install:
   a. install luarocks (http://luarocks.org/)
   b. sudo luarocks install lpack
   c. sudo luarocks install luafilesystem
   d. sudo luarocks install md5

Otherwise you should be able to just use SCons if you have Python and
SCons installed, and a toolchain for your platform.

Best.

-jsnyder

On Sat, Nov 12, 2011 at 4:50 PM, james osburn <[hidden email]> wrote:

> I have been trying to build the elua sources from github on linux.
> I am assuming that the starting point is the lua script build_elua.lua?
> when I run the script i get the following error:
>
> [josburn@localhost elua]$ lua ./build_elua.lua
> lua: ./utils/mkfs.lua:3: module 'pack' not found:
>         no field package.preload['pack']
>         no file './pack.lua'
>         no file '/usr/share/lua/5.1/pack.lua'
>         no file '/usr/share/lua/5.1/pack/init.lua'
>         no file '/usr/lib/lua/5.1/pack.lua'
>         no file '/usr/lib/lua/5.1/pack/init.lua'
>         no file './pack.so'
>         no file '/usr/lib/lua/5.1/pack.so'
>         no file '/usr/lib/lua/5.1/loadall.so'
> stack traceback:
>         [C]: in function 'require'
>         ./utils/mkfs.lua:3: in main chunk
>         [C]: in function 'require'
>         ./build_elua.lua:22: in main chunk
>         [C]: ?
>
> My best guess is I am missing a package?
> Which one?
> James
>
> _______________________________________________
> eLua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
james osburn james osburn
Reply | Threaded
Open this post in threaded view
|

Re: building elua.

who would you set up the paths using the mentor graphics toolchain?

On Sat, Nov 12, 2011 at 4:57 PM, James Snyder <[hidden email]> wrote:
There are actually two build systems.  One is newer and still
considered experimental but works and is based on Lua which is the one
you've found. The other is built around scons, and is described in our
docs here:
http://www.eluaproject.net/doc/master/en_building.html

To quote from an earlier email from Bogdan, in order to use the
Lua-based build system you'll need a few extra dependencies first
which can be installed using luarocks, which you'll also need to
install:
  a. install luarocks (http://luarocks.org/)
  b. sudo luarocks install lpack
  c. sudo luarocks install luafilesystem
  d. sudo luarocks install md5

Otherwise you should be able to just use SCons if you have Python and
SCons installed, and a toolchain for your platform.

Best.

-jsnyder

On Sat, Nov 12, 2011 at 4:50 PM, james osburn <[hidden email]> wrote:
> I have been trying to build the elua sources from github on linux.
> I am assuming that the starting point is the lua script build_elua.lua?
> when I run the script i get the following error:
>
> [josburn@localhost elua]$ lua ./build_elua.lua
> lua: ./utils/mkfs.lua:3: module 'pack' not found:
>         no field package.preload['pack']
>         no file './pack.lua'
>         no file '/usr/share/lua/5.1/pack.lua'
>         no file '/usr/share/lua/5.1/pack/init.lua'
>         no file '/usr/lib/lua/5.1/pack.lua'
>         no file '/usr/lib/lua/5.1/pack/init.lua'
>         no file './pack.so'
>         no file '/usr/lib/lua/5.1/pack.so'
>         no file '/usr/lib/lua/5.1/loadall.so'
> stack traceback:
>         [C]: in function 'require'
>         ./utils/mkfs.lua:3: in main chunk
>         [C]: in function 'require'
>         ./build_elua.lua:22: in main chunk
>         [C]: ?
>
> My best guess is I am missing a package?
> Which one?
> James
>
> _______________________________________________
> eLua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev


_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

Re: building elua.



On Sun, Nov 13, 2011 at 4:12 AM, james osburn <[hidden email]> wrote:
who would you set up the paths using the mentor graphics toolchain?

Just put the toolchain's bin/ directory in your PATH.

Best,
Bogdan
 


On Sat, Nov 12, 2011 at 4:57 PM, James Snyder <[hidden email]> wrote:
There are actually two build systems.  One is newer and still
considered experimental but works and is based on Lua which is the one
you've found. The other is built around scons, and is described in our
docs here:
http://www.eluaproject.net/doc/master/en_building.html

To quote from an earlier email from Bogdan, in order to use the
Lua-based build system you'll need a few extra dependencies first
which can be installed using luarocks, which you'll also need to
install:
  a. install luarocks (http://luarocks.org/)
  b. sudo luarocks install lpack
  c. sudo luarocks install luafilesystem
  d. sudo luarocks install md5

Otherwise you should be able to just use SCons if you have Python and
SCons installed, and a toolchain for your platform.

Best.

-jsnyder

On Sat, Nov 12, 2011 at 4:50 PM, james osburn <[hidden email]> wrote:
> I have been trying to build the elua sources from github on linux.
> I am assuming that the starting point is the lua script build_elua.lua?
> when I run the script i get the following error:
>
> [josburn@localhost elua]$ lua ./build_elua.lua
> lua: ./utils/mkfs.lua:3: module 'pack' not found:
>         no field package.preload['pack']
>         no file './pack.lua'
>         no file '/usr/share/lua/5.1/pack.lua'
>         no file '/usr/share/lua/5.1/pack/init.lua'
>         no file '/usr/lib/lua/5.1/pack.lua'
>         no file '/usr/lib/lua/5.1/pack/init.lua'
>         no file './pack.so'
>         no file '/usr/lib/lua/5.1/pack.so'
>         no file '/usr/lib/lua/5.1/loadall.so'
> stack traceback:
>         [C]: in function 'require'
>         ./utils/mkfs.lua:3: in main chunk
>         [C]: in function 'require'
>         ./build_elua.lua:22: in main chunk
>         [C]: ?
>
> My best guess is I am missing a package?
> Which one?
> James
>
> _______________________________________________
> eLua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev


_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev



_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev