I cannot install mblock locally on ubuntu 20.04 (and I can not use mBot):
#!/bin/bash
wget -O mblock.tar.gz …//github.com/Makeblock-official/mBlock/releases/download/V4.0.0-Linux/mBlock-4.0.0-linux-4.0.0.tar.gz
tar zxvf mblock.tar.gz
rm mblock.tar.gz
mv mBlock $HOME
cd $HOME
cd mBlock
./mblock
With the above script the following error appears:
**kern :warn : [feb21 14:15] process ‘opt/makeblock/mBlock/mblock’ started with executable stack
kern :info : [ +0,666983] traps: mblock[15875] trap int3 ip:7f2e4b680295 sp:7ffe676a18e0 error:0 in libglib-2.0.so.0.6400.6[7f2e4b644000+84000]
kern :info : [feb21 14:17] traps: mblock[16232] trap int3 ip:7f2fdf5ea295 sp:7ffd43a4ea10 error:0 in libglib-2.0.so.0.6400.6[7f2fdf5ae000+84000]
kern :info : [ +33,023534] perf: interrupt took too long (2549 > 2500), lowering kernel.perf_event_max_sample_rate to 78250
kern :info : [feb21 14:29] traps: mblock[18485] trap int3 ip:7f3a82771295 sp:7fff7e381570 error:0 in libglib-2.0.so.0.6400.6[7f3a82735000+84000] **
I have tried with the next script to: (debian package)
download the mBlock_4.0.4_amd64.deb package
sudo dpkg -i mblock.deb
With the above script the following error appears:
**Gtk-Message: 14:29:24.320: Failed to load module “canberra-gtk-module”
/home/grafeno30/mBlock/resources/tools/arduino
app listening on port 7070!
(mblock:18424): Pango-ERROR : 14:29:24.741: Harfbuzz version too old (1.2.7)**
My version of operating system is:
NAME=“Ubuntu”
VERSION=“20.04.3 LTS (Focal Fossa)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=“Ubuntu 20.04.3 LTS”
VERSION_ID=“20.04”
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
Thanks in advance