Csound Csound-dev Csound-tekno Search About

[Csnd] Building Csound 6 on Linux

Date2013-09-07 22:35
FromAlan Peter Fitch
Subject[Csnd] Building Csound 6 on Linux
Can someone point me to building Csound6 on Linux. The README points to
the online manual which documents using scons. I think I now need to use
cmake (from lurking on the list).

I've downloaded the CSound 6 manual, and that also documents scons.

I've downloaded and untarred the csound source from Sourceforge, and
I've installed cmake. I'm on Fedora 18.

What do I do next?

kind regards
Alan

-- 
Alan Fitch


Date2013-09-07 23:24
FromAlan Peter Fitch
SubjectRe: [Csnd] Building Csound 6 on Linux
On 07/09/13 22:35, Alan Peter Fitch wrote:
> Can someone point me to building Csound6 on Linux. The README points to
> the online manual which documents using scons. I think I now need to use
> cmake (from lurking on the list).
>
> I've downloaded the CSound 6 manual, and that also documents scons.
>
> I've downloaded and untarred the csound source from Sourceforge, and
> I've installed cmake. I'm on Fedora 18.
>
> What do I do next?
>
>
Just replying to myself, in case it's useful to others...

I did
cd Csound6.00.1
cmake ./

That revealed various missing libraries and headers, so I did

rm CMakeCache.txt

su -c "yum install ladspa ladspa-devel"
su -c "yum install fluidsynth fluidsynth-devel"
su -c "yum install boost boost-devel java-devel"
su -c "yum install jack-audio-connection-kit-devel"
su -c "yum install fltk fltk-devel"
su -c "yum install swig swig-devel"
su -c "yum install pulseaudio-libs-devel"
su -c "yum install portaudio portmidi portaudio-devel portmidi-devel"
su -c "yum install fltk-fluid"
su -c "yum install stk stk-devel"
su -c "yum install python-libs"
su -c "yum install python-devel"
su -c "yum install liblo liblo-devel"
su -c "yum install lua lua-devel"

I still couldn't build "lua51", but I don't care.

cmake ./
make
su -c "make install"
su -c "ldconfig /usr/local/lib"

And then I could run the csound command.

regards
Alan

-- 
Alan Fitch


Date2013-09-08 11:37
Fromjoachim heintz
SubjectRe: [Csnd] Building Csound 6 on Linux
hi alan -

there is a build instruction for debian/ubuntu on the new sourceforge wiki:
http://sourceforge.net/p/csound/wiki/Build_Debian_Ubuntu/

it would be great if you could conrtibute a description for fedora. if 
you don't have access to the wiki, you can send it to me and i will put 
it in.

i think this is definitely the best place for these instructions. the 
manual, and even the floss manual are too "slow" for this up-to-date stuff.

best -

	joachim


Am 08.09.2013 00:24, schrieb Alan Peter Fitch:
> On 07/09/13 22:35, Alan Peter Fitch wrote:
>> Can someone point me to building Csound6 on Linux. The README points to
>> the online manual which documents using scons. I think I now need to use
>> cmake (from lurking on the list).
>>
>> I've downloaded the CSound 6 manual, and that also documents scons.
>>
>> I've downloaded and untarred the csound source from Sourceforge, and
>> I've installed cmake. I'm on Fedora 18.
>>
>> What do I do next?
>>
>>
> Just replying to myself, in case it's useful to others...
>
> I did
> cd Csound6.00.1
> cmake ./
>
> That revealed various missing libraries and headers, so I did
>
> rm CMakeCache.txt
>
> su -c "yum install ladspa ladspa-devel"
> su -c "yum install fluidsynth fluidsynth-devel"
> su -c "yum install boost boost-devel java-devel"
> su -c "yum install jack-audio-connection-kit-devel"
> su -c "yum install fltk fltk-devel"
> su -c "yum install swig swig-devel"
> su -c "yum install pulseaudio-libs-devel"
> su -c "yum install portaudio portmidi portaudio-devel portmidi-devel"
> su -c "yum install fltk-fluid"
> su -c "yum install stk stk-devel"
> su -c "yum install python-libs"
> su -c "yum install python-devel"
> su -c "yum install liblo liblo-devel"
> su -c "yum install lua lua-devel"
>
> I still couldn't build "lua51", but I don't care.
>
> cmake ./
> make
> su -c "make install"
> su -c "ldconfig /usr/local/lib"
>
> And then I could run the csound command.
>
> regards
> Alan
>

Date2013-09-08 12:02
FromAnders Genell
SubjectRe: [Csnd] Building Csound 6 on Linux
I'd just like to chime in here that those build instructions for Ubuntu are somewhat frugal, though they of course do work. 

The thing is that in the csound manual build instructions using scons, there are a number of options for building different opcodes. Corresponding instructions for cmake are not included yet, and not all opcodes are built by default. 

I would love if there was a cmake setup included in the repos that builds a full and complete version of csound6 on Linux. 

Regards,
Anders



8 sep 2013 kl. 12:37 skrev joachim heintz :

> hi alan -
> 
> there is a build instruction for debian/ubuntu on the new sourceforge wiki:
> http://sourceforge.net/p/csound/wiki/Build_Debian_Ubuntu/
> 
> it would be great if you could conrtibute a description for fedora. if you don't have access to the wiki, you can send it to me and i will put it in.
> 
> i think this is definitely the best place for these instructions. the manual, and even the floss manual are too "slow" for this up-to-date stuff.
> 
> best -
> 
>    joachim
> 
> 
> Am 08.09.2013 00:24, schrieb Alan Peter Fitch:
>> On 07/09/13 22:35, Alan Peter Fitch wrote:
>>> Can someone point me to building Csound6 on Linux. The README points to
>>> the online manual which documents using scons. I think I now need to use
>>> cmake (from lurking on the list).
>>> 
>>> I've downloaded the CSound 6 manual, and that also documents scons.
>>> 
>>> I've downloaded and untarred the csound source from Sourceforge, and
>>> I've installed cmake. I'm on Fedora 18.
>>> 
>>> What do I do next?
>> Just replying to myself, in case it's useful to others...
>> 
>> I did
>> cd Csound6.00.1
>> cmake ./
>> 
>> That revealed various missing libraries and headers, so I did
>> 
>> rm CMakeCache.txt
>> 
>> su -c "yum install ladspa ladspa-devel"
>> su -c "yum install fluidsynth fluidsynth-devel"
>> su -c "yum install boost boost-devel java-devel"
>> su -c "yum install jack-audio-connection-kit-devel"
>> su -c "yum install fltk fltk-devel"
>> su -c "yum install swig swig-devel"
>> su -c "yum install pulseaudio-libs-devel"
>> su -c "yum install portaudio portmidi portaudio-devel portmidi-devel"
>> su -c "yum install fltk-fluid"
>> su -c "yum install stk stk-devel"
>> su -c "yum install python-libs"
>> su -c "yum install python-devel"
>> su -c "yum install liblo liblo-devel"
>> su -c "yum install lua lua-devel"
>> 
>> I still couldn't build "lua51", but I don't care.
>> 
>> cmake ./
>> make
>> su -c "make install"
>> su -c "ldconfig /usr/local/lib"
>> 
>> And then I could run the csound command.
>> 
>> regards
>> Alan
> 
> 
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>           https://sourceforge.net/p/csound/tickets/
> csound5:
>           https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 


Date2013-09-08 12:24
FromAlan Peter Fitch
SubjectRe: [Csnd] Building Csound 6 on Linux
On 08/09/13 11:37, joachim heintz wrote:
> hi alan -
>
> there is a build instruction for debian/ubuntu on the new sourceforge wiki:
> http://sourceforge.net/p/csound/wiki/Build_Debian_Ubuntu/
>
> it would be great if you could conrtibute a description for fedora. if 
> you don't have access to the wiki, you can send it to me and i will put 
> it in.
Is it possible for me to get edit access to the wiki, then I can add the
instructions myself.

My sourceforge user name is apfitch,

regards
Alan

> i think this is definitely the best place for these instructions. the 
> manual, and even the floss manual are too "slow" for this up-to-date stuff.
>
> best -
>
> 	joachim
>
>
> Am 08.09.2013 00:24, schrieb Alan Peter Fitch:
>> On 07/09/13 22:35, Alan Peter Fitch wrote:
>>> Can someone point me to building Csound6 on Linux. The README points to
>>> the online manual which documents using scons. I think I now need to use
>>> cmake (from lurking on the list).
>>>
>>> I've downloaded the CSound 6 manual, and that also documents scons.
>>>
>>> I've downloaded and untarred the csound source from Sourceforge, and
>>> I've installed cmake. I'm on Fedora 18.
>>>
>>> What do I do next?
>>>
>>>
>> Just replying to myself, in case it's useful to others...
>>
>> I did
>> cd Csound6.00.1
>> cmake ./
>>
>> That revealed various missing libraries and headers, so I did
>>
>> rm CMakeCache.txt
>>
>> su -c "yum install ladspa ladspa-devel"
>> su -c "yum install fluidsynth fluidsynth-devel"
>> su -c "yum install boost boost-devel java-devel"
>> su -c "yum install jack-audio-connection-kit-devel"
>> su -c "yum install fltk fltk-devel"
>> su -c "yum install swig swig-devel"
>> su -c "yum install pulseaudio-libs-devel"
>> su -c "yum install portaudio portmidi portaudio-devel portmidi-devel"
>> su -c "yum install fltk-fluid"
>> su -c "yum install stk stk-devel"
>> su -c "yum install python-libs"
>> su -c "yum install python-devel"
>> su -c "yum install liblo liblo-devel"
>> su -c "yum install lua lua-devel"
>>
>> I still couldn't build "lua51", but I don't care.
>>
>> cmake ./
>> make
>> su -c "make install"
>> su -c "ldconfig /usr/local/lib"
>>
>> And then I could run the csound command.
>>
>> regards
>> Alan
>>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>


-- 
Alan Fitch


Date2013-09-08 12:33
FromSteven Yi
SubjectRe: [Csnd] Building Csound 6 on Linux
Hi Alan,

I've added you to the manual group.  I think that should allow you
edit permissions. Give it a try now and if there's any issues just let
me know.

Thanks!
steven

On Sun, Sep 8, 2013 at 12:24 PM, Alan Peter Fitch  wrote:
> On 08/09/13 11:37, joachim heintz wrote:
>> hi alan -
>>
>> there is a build instruction for debian/ubuntu on the new sourceforge wiki:
>> http://sourceforge.net/p/csound/wiki/Build_Debian_Ubuntu/
>>
>> it would be great if you could conrtibute a description for fedora. if
>> you don't have access to the wiki, you can send it to me and i will put
>> it in.
> Is it possible for me to get edit access to the wiki, then I can add the
> instructions myself.
>
> My sourceforge user name is apfitch,
>
> regards
> Alan
>
>> i think this is definitely the best place for these instructions. the
>> manual, and even the floss manual are too "slow" for this up-to-date stuff.
>>
>> best -
>>
>>       joachim
>>
>>
>> Am 08.09.2013 00:24, schrieb Alan Peter Fitch:
>>> On 07/09/13 22:35, Alan Peter Fitch wrote:
>>>> Can someone point me to building Csound6 on Linux. The README points to
>>>> the online manual which documents using scons. I think I now need to use
>>>> cmake (from lurking on the list).
>>>>
>>>> I've downloaded the CSound 6 manual, and that also documents scons.
>>>>
>>>> I've downloaded and untarred the csound source from Sourceforge, and
>>>> I've installed cmake. I'm on Fedora 18.
>>>>
>>>> What do I do next?
>>>>
>>>>
>>> Just replying to myself, in case it's useful to others...
>>>
>>> I did
>>> cd Csound6.00.1
>>> cmake ./
>>>
>>> That revealed various missing libraries and headers, so I did
>>>
>>> rm CMakeCache.txt
>>>
>>> su -c "yum install ladspa ladspa-devel"
>>> su -c "yum install fluidsynth fluidsynth-devel"
>>> su -c "yum install boost boost-devel java-devel"
>>> su -c "yum install jack-audio-connection-kit-devel"
>>> su -c "yum install fltk fltk-devel"
>>> su -c "yum install swig swig-devel"
>>> su -c "yum install pulseaudio-libs-devel"
>>> su -c "yum install portaudio portmidi portaudio-devel portmidi-devel"
>>> su -c "yum install fltk-fluid"
>>> su -c "yum install stk stk-devel"
>>> su -c "yum install python-libs"
>>> su -c "yum install python-devel"
>>> su -c "yum install liblo liblo-devel"
>>> su -c "yum install lua lua-devel"
>>>
>>> I still couldn't build "lua51", but I don't care.
>>>
>>> cmake ./
>>> make
>>> su -c "make install"
>>> su -c "ldconfig /usr/local/lib"
>>>
>>> And then I could run the csound command.
>>>
>>> regards
>>> Alan
>>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>             https://sourceforge.net/p/csound/tickets/
>> csound5:
>>             https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>>
>>
>
>
> --
> Alan Fitch
>
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>

Date2013-09-08 12:50
FromSteven Yi
SubjectRe: [Csnd] Building Csound 6 on Linux
Hi Anders,

Could you explain further what you mean? (particularly "cmake setup"
in your last sentence)

The cmake build files have been setup to build everything for which
dependencies can be satisfied. If build target could not be created,
the build should be reporting that it could not be built.  Perhaps
these messages are not descriptive enough to explain what is not being
found?

Are you looking for some script that's going to run all the apt-get
install commands to install every dependency for you on Ubuntu?

steven

