- Ubuntu 16.04 and above
- Tizen 4.0 and above
$ git clone git@github.com:Samsung/lwnode.git
$ git submodule update --init --recursive$ sudo apt-get install -y build-essential cmake clang libicu-dev libglib2.0-dev$ ./configure.py
$ ninja -C out/linux/Release lwnode
$ ./out/linux/Release/lwnode ./deps/node/test/message/hello_world.js# for debug build
$ ./configure.py --debug
$ ninja -C out/linux/Debug lwnode
$ ./out/linux/Debug/lwnode ./deps/node/test/message/hello_world.js$ ./tools/test.shKnown Issues:
- For systems enforcing higher security levels, (e.g., Ubuntu 20.04 and above) an error related to
ERR_SSL_EE_KEY_TOO_SMALLmay be thrown. In that case, updateopenssl.cnfas follows:
vi /etc/ssl/openssl.cnf
# Add the following line to the beginning of the config file
openssl_conf = default_conf
# Add the following lines to the end
[ default_conf ]
ssl_conf = ssl_sect
[ssl_sect]
system_default = system_default_sect
[system_default_sect]
MinProtocol = TLSv1.2
CipherString = DEFAULT:@SECLEVEL=1Install GBS tools on a Linux machine.
The following command builds Tizen RPMs.
$ gbs -c .github/gbs.conf build -A arm7lIf you are checking out lwnode from the GitHub repo (which includes submodules), add the following two options when building Tizen RPMs on your Linux machine.
$ gbs -c .github/gbs.conf build -A arm7l --include-all --incremental