Here are my notes on installing csound5 from source on Fedora 8. I got a
segfault with the Linux binary installer hence the attempt to install
from source.
----------------------------------------------------------------
Building csound 5.08 from source
--------------------------------
1. download Csound5.08.tgz from sourceforge
2. tar xzf Csound5.08.tgz
3. cd Csound5.08
4. run scons -h and work out what devel packages to install. I installed
libsndfile-devel
portaudio-devel
fltk-devel
fluidsynth-devel
jack-audio-connection-kit-devel
liblo-devel
tcl-devel
tk-devel
5. edit custom.py and modify the path to fltk as follows
if sys.platform[:5] == 'linux':
platform = 'linux'
customCPPPATH.append('/usr/include/FL')
customLIBPATH.append('/usr/lib')
6. try and run scons as follows
scons useDouble=1 buildCsound5GUI=1 generatePDF=1 \
buildStkOpcodes=1 buildTclcsound=1 buildVirtual=1 \
useOSC=1 buildLoris=0
(note I couldn't use gcc4opt=1 as I got an error in config.log with
an unrecognised option mtune=1)
This failed as /usr/include/FL (the fltk include files) included
a file math.h, which was used in preference to the system math.h
I tried renaming /usr/include/FL/math.h to /usr/include/FL/fl_math.h
The next failure was with dirent.h - I tried renaming
/usr/include/FL/dirent.h to /usr/include/FL/fl_dirent.h
A better solution with gcc would be to use -idirafter /usr/include/FL
which would cause that directory to be searched *after* the system
include paths, thus ensuring the correct version of math.h and dirent.h.
However I don't know how to do that with scons.
The next failure was the missing "fluid" command. To fix this:
yum install fltk-fluid
Finally building completed.
7. To install
./install.py
8. Edit your .cshrc or .bash_profile and set
export OPCODEDIR64=/usr/local/lib/csound/plugins64
or
setenv OPCODEDIR64 /usr/local/lib/csound/plugins64
9. set
RAWWAVE_PATH /usr/local/share/csound/rawwaves
in either .bash_profile or .cshrc
--
Alan Fitch
Send bugs reports to this list.
To unsubscribe, send email
sympa@... with body "unsubscribe csound"