Skip to content

RPi installation instructions do not work #14

Open

Description

@NickWaterton

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.

Specifically for RPi the file https://github.com/ev3dev/grx/raw/ev3dev-stretch/.travis/ev3dev-archive-keyring.gpg does not exist, so you can’t install from the repository.

I cloned the git, but none of the standard build tools work, and I don’t know the dependencies.

I could spend a lot of time working it out, but why not make it easy? Just provide some build/install instructions.

Activity

  1. NickWaterton commented on Feb 2, 2019

    @NickWaterton
    Author

    BTW this is what I get (checked out the stretch branch).

    pi@raspberrypi:~/grx/build $ cmake -L -DCMAKE_BUILD_TYPE="Release" ..
    CMake Error at /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
      Could NOT find GLibGenMarshal (missing: GLIB_GENMARSHAL_EXE)
    Call Stack (most recent call first):
      /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
      cmake/FindGLibGenMarshal.cmake:32 (find_package_handle_standard_args)
      src/CMakeLists.txt:215 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    See also "/home/pi/grx/build/CMakeFiles/CMakeOutput.log".
    -- Cache values
    CMAKE_BUILD_TYPE:STRING=Release
    CMAKE_INSTALL_PREFIX:PATH=/usr/local
    GRX_DEBUG:STRING=OFF
    GRX_ENABLE_DOC:BOOL=Yes
    GRX_PLUGIN_GTK3:BOOL=Yes
    GRX_PLUGIN_LINUXFB:BOOL=Yes
    
  2. NickWaterton commented on Feb 2, 2019

    @NickWaterton
    Author

    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.

  3. NickWaterton commented on Feb 2, 2019

    @NickWaterton
    Author

    Ok, there is no ./setup.deb.py file. Any way you can just tell me what the dependencies are?

  4. NickWaterton commented on Feb 2, 2019

    @NickWaterton
    Author

    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.

    Any suggestions?

  5. NickWaterton commented on Feb 2, 2019

    @NickWaterton
    Author

    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.

  6. dlech commented on Feb 2, 2019

    @dlech
    Member

    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

  7. dlech commented on Feb 2, 2019

    @dlech
    Member

    Or you can just grab the .deb files and install them with sudo dpkg -i <filename> (and sudo apt install -f to fix missing dependencies).

    e.g. http://archive.ev3dev.org/raspbian/pool/main/c/console-runner/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions