Csound Csound-dev Csound-tekno Search About

[Csnd] csound build error

Date2026-03-24 14:00
FromRaoul MEGELAS
Subject[Csnd] csound build error
Hello,

trying to build cSound from git as always with git clone, and cmake ..
   Ok files written.
   make
[  0%] Generating csound_orcparse.c, csound_orcparse.h
~/csound/Engine/csound_orc.y:23.9-16: syntax error, unexpected identifier, expecting string
~/csound/Engine/csound_orc.y:23.9-16: syntax error, unexpected identifier, expecting string
make[2]: make[2]: *** [csound_orcparse.c] Error 1
*** [csound_orcparse.c] Error 1
make[1]: make[1]: *** [CMakeFiles/CsoundLib64.dir/all] Error 2
*** [CMakeFiles/CsoundLib64.dir/all] Error 2
make: make: *** [all] Error 2
*** [all] Error 2

What I am missing?

Any idea would help.
Bests
   Raoul MEGELAS

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2026-03-24 16:26
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] [EXTERNAL] [Csnd] csound build error
Make sure your bison and flex versions are up to date. On MacOS, bison is very old.


Prof. Victor Lazzarini
Maynooth University
Ireland

> On 24 Mar 2026, at 14:00, Raoul MEGELAS  wrote:
>
> *Warning*
>
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>
> Hello,
>
> trying to build cSound from git as always with git clone, and cmake ..
>   Ok files written.
>   make
> [  0%] Generating csound_orcparse.c, csound_orcparse.h
> ~/csound/Engine/csound_orc.y:23.9-16: syntax error, unexpected identifier, expecting string
> ~/csound/Engine/csound_orc.y:23.9-16: syntax error, unexpected identifier, expecting string
> make[2]: make[2]: *** [csound_orcparse.c] Error 1
> *** [csound_orcparse.c] Error 1
> make[1]: make[1]: *** [CMakeFiles/CsoundLib64.dir/all] Error 2
> *** [CMakeFiles/CsoundLib64.dir/all] Error 2
> make: make: *** [all] Error 2
> *** [all] Error 2
>
> What I am missing?
>
> Any idea would help.
> Bests
>   Raoul MEGELAS
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
The information contained in this email may be confidential and privileged. It is intended only for the addressee(s) stated above. If you are not an addressee any use, dissemination, distribution, publication or copying of the information contained in this email is strictly prohibited. If you have received this email in error, please immediately notify us by email at dataprotection@mu.ie and delete this email from your system.

Please note that Maynooth University is subject to Freedom of Information and Data Protection laws. We may be required to disclose the content of emails under the FOI Act 2014, the Data Protection Act 2018 or GDPR.

Is don seolaí / do na seolaithe thuasluaite amháin an ríomhphost seo. D’fhéadfadh an t-eolas atá ann a bheith rúnda agus faoi phribhléid. Mura seolaí tú, tá cosc iomlán ar aon eolas atá sa ríomhphost seo a úsáid, a scaipeadh, a dháileadh, a fhoilsiú nó a chóipeáil. Má fuair tú an ríomhphost seo trí thimpiste, cuir sin in iúl dúinn láithreach trí ríomhphost a chur chuig  dataprotection@mu.ie  agus scrios an ríomhphost seo ó do chóras.

Tabhair faoi deara go bhfuil Ollscoil Mhá Nuad faoi réir dhlíthe um Shaoráil Faisnéise agus um Chosaint Sonraí. D’fhéadfadh ceangal a bheith orainn ábhar ríomhphoist a nochtadh faoin Acht um Shaoráil Faisnéise 2014, faoin Acht um Chosaint Sonraí 2018 nó faoi GDPR.

Registered charity number 20037130



Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2026-03-24 20:17
FromRaoul MEGELAS
SubjectRe: [Csnd] [EXTERNAL] [Csnd] csound build error
hello Victor,

you are right, that was the problem.
But i installed now macports and all dependencies and the 
latest bison.
the problem is than make does not take it in /opt/local/bin but in /usr/bin.
(latest Tahoe).
The  path in .zprofile is correct.
i added it in .profile too in case.
hacking the cmakecache.txt correcting the path
Make a perfect build.
Thank you and Bests
Raoul MEGELAS

