[sc-users] [linux] Primitive '_FilePutString' failed.
adrian segovia
ongofonqui at gmail.com
Mon Oct 15 16:09:35 PDT 2007
so
Supercollider on Ubuntu Linux
Home<http://swiki.hfbk-hamburg.de:8888/MusicTechnology/6> How
To <http://swiki.hfbk-hamburg.de:8888/MusicTechnology/807> Code
Pool<http://swiki.hfbk-hamburg.de:8888/MusicTechnology/524> Public
Library <http://swiki.hfbk-hamburg.de:8888/MusicTechnology/532>
Theory<http://swiki.hfbk-hamburg.de:8888/MusicTechnology/812>
Even <http://swiki.hfbk-hamburg.de:8888/MusicTechnology/808>
based on mails from
chris<http://www.nabble.com/ubuntu-feisty-and-supercollider-tf3617888.html#a10102013>and
Matt<http://www.nabble.com/ubuntu-feisty-and-supercollider-tf3617888.html#a10102013>
:
EITHER – from a base install of ubuntu studio <http://www.ubuntustudio.org/>(
7.04) (which has all the low latency and realtime stuff by default, and also
contains loads of other good audio/visual software)
- install the initial packages needed :
sudo apt-get install build-essential scons libsndfile1-dev
libasound2-dev subversion libjack0.100.0-dev libxt-dev fftw3
OR – from a base install of ubuntu <http://www.ubuntu.com/> feisty (7.04)
- install the initial packages needed :
sudo apt-get install build-essential scons libsndfile1-dev
libasound2-dev jackd libjack0.100.0-0 libjack0.100.0-dev qjackctl
subversion fftw3
- (optional but highly recommended) install the package
linux-lowlatency and add real-time capabilities to the audio group (will
require a reboot)
sudo apt-get install linux-lowlatency
sudo su -c 'echo @audio - rtprio 99 >> /etc/security/limits.conf'
sudo su -c 'echo @audio - memlock 250000 >> /etc/security/limits.conf'
sudo su -c 'echo @audio - nice -10 >> /etc/security/limits.conf'
BOTH INSTALLS, CONTINUE HERE –
- check out and install supercollider from subversion (don't bother
installing from ubuntu packages at all)
svn co https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk
supercollider
cd supercollider
scons PREFIX=/usr X11=yes SCEL=no LID=yes
sudo scons install
- install sced from http://artfwo.googlepages.com/sced by following
the instructions (it really is FAR better than using emacs) :)
- run qjackctl (which shows up in your sound & video menu, click
setup, and choose realtime. then boot jack up. you should get no errors...
- setup a nice directory for supercollider to use as a working folder
cd
mkdir scwork
cd scwork
mkdir synthdefs
- run gedit, enable the sced plugin, configure the plugin to your
scwork folder, then click tools -> supercollider mode, and off you go!
(hint: control-E is evaluate and escape is abort)
- if you get an error about primitive filePut not allowed,
re-configure sced, as it has usually forgotten that you chose scwork instead
of your home dir, then try again.
- Note: " the interpreter expects the "synthdef"-folder in /home/$USER
but i placed it somewhere else"
------------------------------
based on a mail by
Matt<http://www.nabble.com/ubuntu-feisty-and-supercollider-tf3617888.html#a10102013>
:
I believe it's not necesary to install realtime-lsm, because Ubuntu has
pam_rlimits for assigning resource limits to users. I've never used
realtime-lsm with ubuntu.
After updating from Edgy to Feisty, I installed the linux-lowlatency
metapackage, and then ran the 3 commands above (I think my old limits.conf
was overwritten on upgrade) and rebooted. After that I got no complaints
about realtime from either Jack or Supercollider. My pre-fiesty-upgrade
build of supercollider worked just as before.
Hope that saves some people a bit of time,
this is it;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.create.ucsb.edu/pipermail/sc-users/attachments/20071015/e351e943/attachment.htm
More information about the sc-users
mailing list