From 9ad6a690864ca1423b7b01472acdc175be043fd2 Mon Sep 17 00:00:00 2001 From: Ashod Nakashian Date: Thu, 19 Oct 2023 18:32:03 -0400 Subject: [PATCH] wasm: improved build instructions in readme Change-Id: I420891a555ef4b51304cff26fdcab2ba0bc5fbdd Signed-off-by: Ashod Nakashian --- wasm/README.no-container.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wasm/README.no-container.md b/wasm/README.no-container.md index 84761ef8b..65cd212fb 100644 --- a/wasm/README.no-container.md +++ b/wasm/README.no-container.md @@ -48,7 +48,7 @@ a single include directory so "make install" must be used. Here we assume that the online repo is cloned at `$HOME/lo/online`, adapt as necessary. - tar -xjvf ~/Downloads/poco-1.12.4-release.tar.gz + tar -xzvf ~/Downloads/poco-1.12.4-release.tar.gz cd poco-poco-1.12.4-release patch -p1 < $HOME/lo/online/wasm/poco-1.12.4-emscripten.patch mv XML/src/xmlparse.cpp XML/src/xmlparse.c @@ -62,5 +62,5 @@ This will install into `/opt/poco.emsc.3.1.30`. ## Build Online itself ./autogen.sh - ./configure --disable-werror --with-lokit-path=/home/tml/lo/core-cool-wasm/include --with-lo-path=/home/tml/lo/core-cool-wasm/instdir --with-lo-builddir=/home/tml/lo/core-cool-wasm --with-zstd-includes=/opt/zstd.emsc.3.1.30/include --with-zstd-libs=/opt/zstd.emsc.3.1.30/lib --with-poco-includes=/opt/poco.emsc.3.1.30/include --with-poco-libs=/opt/poco.emsc.3.1.30/lib --host=wasm32-local-emscripten --with-wasm-additional-files=/home/tml/lo/online-hacking/my-sample-docs - make + emconfigure ./configure --disable-werror --with-lokit-path=/home/tml/lo/core-cool-wasm/include --with-lo-path=/home/tml/lo/core-cool-wasm/instdir --with-lo-builddir=/home/tml/lo/core-cool-wasm --with-zstd-includes=/opt/zstd.emsc.3.1.30/include --with-zstd-libs=/opt/zstd.emsc.3.1.30/lib --with-poco-includes=/opt/poco.emsc.3.1.30/include --with-poco-libs=/opt/poco.emsc.3.1.30/lib --host=wasm32-local-emscripten --with-wasm-additional-files=/home/tml/lo/online-hacking/my-sample-docs + emmake make