> On 24 Mar 2026, at 17:26, Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> wrote:
> 
> Make sure your bison and flex versions are up to date. On MacOS, bison is very old.
> 
> 
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
> 
>> On 24 Mar 2026, at 14:00, Raoul MEGELAS  wrote:
>> 
>> *Warning*
>> 
>> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>> 
>> Hello,
>> 
>> trying to build cSound from git as always with git clone, and cmake ..
>>  Ok files written.
>>  make
>> [  0%] Generating csound_orcparse.c, csound_orcparse.h
>> ~/csound/Engine/csound_orc.y:23.9-16: syntax error, unexpected identifier, expecting string
>> ~/csound/Engine/csound_orc.y:23.9-16: syntax error, unexpected identifier, expecting string
>> make[2]: make[2]: *** [csound_orcparse.c] Error 1
>> *** [csound_orcparse.c] Error 1
>> make[1]: make[1]: *** [CMakeFiles/CsoundLib64.dir/all] Error 2
>> *** [CMakeFiles/CsoundLib64.dir/all] Error 2
>> make: make: *** [all] Error 2
>> *** [all] Error 2
>> 
>> What I am missing?
>> 
>> Any idea would help.
>> Bests
>>  Raoul MEGELAS
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> The information contained in this email may be confidential and privileged. It is intended only for the addressee(s) stated above. If you are not an addressee any use, dissemination, distribution, publication or copying of the information contained in this email is strictly prohibited. If you have received this email in error, please immediately notify us by email at dataprotection@mu.ie and delete this email from your system.
> 
> Please note that Maynooth University is subject to Freedom of Information and Data Protection laws. We may be required to disclose the content of emails under the FOI Act 2014, the Data Protection Act 2018 or GDPR.
> 
> Is don seolaí / do na seolaithe thuasluaite amháin an ríomhphost seo. D’fhéadfadh an t-eolas atá ann a bheith rúnda agus faoi phribhléid. Mura seolaí tú, tá cosc iomlán ar aon eolas atá sa ríomhphost seo a úsáid, a scaipeadh, a dháileadh, a fhoilsiú nó a chóipeáil. Má fuair tú an ríomhphost seo trí thimpiste, cuir sin in iúl dúinn láithreach trí ríomhphost a chur chuig  dataprotection@mu.ie  agus scrios an ríomhphost seo ó do chóras.
> 
> Tabhair faoi deara go bhfuil Ollscoil Mhá Nuad faoi réir dhlíthe um Shaoráil Faisnéise agus um Chosaint Sonraí. D’fhéadfadh ceangal a bheith orainn ábhar ríomhphoist a nochtadh faoin Acht um Shaoráil Faisnéise 2014, faoin Acht um Chosaint Sonraí 2018 nó faoi GDPR.
> 
> Registered charity number 20037130
> 
> 
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2026-03-24 20:46
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] [EXTERNAL] [Csnd] csound build error
You need to put /opt/local/bin before /usr/bin in your path variable, then run cmake.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 24 Mar 2026, at 20:18, Raoul MEGELAS  wrote:
>
> hello Victor,
>
> you are right, that was the problem.
> But i installed now macports and all dependencies and the
> latest bison.
> the problem is than make does not take it in /opt/local/bin but in /usr/bin.
> (latest Tahoe).
> The  path in .zprofile is correct.
> i added it in .profile too in case.
> hacking the cmakecache.txt correcting the path
> Make a perfect build.
> Thank you and Bests
> Raoul MEGELAS
>
>> On 24 Mar 2026, at 17:26, Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> wrote:
>>
>> Make sure your bison and flex versions are up to date. On MacOS, bison is very old.
>>
>>
>> Prof. Victor Lazzarini
>> Maynooth University
>> Ireland
>>
>>>> On 24 Mar 2026, at 14:00, Raoul MEGELAS  wrote:
>>>
>>> *Warning*
>>>
>>> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>>>
>>> Hello,
>>>
>>> trying to build cSound from git as always with git clone, and cmake ..
>>> Ok files written.
>>> make
>>> [  0%] Generating csound_orcparse.c, csound_orcparse.h
>>> ~/csound/Engine/csound_orc.y:23.9-16: syntax error, unexpected identifier, expecting string
>>> ~/csound/Engine/csound_orc.y:23.9-16: syntax error, unexpected identifier, expecting string
>>> make[2]: make[2]: *** [csound_orcparse.c] Error 1
>>> *** [csound_orcparse.c] Error 1
>>> make[1]: make[1]: *** [CMakeFiles/CsoundLib64.dir/all] Error 2
>>> *** [CMakeFiles/CsoundLib64.dir/all] Error 2
>>> make: make: *** [all] Error 2
>>> *** [all] Error 2
>>>
>>> What I am missing?
>>>
>>> Any idea would help.
>>> Bests
>>> Raoul MEGELAS
>>>
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> Send bugs reports to
>>>      https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> The information contained in this email may be confidential and privileged. It is intended only for the addressee(s) stated above. If you are not an addressee any use, dissemination, distribution, publication or copying of the information contained in this email is strictly prohibited. If you have received this email in error, please immediately notify us by email at dataprotection@mu.ie and delete this email from your system.
>>
>> Please note that Maynooth University is subject to Freedom of Information and Data Protection laws. We may be required to disclose the content of emails under the FOI Act 2014, the Data Protection Act 2018 or GDPR.
>>
>> Is don seolaí / do na seolaithe thuasluaite amháin an ríomhphost seo. D’fhéadfadh an t-eolas atá ann a bheith rúnda agus faoi phribhléid. Mura seolaí tú, tá cosc iomlán ar aon eolas atá sa ríomhphost seo a úsáid, a scaipeadh, a dháileadh, a fhoilsiú nó a chóipeáil. Má fuair tú an ríomhphost seo trí thimpiste, cuir sin in iúl dúinn láithreach trí ríomhphost a chur chuig  dataprotection@mu.ie  agus scrios an ríomhphost seo ó do chóras.
>>
>> Tabhair faoi deara go bhfuil Ollscoil Mhá Nuad faoi réir dhlíthe um Shaoráil Faisnéise agus um Chosaint Sonraí. D’fhéadfadh ceangal a bheith orainn ábhar ríomhphoist a nochtadh faoin Acht um Shaoráil Faisnéise 2014, faoin Acht um Chosaint Sonraí 2018 nó faoi GDPR.
>>
>> Registered charity number 20037130
>>
>>
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
The information contained in this email may be confidential and privileged. It is intended only for the addressee(s) stated above. If you are not an addressee any use, dissemination, distribution, publication or copying of the information contained in this email is strictly prohibited. If you have received this email in error, please immediately notify us by email at dataprotection@mu.ie and delete this email from your system.

