| Consult the gcc manual.
The correct value for Core 2 Duo is nocona.
Regards,
Mike
-----Original Message-----
>From: Hector Centeno
>Sent: May 1, 2008 9:39 AM
>To: csound@lists.bath.ac.uk
>Subject: [Csnd] Re: Installing csound5 from source on fedora 8
>
>Hi Alan,
>
>Thank you for posting this guide. I've been building checkouts of
>Csound from CVS since long time using Fedora and always thought about
>starting some wiki or blog page where to post a guide for Linux users
>wanting to build Csound (I often see people in the list asking for
>instructions). The only step I found surprising in your guide was the
>one about changing the path to FLTK in custom.py. In all my builds
>(including the last one one month ago) using Fedora 8 I've never had
>to touch that file or had the problems with the math.h and dirent.h
>files. And I've been building with almost everything except for
>CsoundVST (and FLTK works). Did you try building without changing
>custom.py?
>
>I'm glad John answered the question regarding the value for gcc4opt,
>I've been trying to use that flag and getting the same error you got
>and since then forgot to try again. It might help with the
>performance. Is i686 the right value for a core2duo processor?
>
>Cheers,
>
>Hector
>
>
>On Wed, Apr 30, 2008 at 6:20 PM, Alan Peter Fitch wrote:
>> 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@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"
|