Skip to content

Latest commit

 

History

History
54 lines (42 loc) · 877 Bytes

INSTALL.Ubuntu.md

File metadata and controls

54 lines (42 loc) · 877 Bytes

Installation with LuaRocks


luarocks install penlight
luarocks install LuaBcd

Ubuntu 20.04 on x86_64, i686


Build system

Cmake with gcc or clang with C++11 support.

Prerequisites

Install packages with 'apt-get'/aptitude.

Required packages

lua5.2 liblua5.2-dev luarocks llvm

Required luarocks packages

penlight

Build from github

Fetch sources

git clone https://github.com/patrickfrey/lua_bcd
cd lua_bcd

Configure to find Lua includes and to write the file Lua.inc included by make

./configure

Build with GNU C/C++

make -DCOMPILER=gcc -DRELEASE=true

Build with Clang C/C++

make -DCOMPILER=clang -DRELEASE=true

Run tests

make test

Install

make PREFIX=/usr/local install