Please note that Maynooth University is subject to Freedom of Information and Data Protection laws. We may be required to disclose the content of emails under the FOI Act 2014, the Data Protection Act 2018 or GDPR.

Is don seolaí / do na seolaithe thuasluaite amháin an ríomhphost seo. D’fhéadfadh an t-eolas atá ann a bheith rúnda agus faoi phribhléid. Mura seolaí tú, tá cosc iomlán ar aon eolas atá sa ríomhphost seo a úsáid, a scaipeadh, a dháileadh, a fhoilsiú nó a chóipeáil. Má fuair tú an ríomhphost seo trí thimpiste, cuir sin in iúl dúinn láithreach trí ríomhphost a chur chuig  dataprotection@mu.ie  agus scrios an ríomhphost seo ó do chóras.

Tabhair faoi deara go bhfuil Ollscoil Mhá Nuad faoi réir dhlíthe um Shaoráil Faisnéise agus um Chosaint Sonraí. D’fhéadfadh ceangal a bheith orainn ábhar ríomhphoist a nochtadh faoin Acht um Shaoráil Faisnéise 2014, faoin Acht um Chosaint Sonraí 2018 nó faoi GDPR.

Registered charity number 20037130



Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2026-03-25 06:33
FromRaoul MEGELAS
SubjectRe: [Csnd] [EXTERNAL] [Csnd] csound build error
Thank you Victor,
Corrected.
Bests
Raoul MEGELAS



