Welcome to Our Community

Some features disabled for guests. Register Today.

Anybody got it to compile on raspi3?

Discussion in 'Control Software' started by O G, Mar 2, 2021.

  1. O G

    O G New
    Builder

    Joined:
    May 30, 2019
    Messages:
    24
    Likes Received:
    2
    I used to have it working but had to reset (and my dumb *** didn't make a backup of the image).

    I remember you have to get `npm run dist` to work. But `package.json` has the wrong flags.

    "dist": "electron-builder --ia32 --x64",
    needs to be changed to

    "dist": "electron-builder -l --armv7l",​

    but beyond that I don't remember and can't get it to work.

    $ npm run dist
    [...]
    /home/pi/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86/lib/ruby/bin/ruby: line 6: /home/pi/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86/lib/ruby/bin.real/ruby: cannot execute binary file: Exec format error

    /home/pi/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86/lib/ruby/bin/ruby: line 6: /home/pi/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86/lib/ruby/bin.real/ruby: Success​
     
  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,497
    Likes Received:
    4,421
    Long ago. Not anymore



    Refer the Wiki: OpenBuilds/OpenBuilds-CONTROL
     
  3. O G

    O G New
    Builder

    Joined:
    May 30, 2019
    Messages:
    24
    Likes Received:
    2
    Yeah the script in the wiki definitely does not work.
     
  4. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,497
    Likes Received:
    4,421
    Thanks for the feedback

    Identify where it fails and adapt. As the Wiki mentions we do not officially support the Pi, but happy to update Wiki/script if the community keeps abreast of upstream changes and requirements :)

    Or at least provide the log of where it fails :)
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice