Open zdanl opened 2 months ago
well. i did ARG TARGETPLATFORM=x86_64
in Dockerfile and it seems to eat it
We also seem to be missing apt install apparmor apparmor-utils
in instructions
Running make build-tests-all
gives me another weird error.
build/images/rootfs-tools-v0.15.0.ext2: OK
/usr/local/bin/lua5.4 ./lua/create-machines.lua
/usr/local/bin/lua5.4: ./lua/create-machines.lua:142: unexpected symbol near '<'
make[1]: *** [Makefile:176: /root/machine-emulator/tests/build/cmio] Error 1
make[1]: Leaving directory '/root/machine-emulator/tests'
make: *** [Makefile:239: build-tests-all] Error 2
I don't want to be an annoyance, but this is beyond me. Build complete, Lua instructions followed.
root@isrupin32:~/machine-emulator# cartesi-machine
lua5.4: /usr/local/share/lua/5.4/cartesi-machine.lua:572: unexpected symbol near '<'
root@isrupin32:~/machine-emulator#
This is the line in question
local ram_length = 128 << 20 -- 128MB
FYI sudo update-alternatives --install /usr/bin/lua lua-interpreter /usr/bin/lua5.4 130 \
is required to fix it
There seems to be a problem with
install: cannot stat '/root/machine-emulator/uarch/uarch-ram.bin': No such file or directory
make: *** [Makefile:365: install-uarch] Error 1
Despite all efforts, the file exists, but can not be found.
Simply trying to follow the build instructions here.
Getting this weirdness.
Someone help me out? Tried
export TARGETPLATFORM=x86_64
but ignored