kmarkus/microblx

Crash on make command in Ubuntu 12.04

Closed this issue · 1 comments

Steps to replicate:

  1. Clean Ubuntu install (virtual machine)
  2. sudo apt-get install lua5.2 luajit clang++
  3. git clone https://github.com/kmarkus/microblx.git
  4. cd microblx
  5. make

following out put:

make -s -C src
make -s -C std_blocks/cppdemo
make -s -C std_blocks/hexdump
make -s -C std_blocks/lfds_buffers
make -s -C std_blocks/logging
/usr/bin/env: luajit: No such file or directory
make[1]: *** [file_logger.lua.hexarr] Error 127
make: *** [build-std_blocks/logging] Error 2

the aptitude version of LTS does not have a link of luajit to the installed luajit-2.0.0-beta9.
beta11 is required so it's best to make luajit from source:
git clone http://luajit.org/git/luajit-2.0.git