SuperCollider Mandrake Packages

in the process of preparing for the supercollider workshop i gave at the end of my residencyi at access-space, i hastily crated RPM packages of SuperCollider3 and SCUM/sclangx.

these packages need a lot of disclaimers. to put it bluntly, they are crap. they were made using checkinstall. checkinstall is a great program, but when it's handle is cranked blindly, it makes packages that are not fit for wide distribution. i cranked the handle most blindly. good packages are made by a real package maintainer who understands the do's and don'ts of your linux distro. that isn't me. these are mandrake packages, and i'm a debian user. not even a debian maintainer. this is what you are getting yourself in for.

the most important thing to remember is to remove these packages before installing an official supercollider package, using rpm -e.

with that out of the way, here is what you need to do to install these packages.

as root

you need to install a few things before these packages will install, by executing this command:

urpmi libhowl1-devel libjack0-devel libsndfile1-devel libfltk1.1 libalsa2-devel

then you need to install both packages:

rpm -i SuperCollider3-3.0-1.i386.rpm sclangx-0.0.2a-1.i386.rpm

as a side-effect of their checkinstall-creation, these packages install to /usr/local. you may need to add this line to /etc/ld.so.conf:

/usr/local/lib

then run ldconfig.

as yourself

because some of the elements are in strange places, i've made configuration files for emacs and supercollider which point to the right places. copy the following files to your home directory

finally, you need to make a working directory for supercollider. the configuration files above are set to use sc3 in your home directory. to set that up, execute these commands at a terminal.

cd
mkdir sc3
cd sc3
mkdir synthdefs
ln -sf /usr/share/doc/SuperCollider3-3.0/sounds
	

what is missing

when making a package with checkinstall, the easiest place to put extra files that don't automatically get installed, is the packages /usr/share/doc directory. neither SuperCollider3 or sclangx installs it's help files, so i put their help files in the doc directory. the problem with this is that the help files for SuperCollider3 and sclangx end up in their own, different directories. unfortunately, you can only tell emacs to look in one directory for it's help files. so, i pointed it at the SuperCollider3 help files. when searching for help in emacs (with C-c C-h), it won't find any of the SCUM/sclangx files, just the SuperCollider3 ones.

using them

from this point, you should be able to start supercollider by running:

emacs -sclang