Installing Inferno on Debian amd64
Inferno, now open source, was a commercial attempt at applying the Plan 9 operating system’s concepts. It runs on top of the virtual machine Dis.
NOTE: Extract the tarball to /usr so it ends up in /usr/inferno. Inferno doesn’t currently support amd64 on Linux (only on Plan 9 as a host OS), so it has to be compiled for 32-bit Linux.
# dpkg --add-architecture i386 # aptitude update # aptitude install libxext-dev:i386 libxpm-dev:i386 \ x11proto-xext-dev:i386 gcc-multilib build-essential
For newer versions of GCC, on both the Google Code version and the Vita Nuova tarball, the -fno-omit-frame-pointer compiler flag is needed because the assembly support code for 386 Linux requires frame pointers .
So, after extracting the tarball and cd'ing into its root,
$ ed mkfiles/mkfile-Linux-386 /CFLAGS s/\\$/ -fno-omit-frame-pointer\\ . w q
…to add -fno-omit-frame-pointer to the CFLAGS.
Edit mkconfig. Set SYSHOST to Linux, OBJTYPE to 386.
$ ./makemk.sh $ mk install $ Linux/386/bin/emu -g1280x800 ; wm/wm
And you’re probably done. Feel free to post in the forums if you have any trouble getting it compiled.