I’ve fixed a few bugs in the Monome m40h library, so it should be at least usable now.  After compiling the main C library with ./configure && make you can run phpize in the php directory followed by the standard ./configure && make && make install.  Python is next on the list, after that I’ll clean all this up a bit so the build is more friendly.