Random Bits of Open Code

Update of "Chicken-IUP-ARM"

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.


Artifact ID: 7b7bd2d1865daa172ea6d720524a15e9c2acfe65
Page Name:Chicken-IUP-ARM
Date: 2018-07-11 03:50:06
Original User: matt
Parent: 4a8e764bcc0e3f45c33e6bea86b47d0883276494

Chicken Scheme With the IUP Gui egg


  1. Install the GNURoot Debian package from Google Play.
  2. You will need to do:
    apt update
    apt upgrade
    apt install libreadline-dev libwebkitgtk-dev libwebkitgtk-3.0-dev libpangox-1.0-0 zlib1g-dev libfreetype6-dev cmake libssl-dev  uuid-dev cmake curl ruby wget libgl1-mesa-dev libglu1-mesa-dev libgtk2.0-dev lua5.3 liblua5.1-0-dev liblua5.3-dev libsqlite3-dev libpq-dev libgtk-3-dev libftgl-dev
    NOTE: Probably not all those packages are needed.
  3. Get the unversioned files and untar in /. http://www.kiatoa.com/cgi-bin/fossils/opensrc/uv/pkgs/chicken-iup-arm-rasbian-06-08-2018.tar.gz. NOTE: For GNURoot you'll need to install libpng16: http://www.kiatoa.com/cgi-bin/fossils/opensrc/uv/pkgs/libpng16-from-raspbian.tar.gz
  4. To start up csi or compile code first source /opt/chicken/4.13.0/setup-chicken4x.sh

To build from source you can use the chicken-installall.sh script from http://www.kiatoa.com/cgi-bin/fossils/opensrc/dir?name=utils. I couldn't get it to work on GNURoot but you can build on Raspbian and copy the files to GNURoot.

How to display from GNURoot to a desktop via VNC:

  1. Install openssh-client and tightvncserver on the Gemini
    apt install openssh-client tightvncviewer
  2. Start tightvncserver
    (answer password question)
    export DISPLAY=:1
    cd /tmp
    xterm &
  3. Forward the vnc port to the desktop machine
    ssh -R 5901:localhost:5901 user@your.host.ip
  4. On the desktop machine connect to vnc server localhost:1 - on Ubuntu just type remo into the search - remote desktop viewer should already be installed.

How to display to XSDL on the Gemini or android phone: https://www.xda-developers.com/guide-installing-and-running-a-gnulinux-environment-on-any-android-device/