On Sun, Sep 8, 2013 at 12:02 PM, Anders Genell  wrote:
> I'd just like to chime in here that those build instructions for Ubuntu are somewhat frugal, though they of course do work.
>
> The thing is that in the csound manual build instructions using scons, there are a number of options for building different opcodes. Corresponding instructions for cmake are not included yet, and not all opcodes are built by default.
>
> I would love if there was a cmake setup included in the repos that builds a full and complete version of csound6 on Linux.
>
> Regards,
> Anders
>
>
>
> 8 sep 2013 kl. 12:37 skrev joachim heintz :
>
>> hi alan -
>>
>> there is a build instruction for debian/ubuntu on the new sourceforge wiki:
>> http://sourceforge.net/p/csound/wiki/Build_Debian_Ubuntu/
>>
>> it would be great if you could conrtibute a description for fedora. if you don't have access to the wiki, you can send it to me and i will put it in.
>>
>> i think this is definitely the best place for these instructions. the manual, and even the floss manual are too "slow" for this up-to-date stuff.
>>
>> best -
>>
>>    joachim
>>
>>
>> Am 08.09.2013 00:24, schrieb Alan Peter Fitch:
>>> On 07/09/13 22:35, Alan Peter Fitch wrote:
>>>> Can someone point me to building Csound6 on Linux. The README points to
>>>> the online manual which documents using scons. I think I now need to use
>>>> cmake (from lurking on the list).
>>>>
>>>> I've downloaded the CSound 6 manual, and that also documents scons.
>>>>
>>>> I've downloaded and untarred the csound source from Sourceforge, and
>>>> I've installed cmake. I'm on Fedora 18.
>>>>
>>>> What do I do next?
>>> Just replying to myself, in case it's useful to others...
>>>
>>> I did
>>> cd Csound6.00.1
>>> cmake ./
>>>
>>> That revealed various missing libraries and headers, so I did
>>>
>>> rm CMakeCache.txt
>>>
>>> su -c "yum install ladspa ladspa-devel"
>>> su -c "yum install fluidsynth fluidsynth-devel"
>>> su -c "yum install boost boost-devel java-devel"
>>> su -c "yum install jack-audio-connection-kit-devel"
>>> su -c "yum install fltk fltk-devel"
>>> su -c "yum install swig swig-devel"
>>> su -c "yum install pulseaudio-libs-devel"
>>> su -c "yum install portaudio portmidi portaudio-devel portmidi-devel"
>>> su -c "yum install fltk-fluid"
>>> su -c "yum install stk stk-devel"
>>> su -c "yum install python-libs"
>>> su -c "yum install python-devel"
>>> su -c "yum install liblo liblo-devel"
>>> su -c "yum install lua lua-devel"
>>>
>>> I still couldn't build "lua51", but I don't care.
>>>
>>> cmake ./
>>> make
>>> su -c "make install"
>>> su -c "ldconfig /usr/local/lib"
>>>
>>> And then I could run the csound command.
>>>
>>> regards
>>> Alan
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>           https://sourceforge.net/p/csound/tickets/
>> csound5:
>>           https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>>
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>

Date2013-09-08 14:43
FromAlan Peter Fitch
SubjectRe: [Csnd] Building Csound 6 on Linux
On 08/09/13 12:33, Steven Yi wrote:
> Hi Alan,
>
> I've added you to the manual group.  I think that should allow you
> edit permissions. Give it a try now and if there's any issues just let
> me know.

Hi Steven,

I've got permission to make a page, so I've created this page:

https://sourceforge.net/p/csound/wiki/Building%20and%20Installing%20Csound%206%20on%20Fedora%2018/

However I don't have permission to put a link to that page in the home
page of the wiki, so if you could do that for me, that would be great,

regards
Alan

> Thanks!
> steven
>
> On Sun, Sep 8, 2013 at 12:24 PM, Alan Peter Fitch  wrote:
>> On 08/09/13 11:37, joachim heintz wrote:
>>> hi alan -
>>>
>>> there is a build instruction for debian/ubuntu on the new sourceforge wiki:
>>> http://sourceforge.net/p/csound/wiki/Build_Debian_Ubuntu/
>>>
>>> it would be great if you could conrtibute a description for fedora. if
>>> you don't have access to the wiki, you can send it to me and i will put
>>> it in.
>> Is it possible for me to get edit access to the wiki, then I can add the
>> instructions myself.
>>
>> My sourceforge user name is apfitch,
>>
>> regards
>> Alan
>>
>>> i think this is definitely the best place for these instructions. the
>>> manual, and even the floss manual are too "slow" for this up-to-date stuff.
>>>
>>> best -
>>>
>>>       joachim
>>>
>>>
>>> Am 08.09.2013 00:24, schrieb Alan Peter Fitch:
>>>> On 07/09/13 22:35, Alan Peter Fitch wrote:
>>>>> Can someone point me to building Csound6 on Linux. The README points to
>>>>> the online manual which documents using scons. I think I now need to use
>>>>> cmake (from lurking on the list).
>>>>>
>>>>> I've downloaded the CSound 6 manual, and that also documents scons.
>>>>>
>>>>> I've downloaded and untarred the csound source from Sourceforge, and
>>>>> I've installed cmake. I'm on Fedora 18.
>>>>>
>>>>> What do I do next?
>>>>>
>>>>>
>>>> Just replying to myself, in case it's useful to others...
>>>>
>>>> I did
>>>> cd Csound6.00.1
>>>> cmake ./
>>>>
>>>> That revealed various missing libraries and headers, so I did
>>>>
>>>> rm CMakeCache.txt
>>>>
>>>> su -c "yum install ladspa ladspa-devel"
>>>> su -c "yum install fluidsynth fluidsynth-devel"
>>>> su -c "yum install boost boost-devel java-devel"
>>>> su -c "yum install jack-audio-connection-kit-devel"
>>>> su -c "yum install fltk fltk-devel"
>>>> su -c "yum install swig swig-devel"
>>>> su -c "yum install pulseaudio-libs-devel"
>>>> su -c "yum install portaudio portmidi portaudio-devel portmidi-devel"
>>>> su -c "yum install fltk-fluid"
>>>> su -c "yum install stk stk-devel"
>>>> su -c "yum install python-libs"
>>>> su -c "yum install python-devel"
>>>> su -c "yum install liblo liblo-devel"
>>>> su -c "yum install lua lua-devel"
>>>>
>>>> I still couldn't build "lua51", but I don't care.
>>>>
>>>> cmake ./
>>>> make
>>>> su -c "make install"
>>>> su -c "ldconfig /usr/local/lib"
>>>>
>>>> And then I could run the csound command.
>>>>
>>>> regards
>>>> Alan
>>>>
>>> Send bugs reports to the Sourceforge bug trackers
>>> csound6:
>>>             https://sourceforge.net/p/csound/tickets/
>>> csound5:
>>>             https://sourceforge.net/p/csound/bugs/
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>
>>>
>>>
>>
>> --
>> Alan Fitch
>>
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>             https://sourceforge.net/p/csound/tickets/
>> csound5:
>>             https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>
>


-- 
Alan Fitch


Date2013-09-08 14:49
FromAnders Genell
SubjectRe: [Csnd] Building Csound 6 on Linux
Hi Steven!

What I mean is a cmake project file, or whatever they are called, that contain build flags for cmake. I'll include below an old email from me to the list where I included som extra flags I needed to build Csound6 on Ubuntu 12.04. 

I am no developer and have never used  cmake before this so It is very likely the problem is very much user related, but a simple way of building csound6 with all bells and whistles would be very useful for myself as well as others, or so I at least believe. 


To follow up, I managed to build the Lua opcodes, but not the Faust opcodes and not the wiimote or p5glove opcodes.
Right now I issue the following command to build:
cmake -D LUA_LIBRARIES=/usr/lib/i386-linux-gnu/libluajit-5.1.so -D LUA_INCLUDE_DIR=/usr/include/luajit-2.0/ -D EIGEN_DENSE=/usr/include/eigen3/Eigen/Dense -D BUILD_CSOUND_AC:BOOL="ON"

I had to build llvm from source using cmake in order to get LLVM-config.cmake on my system, which was needed to build faust opcodes, but the faust libraries cant be found, and looking in /usr/lib/faust/ shows a number of makefiles and cpp files. How do I build against library source code? Maybe I, like Faust, need to strike a deal with the devil himself?



Regards,
Anders

8 sep 2013 kl. 13:50 skrev Steven Yi <stevenyi@gmail.com>:

Hi Anders,

Could you explain further what you mean? (particularly "cmake setup"
in your last sentence)

The cmake build files have been setup to build everything for which
dependencies can be satisfied. If build target could not be created,
the build should be reporting that it could not be built.  Perhaps
these messages are not descriptive enough to explain what is not being
found?

Are you looking for some script that's going to run all the apt-get
install commands to install every dependency for you on Ubuntu?

steven

On Sun, Sep 8, 2013 at 12:02 PM, Anders Genell <anders.genell@gmail.com> wrote:
I'd just like to chime in here that those build instructions for Ubuntu are somewhat frugal, though they of course do work.

The thing is that in the csound manual build instructions using scons, there are a number of options for building different opcodes. Corresponding instructions for cmake are not included yet, and not all opcodes are built by default.

I would love if there was a cmake setup included in the repos that builds a full and complete version of csound6 on Linux.

Regards,
Anders



8 sep 2013 kl. 12:37 skrev joachim heintz <jh@joachimheintz.de>:

hi alan -

there is a build instruction for debian/ubuntu on the new sourceforge wiki:
http://sourceforge.net/p/csound/wiki/Build_Debian_Ubuntu/

it would be great if you could conrtibute a description for fedora. if you don't have access to the wiki, you can send it to me and i will put it in.

i think this is definitely the best place for these instructions. the manual, and even the floss manual are too "slow" for this up-to-date stuff.

best -

  joachim


Am 08.09.2013 00:24, schrieb Alan Peter Fitch:
On 07/09/13 22:35, Alan Peter Fitch wrote:
Can someone point me to building Csound6 on Linux. The README points to
the online manual which documents using scons. I think I now need to use
cmake (from lurking on the list).

I've downloaded the CSound 6 manual, and that also documents scons.

I've downloaded and untarred the csound source from Sourceforge, and
I've installed cmake. I'm on Fedora 18.

What do I do next?
Just replying to myself, in case it's useful to others...

I did
cd Csound6.00.1
cmake ./

That revealed various missing libraries and headers, so I did

rm CMakeCache.txt

su -c "yum install ladspa ladspa-devel"
su -c "yum install fluidsynth fluidsynth-devel"
su -c "yum install boost boost-devel java-devel"
su -c "yum install jack-audio-connection-kit-devel"
su -c "yum install fltk fltk-devel"
su -c "yum install swig swig-devel"
su -c "yum install pulseaudio-libs-devel"
su -c "yum install portaudio portmidi portaudio-devel portmidi-devel"
su -c "yum install fltk-fluid"
su -c "yum install stk stk-devel"
su -c "yum install python-libs"
su -c "yum install python-devel"
su -c "yum install liblo liblo-devel"
su -c "yum install lua lua-devel"

I still couldn't build "lua51", but I don't care.

cmake ./
make
su -c "make install"
su -c "ldconfig /usr/local/lib"

And then I could run the csound command.

regards
Alan


Send bugs reports to the Sourceforge bug trackers
csound6:
         https://sourceforge.net/p/csound/tickets/
csound5:
         https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Send bugs reports to the Sourceforge bug trackers
csound6:
           https://sourceforge.net/p/csound/tickets/
csound5:
           https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Send bugs reports to the Sourceforge bug trackers
csound6:
           https://sourceforge.net/p/csound/tickets/
csound5:
           https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-09-08 15:17
FromAlan Peter Fitch
SubjectRe: [Csnd] Building Csound 6 on Linux
On 08/09/13 12:33, Steven Yi wrote:
> Hi Alan,
>
> I've added you to the manual group.  I think that should allow you
> edit permissions. Give it a try now and if there's any issues just let
> me know.

Hi Steven,

There's still something odd about permissions. I tried to go back and
edit the page I wrote, and I don't have permission to edit it :-(

Alan

> Thanks!
> steven
>
> On Sun, Sep 8, 2013 at 12:24 PM, Alan Peter Fitch  wrote:
>> On 08/09/13 11:37, joachim heintz wrote:
>>> hi alan -
>>>
>>> there is a build instruction for debian/ubuntu on the new sourceforge wiki:
>>> http://sourceforge.net/p/csound/wiki/Build_Debian_Ubuntu/
>>>
>>> it would be great if you could conrtibute a description for fedora. if
>>> you don't have access to the wiki, you can send it to me and i will put
>>> it in.
>> Is it possible for me to get edit access to the wiki, then I can add the
>> instructions myself.
>>
>> My sourceforge user name is apfitch,
>>
>> regards
>> Alan
>>
>>> i think this is definitely the best place for these instructions. the
>>> manual, and even the floss manual are too "slow" for this up-to-date stuff.
>>>
>>> best -
>>>
>>>       joachim
>>>
>>>
>>> Am 08.09.2013 00:24, schrieb Alan Peter Fitch:
>>>> On 07/09/13 22:35, Alan Peter Fitch wrote:
>>>>> Can someone point me to building Csound6 on Linux. The README points to
>>>>> the online manual which documents using scons. I think I now need to use
>>>>> cmake (from lurking on the list).
>>>>>
>>>>> I've downloaded the CSound 6 manual, and that also documents scons.
>>>>>
>>>>> I've downloaded and untarred the csound source from Sourceforge, and
>>>>> I've installed cmake. I'm on Fedora 18.
>>>>>
>>>>> What do I do next?
>>>>>
>>>>>
>>>> Just replying to myself, in case it's useful to others...
>>>>
>>>> I did
>>>> cd Csound6.00.1
>>>> cmake ./
>>>>
>>>> That revealed various missing libraries and headers, so I did
>>>>
>>>> rm CMakeCache.txt
>>>>
>>>> su -c "yum install ladspa ladspa-devel"
>>>> su -c "yum install fluidsynth fluidsynth-devel"
>>>> su -c "yum install boost boost-devel java-devel"
>>>> su -c "yum install jack-audio-connection-kit-devel"
>>>> su -c "yum install fltk fltk-devel"
>>>> su -c "yum install swig swig-devel"
>>>> su -c "yum install pulseaudio-libs-devel"
>>>> su -c "yum install portaudio portmidi portaudio-devel portmidi-devel"
>>>> su -c "yum install fltk-fluid"
>>>> su -c "yum install stk stk-devel"
>>>> su -c "yum install python-libs"
>>>> su -c "yum install python-devel"
>>>> su -c "yum install liblo liblo-devel"
>>>> su -c "yum install lua lua-devel"
>>>>
>>>> I still couldn't build "lua51", but I don't care.
>>>>
>>>> cmake ./
>>>> make
>>>> su -c "make install"
>>>> su -c "ldconfig /usr/local/lib"
>>>>
>>>> And then I could run the csound command.
>>>>
>>>> regards
>>>> Alan
>>>>
>>> Send bugs reports to the Sourceforge bug trackers
>>> csound6:
>>>             https://sourceforge.net/p/csound/tickets/
>>> csound5:
>>>             https://sourceforge.net/p/csound/bugs/
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>
>>>
>>>
>>
>> --
>> Alan Fitch
>>
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>             https://sourceforge.net/p/csound/tickets/
>> csound5:
>>             https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>
>


-- 
Alan Fitch


Date2013-09-08 15:31
FromAlan Peter Fitch
SubjectRe: [Csnd] Building Csound 6 on Linux
On 08/09/13 14:49, Anders Genell wrote:
Hi Steven!

What I mean is a cmake project file, or whatever they are called, that contain build flags for cmake. I'll include below an old email from me to the list where I included som extra flags I needed to build Csound6 on Ubuntu 12.04. 

I am no developer and have never used  cmake before this so It is very likely the problem is very much user related, but a simple way of building csound6 with all bells and whistles would be very useful for myself as well as others, or so I at least believe. 

Hi Anders,
 on Fedora I could build the wiimote stuff by installing

yum install wiiuse wiiuse-devel
yum install bluez-libs-devel

For some reason the bluez-libs-devel dependency wasn't in the wiiuse package,

Alan


To follow up, I managed to build the Lua opcodes, but not the Faust opcodes and not the wiimote or p5glove opcodes.
Right now I issue the following command to build:
cmake -D LUA_LIBRARIES=/usr/lib/i386-linux-gnu/libluajit-5.1.so -D LUA_INCLUDE_DIR=/usr/include/luajit-2.0/ -D EIGEN_DENSE=/usr/include/eigen3/Eigen/Dense -D BUILD_CSOUND_AC:BOOL="ON"

I had to build llvm from source using cmake in order to get LLVM-config.cmake on my system, which was needed to build faust opcodes, but the faust libraries cant be found, and looking in /usr/lib/faust/ shows a number of makefiles and cpp files. How do I build against library source code? Maybe I, like Faust, need to strike a deal with the devil himself?



Regards,
Anders

8 sep 2013 kl. 13:50 skrev Steven Yi <stevenyi@gmail.com>:

Hi Anders,

Could you explain further what you mean? (particularly "cmake setup"
in your last sentence)

The cmake build files have been setup to build everything for which
dependencies can be satisfied. If build target could not be created,
the build should be reporting that it could not be built.  Perhaps
these messages are not descriptive enough to explain what is not being
found?

Are you looking for some script that's going to run all the apt-get
install commands to install every dependency for you on Ubuntu?

steven

On Sun, Sep 8, 2013 at 12:02 PM, Anders Genell <anders.genell@gmail.com> wrote:
I'd just like to chime in here that those build instructions for Ubuntu are somewhat frugal, though they of course do work.

The thing is that in the csound manual build instructions using scons, there are a number of options for building different opcodes. Corresponding instructions for cmake are not included yet, and not all opcodes are built by default.

I would love if there was a cmake setup included in the repos that builds a full and complete version of csound6 on Linux.

Regards,
Anders



8 sep 2013 kl. 12:37 skrev joachim heintz <jh@joachimheintz.de>:

hi alan -

there is a build instruction for debian/ubuntu on the new sourceforge wiki:
http://sourceforge.net/p/csound/wiki/Build_Debian_Ubuntu/

it would be great if you could conrtibute a description for fedora. if you don't have access to the wiki, you can send it to me and i will put it in.

i think this is definitely the best place for these instructions. the manual, and even the floss manual are too "slow" for this up-to-date stuff.

best -

  joachim


Am 08.09.2013 00:24, schrieb Alan Peter Fitch:
On 07/09/13 22:35, Alan Peter Fitch wrote:
Can someone point me to building Csound6 on Linux. The README points to
the online manual which documents using scons. I think I now need to use
cmake (from lurking on the list).

I've downloaded the CSound 6 manual, and that also documents scons.

I've downloaded and untarred the csound source from Sourceforge, and
I've installed cmake. I'm on Fedora 18.

What do I do next?
Just replying to myself, in case it's useful to others...

I did
cd Csound6.00.1
cmake ./

That revealed various missing libraries and headers, so I did

rm CMakeCache.txt

su -c "yum install ladspa ladspa-devel"
su -c "yum install fluidsynth fluidsynth-devel"
su -c "yum install boost boost-devel java-devel"
su -c "yum install jack-audio-connection-kit-devel"
su -c "yum install fltk fltk-devel"
su -c "yum install swig swig-devel"
su -c "yum install pulseaudio-libs-devel"
su -c "yum install portaudio portmidi portaudio-devel portmidi-devel"
su -c "yum install fltk-fluid"
su -c "yum install stk stk-devel"
su -c "yum install python-libs"
su -c "yum install python-devel"
su -c "yum install liblo liblo-devel"
su -c "yum install lua lua-devel"

I still couldn't build "lua51", but I don't care.

cmake ./
make
su -c "make install"
su -c "ldconfig /usr/local/lib"

And then I could run the csound command.

regards
Alan


Send bugs reports to the Sourceforge bug trackers
csound6:
         https://sourceforge.net/p/csound/tickets/
csound5:
         https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Send bugs reports to the Sourceforge bug trackers
csound6:
           https://sourceforge.net/p/csound/tickets/
csound5:
           https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Send bugs reports to the Sourceforge bug trackers
csound6:
           https://sourceforge.net/p/csound/tickets/
csound5:
           https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




-- 
Alan Fitch

Date2013-09-08 16:07
FromSteven Yi
SubjectRe: [Csnd] Building Csound 6 on Linux
Hi Alan,

I tried modifying the wiki permissions for the various groups.  It's a
little confusing but hopefully I got it right.  Could you try
modifying both the root page and the Fedora page?  Otherwise, thanks
for your contribution!

steven

