Installing Axoloti environment on any GNU+Linux system


#1

Continuing the discussion from Installing Axoloti on an 'Unsupported' Platform.

I have finally succeeded in writing portable packages for everything needed to run the Axoloti patcher, including compiling and uploading patches. The packages are for the functional package manager GNU Guix. Guix can be used on top of any GNU/Linux system (e.g. Debian, Mint, Arch, Fedora, Gentoo...), and it also has its own GNU system distribution (called GuixSD). It is supported for i686, x86_64, armhf, mips64el architectures (though currently Java is unavailable on the latter two).

With Guix and the packages I just finished it is a mere matter of running guix package -i axoloti-patcher as a regular user (once after Guix is installed) to install everything without "polluting" the global system environment.

I still need to clean up the package expressions to make them prettier, but I'm hopeful to be able to add them to Guix upstream very soon.


#2

Wow, I totally didn't expect to see GUIX mentioned here. Awesome work and great to see GUIX getting out there.


#3

I forgot to post an update. The cross-compiler toolchain is now part of GNU Guix, but the Axoloti patcher is not (yet), because it bundles a few Java libraries.

The patcher can be installed from my separate Guix package repository. The code and instructions on how to use it can be found here: http://git.elephly.net/software/guix-rekado.git

In short:

git clone http://git.elephly.net/software/guix-rekado.git
export GUIX_PACKAGE_PATH=$PWD/guix-rekado/libre
guix package -i axoloti

I'm packaging the Java libraries for Guix next, which will eventually allow us to move the package for the patcher to Guix proper.


#5

I am using fedora linux and running guix package -i axoloti-patcher returns this:
guix package: error: failed to connect to/var/guix/daemon-socket/socket': No such file or directory`

what do i do now?

edit: I used the copr enable lantw44/guix


#6

This indicates that the Guix daemon is not running. I don't know what copr enable lantw44/guix is, but we recommend installing Guix with the binary installation method as described here: https://www.gnu.org/software/guix/download/

(I forgot to give another update: axoloti-patcher is of course part of Guix already. There's no need to use my custom repository.)


#7

I don't know how to do that. I tried to install GUIX but I it just doesn't work. The installation instructions on their website produce some errors in between.

Is there another way to get the patcher? Can I use wine for example? I don't understand what GUIX is. Is it an OS or a package manager? I am very confused right now.

edit: I am trying to build from source... maybe that is easier :slight_smile:

...
[ChibiOS_2.6.9.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of ChibiOS_2.6.9.zip or
ChibiOS_2.6.9.zip.zip, and cannot find ChibiOS_2.6.9.zip.ZIP, period.

What do I do now?


#8

I just noticed this thread and saw mention of ARMHF.
Does that mean the Axo patcher will run on a Raspberry Pi 3?

Please say yes :smiley: