Record of some of the computer tech I deal with so that it's documented at least somewhere.

Saturday, 8 February 2014

Plan9port on CentOS - failed

Another distro, another set of nonsense.

I already had all the dev tools installed from doing courier

yum groupinstall 'Development Tools' yum install rpm-build gcc mysql-devel openssl-devel cyrus-sasl-devel pkgconfig zlib-devel pcre-devel openldap-devel postgresql-devel expect libtool-ltdl-devel openldap-servers libtool gdbm-devel pam-devel gamin-devel

So I don't know which of those is necessary for plan9port
Of course, we need the X11 code to compile rio & co The error is > cd /usr/local/plan9/src/cmd/devdraw; mk all 9c -I/usr/include x11-alloc.c x11-inc.h:17:28: error: X11/IntrinsicP.h: No such file or directory x11-inc.h:18:28: error: X11/StringDefs.h: No such file or directory

So first I tried this

yum install libX11-devel

no help, so then

yum install xorg-x11-proto-devel

no help, so then

yum install yum install libXt

oops not source code so no help, so then

yum install yum install libXt-devel

yay! that was the one.
not so fast Hot-Shot

>>> cd /usr/local/plan9/src/cmd/rio; mk all 9c -I/usr/include -DDEBUG -DSHAPE -DDEBUG_EV -DDEBUG event.c event.c:9:34: error: X11/extensions/shape.h: No such file or directory

so

yum install libXext-devel

woohoo

Not so fast Hot Shot

/home/matt/.vnc/xstartup: line 27: xsetroot: command not found sh: xsetroot: command not found

yum install xorg-x11-server-utils

Not so fast Hot Shot

rio: X_CreateWindow(0x20): BadMatch (invalid parameter attributes) rio: failure during initialisation; aborting

fucked, CentOS is now useless to me

No comments: