Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: Nonoss on February 17, 2018, 03:24:48 AM
-
Hi guys,
I come here for a little help.
I’m getting new to Tiny Core (PiCore) and discovering this very practical distro.
I know a bit of debian based distros, but it’s kind of… Hugely different.
Let’s get to the point.
My purpose is to run the framework magicmirror on piCore (https://github.com/MichMich/MagicMirror)
Magicmirror basically use nodejs npm and electron, so it should be alright.
I started with a fresh install of piCore 9.03, connect through SSH and :
1- First, installation of node and git :
tce-load –wi git node
2- Clone of the repository :
git clone https://github.com/MichMich/MagicMirror
3- Change into the new folder and install the magicmirror
cd Magicmirror && npm install
4- Launching the mirror :
npm start
5- But I got an error :
/home/tc/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
6- No problem, I can handle it and after a bit of search, I found and installed gtk2
tce-load –wi gtk2
7- Launching the mirror again and:
/home/tc/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libdbus-1.so.3: cannot open shared object file: No such file or directory
8- Ok, google it again and installed dbus
tce-load –wi dbus
9- Launching the mirror again and:
/home/tc/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libXi.so.6: cannot open shared object file: No such file or directory
10- Well googled it again and installed libXi
tce-load –wi libXi
11- Launching the mirror again and:
/home/tc/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libXtst.so.6: cannot open shared object file: No such file or directory
12- Hum... Ok, I installed libXtst
tce-load –wi libXtst
13- Launching the mirror again and:
/home/tc/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
14- After lots of searches, I couldn't fint this dependency anywhere within the 9.03 repository. Some links leads me to Xorg, but it's not working.
Do you guys have any tips for me?
Thanks you a lot.
-
Hi Nonoss
In such cases either the "Provides" feature of the Apps GUI should get you covered (click on the drop-down box that says "Search") or, if you're on CLI only, the provides.sh script:
$ provides.sh libXss.so
libXScrnSaver.tcz
So the libXScrnSaver.tcz extension has that lib.
-
Oh great,
Thank you. It will helps a lot since I have other dependencies to find like.
One is "libgconf-2.so.4".
I tried:
provides.sh libgconf-2.s
But got no result
-
Unfortunately, this one seems to not be available in the repo then.
You could either compile it from source (directions for compiling for TinyCore here: http://wiki.tinycorelinux.net/wiki:creating_extensions)
or request an extension to be made in the Extension requests area of the forum (http://forum.tinycorelinux.net/index.php/board,46.0.html).
-
dconf.tcz is available though.
-
Thanks again for your very fast reply.
Damned. It's getting difficult :)
dconf.tcz is not working
-
dconf.tcz is not working
Really? gconf has been obsolete (in favour of dconf) for at least 4-5 years...
-
dconf.tcz is not working
Really? gconf has been obsolete (in favour of dconf) for at least 4-5 years...
Yeah, that's what I read, but... electron seems to be unfriendly :/
-
Sorry to resurrect this oldie, but i found the topic to be goldie..
Alrite, enough funnies..
Im just curious as the the status here, did you (Nonoss) get it working?
Cheers