Csound Csound-dev Csound-tekno Search About

[Csnd] Trouble installing csound on Arch Linux

Date2012-08-01 22:03
FromPhil Thomson
Subject[Csnd] Trouble installing csound on Arch Linux
Hello,

I have been trying to install Csound on Arch Linux to no avail.

There is a package in the AUR (Arch User Repository, for third-party 
packages which are not part of the official distribution), but 
compilation fails with the following message:

In file included from H/csound_orc.h:16:0,
from Engine/cs_par_dispatch.c:28:
Engine/csound_orcparse.h:153:22: error: unknown type name ?PARSE_PARM?
In file included from Engine/cs_par_dispatch.c:28:0:
H/csound_orc.h:24:0: warning: "YYDEBUG" redefined [enabled by default]
In file included from H/csound_orc.h:16:0,
from Engine/cs_par_dispatch.c:28:
Engine/csound_orcparse.h:37:0: note: this is the location of the 
previous definition
Engine/cs_par_dispatch.c: In function ?csp_dag_calculate_max_roots?:
Engine/cs_par_dispatch.c:1497:22: warning: variable ?instr? set but not 
used [-Wunused-but-set-variable]
scons: *** [Engine/cs_par_dispatch.os] Error 1
scons: building terminated because of errors.
==> ERROR: A failure occurred in build().
Aborting...

My googling of this message suggests that bison may be out of date. This 
seems unlikely, given that Arch is a 'bleeding edge' distro, but for the 
record, my bison is at 2.6.1-1.

My googling also suggests that Engine/parse_param.h may be missing, but 
it is there, from what I can see.

So I have been trying to install from git but cannot figure out how to 
have CsoundAC included in the package.

So, first of all, is there an easier way to install Csound on Arch Linux 
than what I've been doing? And second, if not, how can I fix the 
problems I am having?

-- 
Phil Thomson
http://philthomson.ca/

Date2012-08-01 22:19
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Trouble installing csound on Arch Linux
Try checking out from git -- dave Phillips and I fixed this recently (I hope)

> Hello,
>
> I have been trying to install Csound on Arch Linux to no avail.
>
> There is a package in the AUR (Arch User Repository, for third-party
> packages which are not part of the official distribution), but
> compilation fails with the following message:
>
> In file included from H/csound_orc.h:16:0,
> from Engine/cs_par_dispatch.c:28:
> Engine/csound_orcparse.h:153:22: error: unknown type name ?PARSE_PARM?
> In file included from Engine/cs_par_dispatch.c:28:0:
> H/csound_orc.h:24:0: warning: "YYDEBUG" redefined [enabled by default]
> In file included from H/csound_orc.h:16:0,
> from Engine/cs_par_dispatch.c:28:
> Engine/csound_orcparse.h:37:0: note: this is the location of the
> previous definition
> Engine/cs_par_dispatch.c: In function ?csp_dag_calculate_max_roots?:
> Engine/cs_par_dispatch.c:1497:22: warning: variable ?instr? set but not
> used [-Wunused-but-set-variable]
> scons: *** [Engine/cs_par_dispatch.os] Error 1
> scons: building terminated because of errors.
> ==> ERROR: A failure occurred in build().
> Aborting...
>
> My googling of this message suggests that bison may be out of date. This
> seems unlikely, given that Arch is a 'bleeding edge' distro, but for the
> record, my bison is at 2.6.1-1.
>
> My googling also suggests that Engine/parse_param.h may be missing, but
> it is there, from what I can see.
>
> So I have been trying to install from git but cannot figure out how to
> have CsoundAC included in the package.
>
> So, first of all, is there an easier way to install Csound on Arch Linux
> than what I've been doing? And second, if not, how can I fix the
> problems I am having?
>
> --
> Phil Thomson
> http://philthomson.ca/
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>



Date2012-08-02 03:54
FromPhil Thomson
SubjectRe: [Csnd] Trouble installing csound on Arch Linux
Thanks, git works well, as it did before, but I still can't figure out 
how to install CsoundAC. Apologies if this is documented somewhere and I 
have missed it.

I have been using the build-linux-double.sh script, in which 
buildCsoundAC=1, but during the compilation, I see 'CONFIGURATION 
DECISION: Not building CsoundAC extension module for Csound with 
algorithmic composition.' And sure enough, CsoundAC does not appear in 
my python site-packages dir after installation.

On 12-08-01 2:19 PM, jpff@cs.bath.ac.uk wrote:
> Try checking out from git -- dave Phillips and I fixed this recently (I hope)
>
>> Hello,
>>
>> I have been trying to install Csound on Arch Linux to no avail.
>>
>> There is a package in the AUR (Arch User Repository, for third-party
>> packages which are not part of the official distribution), but
>> compilation fails with the following message:
>>
>> In file included from H/csound_orc.h:16:0,
>> from Engine/cs_par_dispatch.c:28:
>> Engine/csound_orcparse.h:153:22: error: unknown type name ?PARSE_PARM?
>> In file included from Engine/cs_par_dispatch.c:28:0:
>> H/csound_orc.h:24:0: warning: "YYDEBUG" redefined [enabled by default]
>> In file included from H/csound_orc.h:16:0,
>> from Engine/cs_par_dispatch.c:28:
>> Engine/csound_orcparse.h:37:0: note: this is the location of the
>> previous definition
>> Engine/cs_par_dispatch.c: In function ?csp_dag_calculate_max_roots?:
>> Engine/cs_par_dispatch.c:1497:22: warning: variable ?instr? set but not
>> used [-Wunused-but-set-variable]
>> scons: *** [Engine/cs_par_dispatch.os] Error 1
>> scons: building terminated because of errors.
>> ==> ERROR: A failure occurred in build().
>> Aborting...
>>
>> My googling of this message suggests that bison may be out of date. This
>> seems unlikely, given that Arch is a 'bleeding edge' distro, but for the
>> record, my bison is at 2.6.1-1.
>>
>> My googling also suggests that Engine/parse_param.h may be missing, but
>> it is there, from what I can see.
>>
>> So I have been trying to install from git but cannot figure out how to
>> have CsoundAC included in the package.
>>
>> So, first of all, is there an easier way to install Csound on Arch Linux
>> than what I've been doing? And second, if not, how can I fix the
>> problems I am having?
>>
>> --
>> Phil Thomson
>> http://philthomson.ca/
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> 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 tracker
>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

-- 
Phil Thomson
http://philthomson.ca/

Date2012-08-02 09:23
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Trouble installing csound on Arch Linux
Sorry -- cannot hep on this.  You need Michael Gogins' input.  I have not
tried to build CsoundAC
==John ff

> Thanks, git works well, as it did before, but I still can't figure out
> how to install CsoundAC. Apologies if this is documented somewhere and I
> have missed it.
>
> I have been using the build-linux-double.sh script, in which
> buildCsoundAC=1, but during the compilation, I see 'CONFIGURATION
> DECISION: Not building CsoundAC extension module for Csound with
> algorithmic composition.' And sure enough, CsoundAC does not appear in
> my python site-packages dir after installation.
>
> On 12-08-01 2:19 PM, jpff@cs.bath.ac.uk wrote:
>> Try checking out from git -- dave Phillips and I fixed this recently (I
>> hope)
>>
>>> Hello,
>>>
>>> I have been trying to install Csound on Arch Linux to no avail.
>>>
>>> There is a package in the AUR (Arch User Repository, for third-party
>>> packages which are not part of the official distribution), but
>>> compilation fails with the following message:
>>>
>>> In file included from H/csound_orc.h:16:0,
>>> from Engine/cs_par_dispatch.c:28:
>>> Engine/csound_orcparse.h:153:22: error: unknown type name ?PARSE_PARM?
>>> In file included from Engine/cs_par_dispatch.c:28:0:
>>> H/csound_orc.h:24:0: warning: "YYDEBUG" redefined [enabled by default]
>>> In file included from H/csound_orc.h:16:0,
>>> from Engine/cs_par_dispatch.c:28:
>>> Engine/csound_orcparse.h:37:0: note: this is the location of the
>>> previous definition
>>> Engine/cs_par_dispatch.c: In function ?csp_dag_calculate_max_roots?:
>>> Engine/cs_par_dispatch.c:1497:22: warning: variable ?instr? set but not
>>> used [-Wunused-but-set-variable]
>>> scons: *** [Engine/cs_par_dispatch.os] Error 1
>>> scons: building terminated because of errors.
>>> ==> ERROR: A failure occurred in build().
>>> Aborting...
>>>
>>> My googling of this message suggests that bison may be out of date.
>>> This
>>> seems unlikely, given that Arch is a 'bleeding edge' distro, but for
>>> the
>>> record, my bison is at 2.6.1-1.
>>>
>>> My googling also suggests that Engine/parse_param.h may be missing, but
>>> it is there, from what I can see.
>>>
>>> So I have been trying to install from git but cannot figure out how to
>>> have CsoundAC included in the package.
>>>
>>> So, first of all, is there an easier way to install Csound on Arch
>>> Linux
>>> than what I've been doing? And second, if not, how can I fix the
>>> problems I am having?
>>>
>>> --
>>> Phil Thomson
>>> http://philthomson.ca/
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> 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 tracker
>>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
> --
> Phil Thomson
> http://philthomson.ca/
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>



Date2012-08-02 10:13
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Trouble installing csound on Arch Linux
I note "to build CsoundAC (needs Eigen 3, FLTK, boost, Python, SWIG)."

Check you have these 5 systems.  It will not ttemt to build without them

==John ff

> Sorry -- cannot hep on this.  You need Michael Gogins' input.  I have not
> tried to build CsoundAC
> ==John ff
>
>> Thanks, git works well, as it did before, but I still can't figure out
>> how to install CsoundAC. Apologies if this is documented somewhere and I
>> have missed it.
>>
>> I have been using the build-linux-double.sh script, in which
>> buildCsoundAC=1, but during the compilation, I see 'CONFIGURATION
>> DECISION: Not building CsoundAC extension module for Csound with
>> algorithmic composition.' And sure enough, CsoundAC does not appear in
>> my python site-packages dir after installation.
>>
>> On 12-08-01 2:19 PM, jpff@cs.bath.ac.uk wrote:
>>> Try checking out from git -- dave Phillips and I fixed this recently (I
>>> hope)
>>>
>>>> Hello,
>>>>
>>>> I have been trying to install Csound on Arch Linux to no avail.
>>>>
>>>> There is a package in the AUR (Arch User Repository, for third-party
>>>> packages which are not part of the official distribution), but
>>>> compilation fails with the following message:
>>>>
>>>> In file included from H/csound_orc.h:16:0,
>>>> from Engine/cs_par_dispatch.c:28:
>>>> Engine/csound_orcparse.h:153:22: error: unknown type name ?PARSE_PARM?
>>>> In file included from Engine/cs_par_dispatch.c:28:0:
>>>> H/csound_orc.h:24:0: warning: "YYDEBUG" redefined [enabled by default]
>>>> In file included from H/csound_orc.h:16:0,
>>>> from Engine/cs_par_dispatch.c:28:
>>>> Engine/csound_orcparse.h:37:0: note: this is the location of the
>>>> previous definition
>>>> Engine/cs_par_dispatch.c: In function ?csp_dag_calculate_max_roots?:
>>>> Engine/cs_par_dispatch.c:1497:22: warning: variable ?instr? set but
>>>> not
>>>> used [-Wunused-but-set-variable]
>>>> scons: *** [Engine/cs_par_dispatch.os] Error 1
>>>> scons: building terminated because of errors.
>>>> ==> ERROR: A failure occurred in build().
>>>> Aborting...
>>>>
>>>> My googling of this message suggests that bison may be out of date.
>>>> This
>>>> seems unlikely, given that Arch is a 'bleeding edge' distro, but for
>>>> the
>>>> record, my bison is at 2.6.1-1.
>>>>
>>>> My googling also suggests that Engine/parse_param.h may be missing,
>>>> but
>>>> it is there, from what I can see.
>>>>
>>>> So I have been trying to install from git but cannot figure out how to
>>>> have CsoundAC included in the package.
>>>>
>>>> So, first of all, is there an easier way to install Csound on Arch
>>>> Linux
>>>> than what I've been doing? And second, if not, how can I fix the
>>>> problems I am having?
>>>>
>>>> --
>>>> Phil Thomson
>>>> http://philthomson.ca/
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> 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 tracker
>>>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>> "unsubscribe
>>> csound"
>>>
>>
>> --
>> Phil Thomson
>> http://philthomson.ca/
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> 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 tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>



Date2012-08-02 15:29
FromPhil Thomson
SubjectRe: [Csnd] Trouble installing csound on Arch Linux
I had eigen2, which is the official Arch package. There is an unofficial 
package for eigen3 which I am installing now. Hope that does the trick. 
Thanks.