> On 24 Mar 2026, at 21:46, Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> wrote:
> 
> You need to put /opt/local/bin before /usr/bin in your path variable, then run cmake.
> 
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
> 
>> On 24 Mar 2026, at 20:18, Raoul MEGELAS  wrote:
>> 
>> hello Victor,
>> 
>> you are right, that was the problem.
>> But i installed now macports and all dependencies and the
>> latest bison.
>> the problem is than make does not take it in /opt/local/bin but in /usr/bin.
>> (latest Tahoe).
>> The  path in .zprofile is correct.
>> i added it in .profile too in case.
>> hacking the cmakecache.txt correcting the path
>> Make a perfect build.
>> Thank you and Bests
>> Raoul MEGELAS
>> 
>>> On 24 Mar 2026, at 17:26, Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> wrote:
>>> 
>>> Make sure your bison and flex versions are up to date. On MacOS, bison is very old.
>>> 
>>> 
>>> Prof. Victor Lazzarini
>>> Maynooth University
>>> Ireland
>>> 
>>>>> On 24 Mar 2026, at 14:00, Raoul MEGELAS  wrote:
>>>> 
>>>> *Warning*
>>>> 
>>>> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>>>> 
>>>> Hello,
>>>> 
>>>> trying to build cSound from git as always with git clone, and cmake ..
>>>> Ok files written.
>>>> make
>>>> [  0%] Generating csound_orcparse.c, csound_orcparse.h
>>>> ~/csound/Engine/csound_orc.y:23.9-16: syntax error, unexpected identifier, expecting string
>>>> ~/csound/Engine/csound_orc.y:23.9-16: syntax error, unexpected identifier, expecting string
>>>> make[2]: make[2]: *** [csound_orcparse.c] Error 1
>>>> *** [csound_orcparse.c] Error 1
>>>> make[1]: make[1]: *** [CMakeFiles/CsoundLib64.dir/all] Error 2
>>>> *** [CMakeFiles/CsoundLib64.dir/all] Error 2
>>>> make: make: *** [all] Error 2
>>>> *** [all] Error 2
>>>> 
>>>> What I am missing?
>>>> 
>>>> Any idea would help.
>>>> Bests
>>>> Raoul MEGELAS
>>>> 
>>>> Csound mailing list
>>>> Csound@listserv.heanet.ie
>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>>> Send bugs reports to
>>>>     https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>> The information contained in this email may be confidential and privileged. It is intended only for the addressee(s) stated above. If you are not an addressee any use, dissemination, distribution, publication or copying of the information contained in this email is strictly prohibited. If you have received this email in error, please immediately notify us by email at dataprotection@mu.ie and delete this email from your system.
>>> 
>>> Please note that Maynooth University is subject to Freedom of Information and Data Protection laws. We may be required to disclose the content of emails under the FOI Act 2014, the Data Protection Act 2018 or GDPR.
>>> 
>>> Is don seolaí / do na seolaithe thuasluaite amháin an ríomhphost seo. D’fhéadfadh an t-eolas atá ann a bheith rúnda agus faoi phribhléid. Mura seolaí tú, tá cosc iomlán ar aon eolas atá sa ríomhphost seo a úsáid, a scaipeadh, a dháileadh, a fhoilsiú nó a chóipeáil. Má fuair tú an ríomhphost seo trí thimpiste, cuir sin in iúl dúinn láithreach trí ríomhphost a chur chuig  dataprotection@mu.ie  agus scrios an ríomhphost seo ó do chóras.
>>> 
>>> Tabhair faoi deara go bhfuil Ollscoil Mhá Nuad faoi réir dhlíthe um Shaoráil Faisnéise agus um Chosaint Sonraí. D’fhéadfadh ceangal a bheith orainn ábhar ríomhphoist a nochtadh faoin Acht um Shaoráil Faisnéise 2014, faoin Acht um Chosaint Sonraí 2018 nó faoi GDPR.
>>> 
>>> Registered charity number 20037130
>>> 
>>> 
>>> 
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> Send bugs reports to
>>>      https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> The information contained in this email may be confidential and privileged. It is intended only for the addressee(s) stated above. If you are not an addressee any use, dissemination, distribution, publication or copying of the information contained in this email is strictly prohibited. If you have received this email in error, please immediately notify us by email at dataprotection@mu.ie and delete this email from your system.
> 
> Please note that Maynooth University is subject to Freedom of Information and Data Protection laws. We may be required to disclose the content of emails under the FOI Act 2014, the Data Protection Act 2018 or GDPR.
> 
> Is don seolaí / do na seolaithe thuasluaite amháin an ríomhphost seo. D’fhéadfadh an t-eolas atá ann a bheith rúnda agus faoi phribhléid. Mura seolaí tú, tá cosc iomlán ar aon eolas atá sa ríomhphost seo a úsáid, a scaipeadh, a dháileadh, a fhoilsiú nó a chóipeáil. Má fuair tú an ríomhphost seo trí thimpiste, cuir sin in iúl dúinn láithreach trí ríomhphost a chur chuig  dataprotection@mu.ie  agus scrios an ríomhphost seo ó do chóras.
> 
> Tabhair faoi deara go bhfuil Ollscoil Mhá Nuad faoi réir dhlíthe um Shaoráil Faisnéise agus um Chosaint Sonraí. D’fhéadfadh ceangal a bheith orainn ábhar ríomhphoist a nochtadh faoin Acht um Shaoráil Faisnéise 2014, faoin Acht um Chosaint Sonraí 2018 nó faoi GDPR.
> 
> Registered charity number 20037130
> 
> 
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here