Well, one step closer.. seems the I need to source environment everytime I start a new shell in order to update $OPCODEDIR ... another issue entirely. After that has been done, csound almost works... csound -A -o /home/matt/csound/101 101.orc 101.sco creates 0 errors and a 101.aif that plays fine, however csound -odac 101.orc 101.sco Localisation of messages is disabled, using default language. time resolution is 1.000 ns 0dBFS level = 32768.0 Csound version 5.07 beta (float samples) Nov 15 2007 libsndfile-1.0.17 orchname: 101.orc scorename: 101.sco orch compiler: 11 lines read instr 101 Elapsed time at end of orchestra compile: real: 0.003s, CPU: 0.000s sorting score ... ... done Elapsed time at end of score sort: real: 0.004s, CPU: 0.000s Csound version 5.07 beta (float samples) Nov 15 2007 graphics not supported on this terminal, ascii substituted 0dBFS level = 32768.0 orch now loaded audio buffered in 256 sample-frame blocks ################################################################ # WARNING: OPCODEDIR IS NOT SET ! # # Csound requires this environment variable to be set to find # # its plugin libraries. If it is not set, you may experience # # missing opcodes, audio/MIDI drivers, or utilities. # ################################################################ *** error: unknown rtaudio module: 'PortAudio' Failed to initialise real time audio output inactive allocs returned to freespace end of score. overall amps: 0.0 overall samples out of range: 0 1 errors in performance Elapsed time at end of performance: real: 0.011s, CPU: 0.000s Removing temporary file /tmp/fileMISvfc.srt ... ....still the same error, but only in DAC. Any clue about this? Something to do with rtaudio? On Thursday 15 November 2007 8:24:25 pm David Worrall wrote: > did you do source ~/.bashrc? > > ( logging in to a new shell should do it as well) > > you are right in assuming these are shell variables not csound > command-line options (which are placed in the .csoundrc file. > > if it still doesn't work, send a copy of the contents of .bashrc > > (I'm answering this mainly because I may be the only one awake!) > > David > > On 16/11/2007, at 12:12 PM, Matt wrote: > > David, > > Thanks for the reply but this doesn't seem to be working. > > I edited .bashrc as suggested. > > On 'echo $OPCODEDIR' I receive just a blank line. > > > > Yes, I am running bash shell. > > > > I was reading the cSound manual about this (pg. 63): > > "You can set environmental variables on the command line or the > > configuration > > file .csoundrc by using the flag --env:NAME=VALE.......Please note > > that this > > method of setting environmental variables will not work for > > variables which > > are parsed before the command line arguments...the following > > environmental > > variables must be set on the system prior to running csound: > > OPCODEDIR..CSSTRINGS..." > > > > I assume that's what you were helping me to do, but like I said, still > > receiving the same error message from cSound5. > > > > On Thursday 15 November 2007 7:43:44 pm David Worrall wrote: > >> Hi Matt, I'm not on Linux but perhaps I can help > >> I presume you're running a bash shell.. > >> (if csh or other the commands are similar) > >> > >> If so, in your home directory find an existing, or create a file > >> called .bashrc > >> in it put > >> set OPCODEDIR='/usr/local/lib/csound/plugins' > >> set CSSTRNGS='/usr/local/share/csound/xmg' > >> > >> save the file and then, at the prompt, type > >> source ~/.bashrc > >> (this alerts the current shell to the new stuff) > >> > >> if you want to check that the shel 'knows' about its new variables, > >> at the bash prompt type > >> echo $OPCODEDIR > >> and > >> echo $CSSTRNGS > >> > >> and you see the strings filepaths you've set, above. > >> > >> David > >> > >> On 16/11/2007, at 11:13 AM, Matt Enkoan wrote: > >>> I just compiled csound5 in Ubuntu 7.10 as per instructions, > >>> everything went > >>> fine, I am just confused about one thing (very basic I think, but I > >>> am newb > >>> material) > >>> After running ./install.py I got the message: > >>> Csound installation has been successfully completed. > >>> Before running Csound, make sure that the following environment > >>> variables are set: > >>> OPCODEDIR=/usr/local/lib/csound/plugins > >>> CSSTRNGS=/usr/local/share/csound/xmg > >>> Csound can be uninstalled by running /usr/local/bin/uninstall- > >>> csound5 > >>> > >>> and similarly running csound: > >>> > >>> ################################################################ > >>> # WARNING: OPCODEDIR IS NOT > >>> SET ! # > >>> # Csound requires this environment variable to be set to > >>> find # > >>> # its plugin libraries. If it is not set, you may > >>> experience # > >>> # missing opcodes, audio/MIDI drivers, or > >>> utilities. # > >>> > >>> ################################################################ > >>> > >>> apparently I need to set some environmental variables. I think I > >>> read > >>> something about the command 'setenv', but that command is not > >>> available to > >>> me in terminal. > >>> > >>> can someone please explain to me how to do this? > >>> > >>> Victor Lazzarini wrote: > >>>> You will need at least > >>>> > >>>> 1. libsndfile (www.mega-nerd.com/libsndfile) > >>>> 2. scons (www.scons.org) > >>>> > >>>> Then you just have to rename ./custom.py.mkg > >>>> to custom.py and then run > >>>> > >>>> scons > >>>> > >>>> Csound will then build in the current directory. > >>>> To install, run ./install.py, with admin permissions. > >>>> > >>>> The Csound command will be installed in /usr/bin. > >>>> > >>>> Victor > >>>> > >>>>> Hi, > >>>>> > >>>>> I'm not very familiar with compiling from source in > >>>>> general, and I'm having a hard time finding documentation > >>>>> on how to build csound in linux or ubuntu. Is there a > >>>>> step-by-step list somewhere that can (at least somewhat) > >>>>> painlessly illustrate how to do this for Ubuntu? I've been > >>>>> attempting this for a while but have yet to get it > >>>>> working. > >>>>> > >>>>> Thanks, > >>>>> Jeremy Flores > >>>>> > >>>>> flores1@mit.edu > >>>>> > >>>>> > >>>>> -- > >>>>> Send bugs reports to this list. > >>>>> To unsubscribe, send email to > >>>>> csound-unsubscribe@lists.bath.ac.uk > >>>> > >>>> -- > >>>> Send bugs reports to this list. > >>>> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk > >>> > >>> -- > >>> View this message in context: http://www.nabble.com/compiling- > >>> csound-5.06-in-ubuntu-tf4178460.html#a13784856 > >>> Sent from the Csound - General mailing list archive at Nabble.com. > >>> > >>> > >>> > >>> Send bugs reports to this list. > >>> To unsubscribe, send email sympa@lists.bath.ac.uk with body > >>> "unsubscribe csound" > >> > >> _________________________________________________ > >> experimental polymedia: www.avatar.com.au > >> Sonic Communications Research Group, > >> University of Canberra: creative.canberra.edu.au/scrg/ > >> > >> > >> > >> > >> Send bugs reports to this list. > >> To unsubscribe, send email sympa@lists.bath.ac.uk with body > >> "unsubscribe > >> csound" > > > > Send bugs reports to this list. > > To unsubscribe, send email sympa@lists.bath.ac.uk with body > > "unsubscribe csound" > > _________________________________________________ > experimental polymedia: www.avatar.com.au > Sonic Communications Research Group, > University of Canberra: creative.canberra.edu.au/scrg/ > > > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > csound"