On 12-08-02 2:13 AM, jpff@cs.bath.ac.uk wrote:
> I note "to build CsoundAC (needs Eigen 3, FLTK, boost, Python, SWIG)."
>
> Check you have these 5 systems.  It will not ttemt to build without them
>
> ==John ff
>
>> Sorry -- cannot hep on this.  You need Michael Gogins' input.  I have not
>> tried to build CsoundAC
>> ==John ff
>>
>>> Thanks, git works well, as it did before, but I still can't figure out
>>> how to install CsoundAC. Apologies if this is documented somewhere and I
>>> have missed it.
>>>
>>> I have been using the build-linux-double.sh script, in which
>>> buildCsoundAC=1, but during the compilation, I see 'CONFIGURATION
>>> DECISION: Not building CsoundAC extension module for Csound with
>>> algorithmic composition.' And sure enough, CsoundAC does not appear in
>>> my python site-packages dir after installation.
>>>
>>> On 12-08-01 2:19 PM, jpff@cs.bath.ac.uk wrote:
>>>> Try checking out from git -- dave Phillips and I fixed this recently (I
>>>> hope)
>>>>
>>>>> Hello,
>>>>>
>>>>> I have been trying to install Csound on Arch Linux to no avail.
>>>>>
>>>>> There is a package in the AUR (Arch User Repository, for third-party
>>>>> packages which are not part of the official distribution), but
>>>>> compilation fails with the following message:
>>>>>
>>>>> In file included from H/csound_orc.h:16:0,
>>>>> from Engine/cs_par_dispatch.c:28:
>>>>> Engine/csound_orcparse.h:153:22: error: unknown type name ?PARSE_PARM?
>>>>> In file included from Engine/cs_par_dispatch.c:28:0:
>>>>> H/csound_orc.h:24:0: warning: "YYDEBUG" redefined [enabled by default]
>>>>> In file included from H/csound_orc.h:16:0,
>>>>> from Engine/cs_par_dispatch.c:28:
>>>>> Engine/csound_orcparse.h:37:0: note: this is the location of the
>>>>> previous definition
>>>>> Engine/cs_par_dispatch.c: In function ?csp_dag_calculate_max_roots?:
>>>>> Engine/cs_par_dispatch.c:1497:22: warning: variable ?instr? set but
>>>>> not
>>>>> used [-Wunused-but-set-variable]
>>>>> scons: *** [Engine/cs_par_dispatch.os] Error 1
>>>>> scons: building terminated because of errors.
>>>>> ==> ERROR: A failure occurred in build().
>>>>> Aborting...
>>>>>
>>>>> My googling of this message suggests that bison may be out of date.
>>>>> This
>>>>> seems unlikely, given that Arch is a 'bleeding edge' distro, but for
>>>>> the
>>>>> record, my bison is at 2.6.1-1.
>>>>>
>>>>> My googling also suggests that Engine/parse_param.h may be missing,
>>>>> but
>>>>> it is there, from what I can see.
>>>>>
>>>>> So I have been trying to install from git but cannot figure out how to
>>>>> have CsoundAC included in the package.
>>>>>
>>>>> So, first of all, is there an easier way to install Csound on Arch
>>>>> Linux
>>>>> than what I've been doing? And second, if not, how can I fix the
>>>>> problems I am having?
>>>>>
>>>>> --
>>>>> Phil Thomson
>>>>> http://philthomson.ca/
>>>>>
>>>>>
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>               https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>> 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 tracker
>>>>               https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>> "unsubscribe
>>>> csound"
>>>>
>>>
>>> --
>>> Phil Thomson
>>> http://philthomson.ca/
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> 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 tracker
>>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> 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 tracker
>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

-- 
Phil Thomson
http://philthomson.ca/

Date2012-08-02 16:05
FromMichael Gogins
SubjectRe: [Csnd] Trouble installing csound on Arch Linux
Yes, it uses eigen3, thanks for the information. 

Regards,
Mike

On Thu, Aug 2, 2012 at 10:29 AM, Phil Thomson <phil@philthomson.ca> wrote:
I had eigen2, which is the official Arch package. There is an unofficial package for eigen3 which I am installing now. Hope that does the trick. Thanks.


On 12-08-02 2:13 AM, jpff@cs.bath.ac.uk wrote:
I note "to build CsoundAC (needs Eigen 3, FLTK, boost, Python, SWIG)."

Check you have these 5 systems.  It will not ttemt to build without them

==John ff

Sorry -- cannot hep on this.  You need Michael Gogins' input.  I have not
tried to build CsoundAC
==John ff

Thanks, git works well, as it did before, but I still can't figure out
how to install CsoundAC. Apologies if this is documented somewhere and I
have missed it.

I have been using the build-linux-double.sh script, in which
buildCsoundAC=1, but during the compilation, I see 'CONFIGURATION
DECISION: Not building CsoundAC extension module for Csound with
algorithmic composition.' And sure enough, CsoundAC does not appear in
my python site-packages dir after installation.

On 12-08-01 2:19 PM, jpff@cs.bath.ac.uk wrote:
Try checking out from git -- dave Phillips and I fixed this recently (I
hope)

Hello,

I have been trying to install Csound on Arch Linux to no avail.

There is a package in the AUR (Arch User Repository, for third-party
packages which are not part of the official distribution), but
compilation fails with the following message:

In file included from H/csound_orc.h:16:0,
from Engine/cs_par_dispatch.c:28:
Engine/csound_orcparse.h:153:22: error: unknown type name ?PARSE_PARM?
In file included from Engine/cs_par_dispatch.c:28:0:
H/csound_orc.h:24:0: warning: "YYDEBUG" redefined [enabled by default]
In file included from H/csound_orc.h:16:0,
from Engine/cs_par_dispatch.c:28:
Engine/csound_orcparse.h:37:0: note: this is the location of the
previous definition
Engine/cs_par_dispatch.c: In function ?csp_dag_calculate_max_roots?:
Engine/cs_par_dispatch.c:1497:22: warning: variable ?instr? set but
not
used [-Wunused-but-set-variable]
scons: *** [Engine/cs_par_dispatch.os] Error 1
scons: building terminated because of errors.
==> ERROR: A failure occurred in build().
Aborting...

My googling of this message suggests that bison may be out of date.
This
seems unlikely, given that Arch is a 'bleeding edge' distro, but for
the
record, my bison is at 2.6.1-1.

My googling also suggests that Engine/parse_param.h may be missing,
but
it is there, from what I can see.

So I have been trying to install from git but cannot figure out how to
have CsoundAC included in the package.

So, first of all, is there an easier way to install Csound on Arch
Linux
than what I've been doing? And second, if not, how can I fix the
problems I am having?

--
Phil Thomson
http://philthomson.ca/


Send bugs reports to the Sourceforge bug tracker
              https://sourceforge.net/tracker/?group_id=81968&atid=564599
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 tracker
              https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body
"unsubscribe
csound"


--
Phil Thomson
http://philthomson.ca/


Send bugs reports to the Sourceforge bug tracker
             https://sourceforge.net/tracker/?group_id=81968&atid=564599
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 tracker
             https://sourceforge.net/tracker/?group_id=81968&atid=564599
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 tracker
             https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


--
Phil Thomson
http://philthomson.ca/


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2012-08-02 17:53
FromPhil Thomson
SubjectRe: [Csnd] Trouble installing csound on Arch Linux
Installing eigen3 caused CsoundAC to be built (hurray!), but install.py 
did not install it. To do so manually, do I copy _CsoundAC.so, 
CsoundAC.py, _csnd.so and csnd.py to my python site-packages dir? I have 
both python 2.7 and 3.2 installed; does it matter which I use?

Thanks for the help.

