jvburnes / node9

A portable hybrid distributed OS based on Inferno, LuaJIT and Libuv
MIT License
408 stars 32 forks source link

Unable to run #9

Closed rudchenkos closed 9 years ago

rudchenkos commented 9 years ago

Hi Jim, I'm run node9 it fails with the following stdout:

$ node9 First Edition (20150610), build: 1434426470  main (pid=41700)
Tue Jun 16 03:48:07 2015  node9/kernel: initializing terminal
Tue Jun 16 03:48:07 2015  node9/kernel: loading
Tue Jun 16 03:48:07 2015  node9/kernel: initializing namespace
Tue Jun 16 03:48:07 2015  node9/kernel: binding standard streams
Tue Jun 16 03:48:07 2015  node9/kernel: initializing host environment
Tue Jun 16 03:48:07 2015  node9/kernel: accepting requests
Tue Jun 16 03:48:07 2015  node9/kernel: starting luaspace ...
Tue Jun 16 03:48:07 2015  signals set
Tue Jun 16 03:48:07 2015  node9: pcall: did not exit cleanly, err = 2
Tue Jun 16 03:48:07 2015  

FATAL ERROR:
  node9/init: could not start lua scheduler: /Users/serega/devel/node9/src/fs/os/lib/kernel.lua:19: module 'pl.List' not found:
    no field package.preload['pl.List']
    no file '/Users/serega/devel/node9/src/fs/os/init/pl/List.lua'
    no file '/Users/serega/devel/node9/src/fs/os/lib/pl/List.lua'
    no file './pl/List.lua'
    no file '/usr/local/share/luajit-2.0.3/pl/List.lua'
    no file '/usr/local/share/lua/5.1/pl/List.lua'
    no file '/usr/local/share/lua/5.1/pl/List/init.lua'
    no file './pl/List.so'
    no file '/usr/local/lib/lua/5.1/pl/List.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
    no file './pl.so'
    no file '/usr/local/lib/lua/5.1/pl.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'

Where can I get that "pl" module?

jvburnes commented 9 years ago

Sergil...

Sorry. I forgot that you need the 'penlight' library for Lua. It's available at most Lua repositories. Google it.

Are you running on OSX?

Jim

On Mon, Jun 15, 2015 at 10:56 PM, Sergii Rudchenko <notifications@github.com

wrote:

Hi Jim, I'm run node9 it fails with the following stdout:

$ node9 First Edition (20150610), build: 1434426470 main (pid=41700) Tue Jun 16 03:48:07 2015 node9/kernel: initializing terminal Tue Jun 16 03:48:07 2015 node9/kernel: loading Tue Jun 16 03:48:07 2015 node9/kernel: initializing namespace Tue Jun 16 03:48:07 2015 node9/kernel: binding standard streams Tue Jun 16 03:48:07 2015 node9/kernel: initializing host environment Tue Jun 16 03:48:07 2015 node9/kernel: accepting requests Tue Jun 16 03:48:07 2015 node9/kernel: starting luaspace ... Tue Jun 16 03:48:07 2015 signals set Tue Jun 16 03:48:07 2015 node9: pcall: did not exit cleanly, err = 2 Tue Jun 16 03:48:07 2015

FATAL ERROR: node9/init: could not start lua scheduler: /Users/serega/devel/node9/src/fs/os/lib/kernel.lua:19: module 'pl.List' not found: no field package.preload['pl.List'] no file '/Users/serega/devel/node9/src/fs/os/init/pl/List.lua' no file '/Users/serega/devel/node9/src/fs/os/lib/pl/List.lua' no file './pl/List.lua' no file '/usr/local/share/luajit-2.0.3/pl/List.lua' no file '/usr/local/share/lua/5.1/pl/List.lua' no file '/usr/local/share/lua/5.1/pl/List/init.lua' no file './pl/List.so' no file '/usr/local/lib/lua/5.1/pl/List.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file './pl.so' no file '/usr/local/lib/lua/5.1/pl.so' no file '/usr/local/lib/lua/5.1/loadall.so'

Where can I get that "pl" module?

— Reply to this email directly or view it on GitHub https://github.com/jvburnes/node9/issues/9.

jvburnes commented 9 years ago

I'll see if I can integrate 'penlight' into the distribution.

Jim

On Mon, Jun 15, 2015 at 10:59 PM, Jim Burnes jvburnes@gmail.com wrote:

Sergil...

Sorry. I forgot that you need the 'penlight' library for Lua. It's available at most Lua repositories. Google it.

Are you running on OSX?

Jim

On Mon, Jun 15, 2015 at 10:56 PM, Sergii Rudchenko < notifications@github.com> wrote:

Hi Jim, I'm run node9 it fails with the following stdout:

$ node9 First Edition (20150610), build: 1434426470 main (pid=41700) Tue Jun 16 03:48:07 2015 node9/kernel: initializing terminal Tue Jun 16 03:48:07 2015 node9/kernel: loading Tue Jun 16 03:48:07 2015 node9/kernel: initializing namespace Tue Jun 16 03:48:07 2015 node9/kernel: binding standard streams Tue Jun 16 03:48:07 2015 node9/kernel: initializing host environment Tue Jun 16 03:48:07 2015 node9/kernel: accepting requests Tue Jun 16 03:48:07 2015 node9/kernel: starting luaspace ... Tue Jun 16 03:48:07 2015 signals set Tue Jun 16 03:48:07 2015 node9: pcall: did not exit cleanly, err = 2 Tue Jun 16 03:48:07 2015

FATAL ERROR: node9/init: could not start lua scheduler: /Users/serega/devel/node9/src/fs/os/lib/kernel.lua:19: module 'pl.List' not found: no field package.preload['pl.List'] no file '/Users/serega/devel/node9/src/fs/os/init/pl/List.lua' no file '/Users/serega/devel/node9/src/fs/os/lib/pl/List.lua' no file './pl/List.lua' no file '/usr/local/share/luajit-2.0.3/pl/List.lua' no file '/usr/local/share/lua/5.1/pl/List.lua' no file '/usr/local/share/lua/5.1/pl/List/init.lua' no file './pl/List.so' no file '/usr/local/lib/lua/5.1/pl/List.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file './pl.so' no file '/usr/local/lib/lua/5.1/pl.so' no file '/usr/local/lib/lua/5.1/loadall.so'

Where can I get that "pl" module?

— Reply to this email directly or view it on GitHub https://github.com/jvburnes/node9/issues/9.

rudchenkos commented 9 years ago

Yes, I'm on OSX.

I have cloned https://github.com/stevedonovan/Penlight and copied lua/pl to /usr/local/share/lua/5.1

$ git clone git@github.com:stevedonovan/Penlight.git
...
$ mkdir -p /usr/local/share/lua/5.1
$ cp -rv Penlight/lua/pl /usr/local/share/lua/5.1/

Now node9 can find the module. Thanks!

rudchenkos commented 9 years ago

Penlight is in node9 repository now, commit 108eb43829e7ed1fdf6c9cbc197035d5aab7821d