Chicken Scheme With the IUP Gui egg

Install:

  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. You will also need execstack
    apt install execstack
  3. Get the files from chicken-iup-arm-rasbian-06-08-2018.tar.gz and untar into "/". NOTE: For GNURoot you'll need to install libpng16: libpng16-from-raspbian.tar.gz
    (cd /;tar xzf $PWD/chicken-iup-arm-rasbian-06-08-2018.tar.gz)
    (cd /;tar xzf $PWD/libpng16-from-raspbian.tar.gz)
  4. Unset the stack execute bits as needed:
    execstack -c /usr/lib/libcallback.so.0.0
  5. 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
    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/