On 12-08-02 8:05 AM, Michael Gogins wrote:
> Yes, it uses eigen3, thanks for the information.
>
> Regards,
> Mike
>
> On Thu, Aug 2, 2012 at 10:29 AM, Phil Thomson  > wrote:
>
>     I had eigen2, which is the official Arch package. There is an
>     unofficial package for eigen3 which I am installing now. Hope that
>     does the trick. Thanks.
>
>
>     On 12-08-02 2:13 AM, jpff@cs.bath.ac.uk 
>     wrote:
>
>         I note "to build CsoundAC (needs Eigen 3, FLTK, boost, Python,
>         SWIG)."
>
>         Check you have these 5 systems.  It will not ttemt to build
>         without them
>
>         ==John ff
>
>             Sorry -- cannot hep on this.  You need Michael Gogins'
>             input.  I have not
>             tried to build CsoundAC
>             ==John ff
>
>                 Thanks, git works well, as it did before, but I still
>                 can't figure out
>                 how to install CsoundAC. Apologies if this is documented
>                 somewhere and I
>                 have missed it.
>
>                 I have been using the build-linux-double.sh script, in which
>                 buildCsoundAC=1, but during the compilation, I see
>                 'CONFIGURATION
>                 DECISION: Not building CsoundAC extension module for
>                 Csound with
>                 algorithmic composition.' And sure enough, CsoundAC does
>                 not appear in
>                 my python site-packages dir after installation.
>
>                 On 12-08-01 2:19 PM, jpff@cs.bath.ac.uk
>                  wrote:
>
>                     Try checking out from git -- dave Phillips and I
>                     fixed this recently (I
>                     hope)
>
>                         Hello,
>
>                         I have been trying to install Csound on Arch
>                         Linux to no avail.
>
>                         There is a package in the AUR (Arch User
>                         Repository, for third-party
>                         packages which are not part of the official
>                         distribution), but
>                         compilation fails with the following message:
>
>                         In file included from H/csound_orc.h:16:0,
>                         from Engine/cs_par_dispatch.c:28:
>                         Engine/csound_orcparse.h:153:__22: error:
>                         unknown type name ?PARSE_PARM?
>                         In file included from Engine/cs_par_dispatch.c:28:0:
>                         H/csound_orc.h:24:0: warning: "YYDEBUG"
>                         redefined [enabled by default]
>                         In file included from H/csound_orc.h:16:0,
>                         from Engine/cs_par_dispatch.c:28:
>                         Engine/csound_orcparse.h:37:0: note: this is the
>                         location of the
>                         previous definition
>                         Engine/cs_par_dispatch.c: In function
>                         ?csp_dag_calculate_max_roots?:
>                         Engine/cs_par_dispatch.c:1497:__22: warning:
>                         variable ?instr? set but
>                         not
>                         used [-Wunused-but-set-variable]
>                         scons: *** [Engine/cs_par_dispatch.os] Error 1
>                         scons: building terminated because of errors.
>                         ==> ERROR: A failure occurred in build().
>                         Aborting...
>
>                         My googling of this message suggests that bison
>                         may be out of date.
>                         This
>                         seems unlikely, given that Arch is a 'bleeding
>                         edge' distro, but for
>                         the
>                         record, my bison is at 2.6.1-1.
>
>                         My googling also suggests that
>                         Engine/parse_param.h may be missing,
>                         but
>                         it is there, from what I can see.
>
>                         So I have been trying to install from git but
>                         cannot figure out how to
>                         have CsoundAC included in the package.
>
>                         So, first of all, is there an easier way to
>                         install Csound on Arch
>                         Linux
>                         than what I've been doing? And second, if not,
>                         how can I fix the
>                         problems I am having?
>
>                         --
>                         Phil Thomson
>                         http://philthomson.ca/
>
>
>                         Send bugs reports to the Sourceforge bug tracker
>                         https://sourceforge.net/__tracker/?group_id=81968&atid=__564599
>                         
>                         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 tracker
>                     https://sourceforge.net/__tracker/?group_id=81968&atid=__564599
>                     
>                     Discussions of bugs and features can be posted here
>                     To unsubscribe, send email sympa@lists.bath.ac.uk
>                      with body
>                     "unsubscribe
>                     csound"
>
>
>                 --
>                 Phil Thomson
>                 http://philthomson.ca/
>
>
>                 Send bugs reports to the Sourceforge bug tracker
>                 https://sourceforge.net/__tracker/?group_id=81968&atid=__564599
>                 
>                 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 tracker
>             https://sourceforge.net/__tracker/?group_id=81968&atid=__564599
>             
>             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 tracker
>         https://sourceforge.net/__tracker/?group_id=81968&atid=__564599
>         
>         Discussions of bugs and features can be posted here
>         To unsubscribe, send email sympa@lists.bath.ac.uk
>          with body "unsubscribe csound"
>
>
>     --
>     Phil Thomson
>     http://philthomson.ca/
>
>
>     Send bugs reports to the Sourceforge bug tracker
>     https://sourceforge.net/__tracker/?group_id=81968&atid=__564599
>     
>     Discussions of bugs and features can be posted here
>     To unsubscribe, send email sympa@lists.bath.ac.uk
>      with body "unsubscribe csound"
>
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com