On Sun, Sep 8, 2013 at 3:31 PM, Alan Peter Fitch  wrote:
> On 08/09/13 14:49, Anders Genell wrote:
>
> Hi Steven!
>
> What I mean is a cmake project file, or whatever they are called, that
> contain build flags for cmake. I'll include below an old email from me to
> the list where I included som extra flags I needed to build Csound6 on
> Ubuntu 12.04.
>
> I am no developer and have never used  cmake before this so It is very
> likely the problem is very much user related, but a simple way of building
> csound6 with all bells and whistles would be very useful for myself as well
> as others, or so I at least believe.
>
> Hi Anders,
>  on Fedora I could build the wiimote stuff by installing
>
> yum install wiiuse wiiuse-devel
> yum install bluez-libs-devel
>
> For some reason the bluez-libs-devel dependency wasn't in the wiiuse
> package,
>
> Alan
>
>
>
> To follow up, I managed to build the Lua opcodes, but not the Faust opcodes
> and not the wiimote or p5glove opcodes.
> Right now I issue the following command to build:
> cmake -D LUA_LIBRARIES=/usr/lib/i386-linux-gnu/libluajit-5.1.so -D
> LUA_INCLUDE_DIR=/usr/include/luajit-2.0/ -D
> EIGEN_DENSE=/usr/include/eigen3/Eigen/Dense -D BUILD_CSOUND_AC:BOOL="ON"
>
> I had to build llvm from source using cmake in order to get
> LLVM-config.cmake on my system, which was needed to build faust opcodes, but
> the faust libraries cant be found, and looking in /usr/lib/faust/ shows a
> number of makefiles and cpp files. How do I build against library source
> code? Maybe I, like Faust, need to strike a deal with the devil himself?
>
>
>
>
> Regards,
> Anders
>
> 8 sep 2013 kl. 13:50 skrev Steven Yi :
>
> Hi Anders,
>
> Could you explain further what you mean? (particularly "cmake setup"
> in your last sentence)
>
> The cmake build files have been setup to build everything for which
> dependencies can be satisfied. If build target could not be created,
> the build should be reporting that it could not be built.  Perhaps
> these messages are not descriptive enough to explain what is not being
> found?
>
> Are you looking for some script that's going to run all the apt-get
> install commands to install every dependency for you on Ubuntu?
>
> steven
>
> On Sun, Sep 8, 2013 at 12:02 PM, Anders Genell 
> wrote:
>
> I'd just like to chime in here that those build instructions for Ubuntu are
> somewhat frugal, though they of course do work.
>
>
> The thing is that in the csound manual build instructions using scons, there
> are a number of options for building different opcodes. Corresponding
> instructions for cmake are not included yet, and not all opcodes are built
> by default.
>
>
> I would love if there was a cmake setup included in the repos that builds a
> full and complete version of csound6 on Linux.
>
>
> Regards,
>
> Anders
>
>
>
>
> 8 sep 2013 kl. 12:37 skrev joachim heintz :
>
>
> hi alan -
>
>
> there is a build instruction for debian/ubuntu on the new sourceforge wiki:
>
> http://sourceforge.net/p/csound/wiki/Build_Debian_Ubuntu/
>
>
> it would be great if you could conrtibute a description for fedora. if you
> don't have access to the wiki, you can send it to me and i will put it in.
>
>
> i think this is definitely the best place for these instructions. the
> manual, and even the floss manual are too "slow" for this up-to-date stuff.
>
>
> best -
>
>
>   joachim
>
>
>
> Am 08.09.2013 00:24, schrieb Alan Peter Fitch:
>
> On 07/09/13 22:35, Alan Peter Fitch wrote:
>
> Can someone point me to building Csound6 on Linux. The README points to
>
> the online manual which documents using scons. I think I now need to use
>
> cmake (from lurking on the list).
>
>
> I've downloaded the CSound 6 manual, and that also documents scons.
>
>
> I've downloaded and untarred the csound source from Sourceforge, and
>
> I've installed cmake. I'm on Fedora 18.
>
>
> What do I do next?
>
> Just replying to myself, in case it's useful to others...
>
>
> I did
>
> cd Csound6.00.1
>
> cmake ./
>
>
> That revealed various missing libraries and headers, so I did
>
>
> rm CMakeCache.txt
>
>
> su -c "yum install ladspa ladspa-devel"
>
> su -c "yum install fluidsynth fluidsynth-devel"
>
> su -c "yum install boost boost-devel java-devel"
>
> su -c "yum install jack-audio-connection-kit-devel"
>
> su -c "yum install fltk fltk-devel"
>
> su -c "yum install swig swig-devel"
>
> su -c "yum install pulseaudio-libs-devel"
>
> su -c "yum install portaudio portmidi portaudio-devel portmidi-devel"
>
> su -c "yum install fltk-fluid"
>
> su -c "yum install stk stk-devel"
>
> su -c "yum install python-libs"
>
> su -c "yum install python-devel"
>
> su -c "yum install liblo liblo-devel"
>
> su -c "yum install lua lua-devel"
>
>
> I still couldn't build "lua51", but I don't care.
>
>
> cmake ./
>
> make
>
> su -c "make install"
>
> su -c "ldconfig /usr/local/lib"
>
>
> And then I could run the csound command.
>
>
> regards
>
> Alan
>
>
>
> Send bugs reports to the Sourceforge bug trackers
>
> csound6:
>
>          https://sourceforge.net/p/csound/tickets/
>
> csound5:
>
>          https://sourceforge.net/p/csound/bugs/
>
> Discussions of bugs and features can be posted here
>
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>
>
> Send bugs reports to the Sourceforge bug trackers
>
> csound6:
>
>            https://sourceforge.net/p/csound/tickets/
>
> csound5:
>
>            https://sourceforge.net/p/csound/bugs/
>
> Discussions of bugs and features can be posted here
>
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>
> --
> Alan Fitch