You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking for a simple graphics package for RPi3. This looks promising, but the installation instructions are incorrect, and there are no instructions for building from source.
So after an hour of guess the dependency hell, I got it to compile and install (14 warnings, but anyway).
Still can’t run any python examples.
/usr/local/lib/grx-3.0/examples/python/boxes.py
Traceback (most recent call last):
File "/usr/local/lib/grx-3.0/examples/python/boxes.py", line 24, in <module>
gi.require_version('Grx', '3.0')
File "/usr/lib/python3/dist-packages/gi/__init__.py", line 118, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Grx not available
Looks like another missing dependency, but I don’t know what.
IMHO, it would be easier to just install everything from the debian packages. Here is the missing keyring. You can unzip it an save it in /etc/apt/trusted.gpg.d/.
Activity
NickWaterton commentedon Feb 2, 2019
BTW this is what I get (checked out the stretch branch).
dlech commentedon Feb 2, 2019
Thanks for the feedback. Did you see this? https://github.com/ev3dev/grx/wiki/Compiling-the-code#advanced-command-line
NickWaterton commentedon Feb 2, 2019
No, that is well hidden. Thanks!
I have VSCode on my Windows setup, but not on my server (it’s headless). This is a good starting point though.
I’ll give it a try, thanks for the fast response.
NickWaterton commentedon Feb 2, 2019
Ok, there is no ./setup.deb.py file. Any way you can just tell me what the dependencies are?
dlech commentedon Feb 2, 2019
you can find the build dependencies here: https://github.com/ev3dev/grx/blob/ev3dev-stretch/debian/control
NickWaterton commentedon Feb 2, 2019
So after an hour of guess the dependency hell, I got it to compile and install (14 warnings, but anyway).
Still can’t run any python examples.
Looks like another missing dependency, but I don’t know what.
Any suggestions?
dlech commentedon Feb 2, 2019
Did you set all of the environment variables?
https://github.com/ev3dev/grx/wiki/Running-Programs#environment-variables
NickWaterton commentedon Feb 2, 2019
Ah Ha!
So - success! got boxes.py to run. Great - just got to get console-runner to install now...
Note: you need to run ldconfig as well before the libraries are found.
Thanks for all the help. Hopefully this will do what I'm looking for.
dlech commentedon Feb 2, 2019
IMHO, it would be easier to just install everything from the debian packages. Here is the missing keyring. You can unzip it an save it in
/etc/apt/trusted.gpg.d/.keyring.tar.gz
dlech commentedon Feb 2, 2019
Or you can just grab the .deb files and install them with
sudo dpkg -i <filename>(andsudo apt install -fto fix missing dependencies).e.g. http://archive.ev3dev.org/raspbian/pool/main/c/console-runner/