-- 
Phil Thomson
http://philthomson.ca/

Date2012-08-02 18:16
FromDave Phillips
SubjectRe: [Csnd] Trouble installing csound on Arch Linux
Hi Phil,

This article might be of some assistance, though it is a bit old by now  :

http://www.linuxjournal.com/content/introducing-csoundac-algorithmic-composition-csound-and-python

Best,

dp




Date2012-08-02 18:43
FromMichael Gogins
SubjectRe: [Csnd] Trouble installing csound on Arch Linux
On my Ubuntu system, I run from the build directory. I do not use the
install script at all, because it does not properly prepare for
uninstallation. I do not maintain the install script. (The
installation procedures really should be a part of the CMake build...)

This requires adding the root build directory where the executables,
so's and py's are to the PATH and PYTHONPATH environment variables. It
also involves setting OPCODEDIR64 to the same directory, editing
/etc/ld.so.conf to include that directory, and running ldconfig to
update the ld cache. You should sudo to do all these things, of
course.

The Python extensions for both Csound and CsoundAC are only working
for Python 2.6 or 2.7 or maybe 2.8, I think. The Python version ends
up being hard coded in the so's, so check over your build and make
sure you are not using 3 or later.

Hope this helps,
Mike

On Thu, Aug 2, 2012 at 12:53 PM, Phil Thomson  wrote:
>
> Installing eigen3 caused CsoundAC to be built (hurray!), but install.py did not install it. To do so manually, do I copy _CsoundAC.so, CsoundAC.py, _csnd.so and csnd.py to my python site-packages dir? I have both python 2.7 and 3.2 installed; does it matter which I use?
>
> Thanks for the help.
>
>
> On 12-08-02 8:05 AM, Michael Gogins wrote:
>>
>> Yes, it uses eigen3, thanks for the information.
>>
>> Regards,
>> Mike
>>
>> On Thu, Aug 2, 2012 at 10:29 AM, Phil Thomson > > wrote:
>>
>>     I had eigen2, which is the official Arch package. There is an
>>     unofficial package for eigen3 which I am installing now. Hope that
>>     does the trick. Thanks.
>>
>>
>>     On 12-08-02 2:13 AM, jpff@cs.bath.ac.uk 
>>
>>     wrote:
>>
>>         I note "to build CsoundAC (needs Eigen 3, FLTK, boost, Python,
>>         SWIG)."
>>
>>         Check you have these 5 systems.  It will not ttemt to build
>>         without them
>>
>>         ==John ff
>>
>>             Sorry -- cannot hep on this.  You need Michael Gogins'
>>             input.  I have not
>>             tried to build CsoundAC
>>             ==John ff
>>
>>                 Thanks, git works well, as it did before, but I still
>>                 can't figure out
>>                 how to install CsoundAC. Apologies if this is documented
>>                 somewhere and I
>>                 have missed it.
>>
>>                 I have been using the build-linux-double.sh script, in which
>>                 buildCsoundAC=1, but during the compilation, I see
>>                 'CONFIGURATION
>>                 DECISION: Not building CsoundAC extension module for
>>                 Csound with
>>                 algorithmic composition.' And sure enough, CsoundAC does
>>                 not appear in
>>                 my python site-packages dir after installation.
>>
>>                 On 12-08-01 2:19 PM, jpff@cs.bath.ac.uk
>>                  wrote:
>>
>>                     Try checking out from git -- dave Phillips and I
>>                     fixed this recently (I
>>                     hope)
>>
>>                         Hello,
>>
>>                         I have been trying to install Csound on Arch
>>                         Linux to no avail.
>>
>>                         There is a package in the AUR (Arch User
>>                         Repository, for third-party
>>                         packages which are not part of the official
>>                         distribution), but
>>                         compilation fails with the following message:
>>
>>                         In file included from H/csound_orc.h:16:0,
>>                         from Engine/cs_par_dispatch.c:28:
>>                         Engine/csound_orcparse.h:153:__22: error:
>>
>>                         unknown type name ?PARSE_PARM?
>>                         In file included from Engine/cs_par_dispatch.c:28:0:
>>                         H/csound_orc.h:24:0: warning: "YYDEBUG"
>>                         redefined [enabled by default]
>>                         In file included from H/csound_orc.h:16:0,
>>                         from Engine/cs_par_dispatch.c:28:
>>                         Engine/csound_orcparse.h:37:0: note: this is the
>>                         location of the
>>                         previous definition
>>                         Engine/cs_par_dispatch.c: In function
>>                         ?csp_dag_calculate_max_roots?:
>>                         Engine/cs_par_dispatch.c:1497:__22: warning:
>>
>>                         variable ?instr? set but
>>                         not
>>                         used [-Wunused-but-set-variable]
>>                         scons: *** [Engine/cs_par_dispatch.os] Error 1
>>                         scons: building terminated because of errors.
>>                         ==> ERROR: A failure occurred in build().
>>                         Aborting...
>>
>>                         My googling of this message suggests that bison
>>                         may be out of date.
>>                         This
>>                         seems unlikely, given that Arch is a 'bleeding
>>                         edge' distro, but for
>>                         the
>>                         record, my bison is at 2.6.1-1.
>>
>>                         My googling also suggests that
>>                         Engine/parse_param.h may be missing,
>>                         but
>>                         it is there, from what I can see.
>>
>>                         So I have been trying to install from git but
>>                         cannot figure out how to
>>                         have CsoundAC included in the package.
>>
>>                         So, first of all, is there an easier way to
>>                         install Csound on Arch
>>                         Linux
>>                         than what I've been doing? And second, if not,
>>                         how can I fix the
>>                         problems I am having?
>>
>>                         --
>>                         Phil Thomson
>>                         http://philthomson.ca/
>>
>>
>>                         Send bugs reports to the Sourceforge bug tracker
>>                         https://sourceforge.net/__tracker/?group_id=81968&atid=__564599
>>
>>                         
>>                         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 tracker
>>                     https://sourceforge.net/__tracker/?group_id=81968&atid=__564599
>>
>>                     
>>                     Discussions of bugs and features can be posted here
>>                     To unsubscribe, send email sympa@lists.bath.ac.uk
>>                      with body
>>
>>                     "unsubscribe
>>                     csound"
>>
>>
>>                 --
>>                 Phil Thomson
>>                 http://philthomson.ca/
>>
>>
>>                 Send bugs reports to the Sourceforge bug tracker
>>                 https://sourceforge.net/__tracker/?group_id=81968&atid=__564599
>>
>>                 
>>                 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 tracker
>>             https://sourceforge.net/__tracker/?group_id=81968&atid=__564599
>>
>>             
>>             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 tracker
>>         https://sourceforge.net/__tracker/?group_id=81968&atid=__564599
>>
>>         
>>         Discussions of bugs and features can be posted here
>>         To unsubscribe, send email sympa@lists.bath.ac.uk
>>          with body "unsubscribe csound"
>>
>>
>>
>>     --
>>     Phil Thomson
>>     http://philthomson.ca/
>>
>>
>>     Send bugs reports to the Sourceforge bug tracker
>>     https://sourceforge.net/__tracker/?group_id=81968&atid=__564599
>>
>>     
>>     Discussions of bugs and features can be posted here
>>     To unsubscribe, send email sympa@lists.bath.ac.uk
>>      with body "unsubscribe csound"
>>
>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>
>
> --
> Phil Thomson
> http://philthomson.ca/
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com


Date2012-08-02 18:49
FromMichael Gogins
SubjectRe: [Csnd] Trouble installing csound on Arch Linux
I have made numerous changes to CsoundAC recently, but these are not
in the distros yet. You can get them from git if you are willing to
build Csound.

These changes reflect two objectives:

(1) Make it even easier to automate the algorithmic composition
edit-render-postprocess-audition cycle...

(2) Replace the partly incorrect Voicelead, Voiceleading, and
VoiceleadingNode classes for using Dmitri Tymoczko's chord space ideas
in CsoundAC, with a more correct implementation of those ideas in the
ChordSpace class. I will be further extending this. These are exciting
days in mathematical music theory and algorithmic composition!

The next Csound Journal should contain an article by me, "Composing
Music in C++", that explains how to use CsoundAC's new features. The
explanation should work more or less as well for Python or Lua as it
does for C++.

Regards,
Mike

On Thu, Aug 2, 2012 at 1:16 PM, Dave Phillips  wrote:
> Hi Phil,
>
> This article might be of some assistance, though it is a bit old by now  :
>
> http://www.linuxjournal.com/content/introducing-csoundac-algorithmic-composition-csound-and-python
>
> Best,
>
> dp
>
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com