Csound Csound-dev Csound-tekno Search About

[Csnd] Error on building Csound 6.15 on Ubuntu 18.04

Date2020-08-31 08:10
FromJan Jacob Hofmann
Subject[Csnd] Error on building Csound 6.15 on Ubuntu 18.04
Dear list,

I am trying to update my build of Csound 6.13 to 6.15 on ubuntu 18.04, 
but I do keep getting two errors in the process after make -j6:

[...]
[ 78%] Building C object CMakeFiles/csound64.dir/Opcodes/vbap.c.o
make[2]: *** Keine Regel vorhanden, um das Ziel „/usr/lib/libportmidi.so“,
   benötigt von „libpmidi.so“, zu erstellen.  Schluss.
make[2]: *** Auf noch nicht beendete Prozesse wird gewartet …
[ 78%] Linking C shared module ../librtpulse.so
[ 78%] Building C object InOut/CMakeFiles/pmidi.dir/pmidi.c.o
[ 78%] Built target rtpulse
[ 78%] Building C object CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
CMakeFiles/Makefile2:2298: recipe for target 
'InOut/CMakeFiles/pmidi.dir/all' failed
make[1]: *** [InOut/CMakeFiles/pmidi.dir/all] Error 2
make[1]: *** Auf noch nicht beendete Prozesse wird gewartet …

[...]

I have also tried to make a fresh clone but got the same result.

Maybe someone has an idea what I could try?

Best regards,

Jan Jacob




-- 

sound      |      movement       |       object      |      space
sonic architecture     |      site:http://www.sonicarchitecture.de
spatial electronic composition    |    higher order ambisonic music

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

Date2020-08-31 09:05
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Error on building Csound 6.15 on Ubuntu 18.04
Two suggestions:

- create a new build directory if you have not done so

- try building without -j 6 as this will give an easier to read message. Also adf-DCMAKE_VERBOSE_MAKEFILE=1 as an option to cmake so that when you run make it prints the build commands



Prof. Victor Lazzarini
Maynooth University
Ireland

> On 31 Aug 2020, at 08:10, Jan Jacob Hofmann  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.
> 
> Dear list,
> 
> I am trying to update my build of Csound 6.13 to 6.15 on ubuntu 18.04,
> but I do keep getting two errors in the process after make -j6:
> 
> [...]
> [ 78%] Building C object CMakeFiles/csound64.dir/Opcodes/vbap.c.o
> make[2]: *** Keine Regel vorhanden, um das Ziel „/usr/lib/libportmidi.so“,
>  benötigt von „libpmidi.so“, zu erstellen.  Schluss.
> make[2]: *** Auf noch nicht beendete Prozesse wird gewartet …
> [ 78%] Linking C shared module ../librtpulse.so
> [ 78%] Building C object InOut/CMakeFiles/pmidi.dir/pmidi.c.o
> [ 78%] Built target rtpulse
> [ 78%] Building C object CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
> CMakeFiles/Makefile2:2298: recipe for target
> 'InOut/CMakeFiles/pmidi.dir/all' failed
> make[1]: *** [InOut/CMakeFiles/pmidi.dir/all] Error 2
> make[1]: *** Auf noch nicht beendete Prozesse wird gewartet …
> 
> [...]
> 
> I have also tried to make a fresh clone but got the same result.
> 
> Maybe someone has an idea what I could try?
> 
> Best regards,
> 
> Jan Jacob
> 
> 
> 
> 
> --
> 
> sound      |      movement       |       object      |      space
> sonic architecture     |      site:https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.sonicarchitecture.de%2F&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C41c93dbadf9c43b851db08d84d7cf9cc%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637344546457374294&sdata=K7it7RpjOH1rpvsL3Aj2grOCaOOUBY%2B3P5yAU7bGEu0%3D&reserved=0
> spatial electronic composition    |    higher order ambisonic music
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C41c93dbadf9c43b851db08d84d7cf9cc%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637344546457374294&sdata=Uhsdo2lizMlnWv09lW131HAdnHsDabDw124ZjTMljho%3D&reserved=0
> Send bugs reports to
>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C41c93dbadf9c43b851db08d84d7cf9cc%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637344546457374294&sdata=0zv%2FQhs06Zm8ULiQtbBxiwB6BlM2i93fjq1sHJkPWDk%3D&reserved=0
> 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

Date2020-08-31 09:11
FromTarmo Johannes
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Error on building Csound 6.15 on Ubuntu 18.04
AttachmentsNone  None  

Date2020-08-31 09:20
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Error on building Csound 6.15 on Ubuntu 18.04
Of course it’s not -j 6, but with that option and with no build messages, it’s hard to diagnose. 

If it were just portmidi missing, CMake would not configure the build to include the pmidi module build.
========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 31 Aug 2020, at 09:11, Tarmo Johannes  wrote:
> 
> Hi,
> 
> I think it is not the -j6 but libportmidi missing.
> Try to reinstall libportmidi and libportimid-dev (or how they are called). Might be that they are with slighly different name on Ubuntu 18.04, then try to link
> So maybe there is /usr/lib/libportmidi.so.6.8 (or somethinsomething) then try to link
> sudo ln -s /usr/lib/libportmidi.so.6.8 /usr/lib/libportmidi.so
> 
> tarmo
> 
> On Aug 31 2020, at 11:05 am, Victor Lazzarini  wrote:
> Two suggestions:
> 
> - create a new build directory if you have not done so
> 
> - try building without -j 6 as this will give an easier to read message. Also adf-DCMAKE_VERBOSE_MAKEFILE=1 as an option to cmake so that when you run make it prints the build commands
> 
> 
> 
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
> 
> On 31 Aug 2020, at 08:10, Jan Jacob Hofmann  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.
> 
> Dear list,
> 
> I am trying to update my build of Csound 6.13 to 6.15 on ubuntu 18.04,
> but I do keep getting two errors in the process after make -j6:
> 
> [...]
> [ 78%] Building C object CMakeFiles/csound64.dir/Opcodes/vbap.c.o
> make[2]: *** Keine Regel vorhanden, um das Ziel „/usr/lib/libportmidi.so“,
> benötigt von „libpmidi.so“, zu erstellen. Schluss.
> make[2]: *** Auf noch nicht beendete Prozesse wird gewartet …
> [ 78%] Linking C shared module ../librtpulse.so
> [ 78%] Building C object InOut/CMakeFiles/pmidi.dir/pmidi.c.o
> [ 78%] Built target rtpulse
> [ 78%] Building C object CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
> CMakeFiles/Makefile2:2298: recipe for target
> 'InOut/CMakeFiles/pmidi.dir/all' failed
> make[1]: *** [InOut/CMakeFiles/pmidi.dir/all] Error 2
> make[1]: *** Auf noch nicht beendete Prozesse wird gewartet …
> 
> [...]
> 
> I have also tried to make a fresh clone but got the same result.
> 
> Maybe someone has an idea what I could try?
> 
> Best regards,
> 
> Jan Jacob
> 
> 
> 
> 
> --
> 
> sound | movement | object | space
> sonic architecture | site:https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.sonicarchitecture.de%2F&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C41c93dbadf9c43b851db08d84d7cf9cc%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637344546457374294&sdata=K7it7RpjOH1rpvsL3Aj2grOCaOOUBY%2B3P5yAU7bGEu0%3D&reserved=0
> spatial electronic composition | higher order ambisonic music
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C41c93dbadf9c43b851db08d84d7cf9cc%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637344546457374294&sdata=Uhsdo2lizMlnWv09lW131HAdnHsDabDw124ZjTMljho%3D&reserved=0
> Send bugs reports to
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C41c93dbadf9c43b851db08d84d7cf9cc%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637344546457374294&sdata=0zv%2FQhs06Zm8ULiQtbBxiwB6BlM2i93fjq1sHJkPWDk%3D&reserved=0
> 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
> 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

Date2020-08-31 14:24
FromJan Jacob Hofmann
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Error on building Csound 6.15 on Ubuntu 18.04
Dear Victor, dear Tarmo,

problem solved! Csound 6.15 is now running on my linux-machine. This is what did the trick:

My folder-structure is like that:

csound
+- cs6make
+- csound

I followed Victors suggestion to create a new build-directory. I thought that I had already done that by having deleted all the content of my csound sub-folder (the one named „csound“ residing in the parent-folder „csound“) before. But now as I deleted also the content of the cs6make-folder, everything worked like charm after the „make“ command. So there probably was something left in my build from 6.13 that interfered with 6.15. Now it is solved.

Thanks to both of you!!

Best wishes,

Jan Jacob



sound         |         movement         |         object         |        space
sonic architecture       |        site: http://www.sonicarchitecture.de
spatial electronic composition   |    higher order ambisonic music

Am 31.08.2020 um 10:05 schrieb Victor Lazzarini <Victor.Lazzarini@mu.ie>:

Two suggestions:

- create a new build directory if you have not done so

- try building without -j 6 as this will give an easier to read message. Also adf-DCMAKE_VERBOSE_MAKEFILE=1 as an option to cmake so that when you run make it prints the build commands



Prof. Victor Lazzarini
Maynooth University
Ireland

On 31 Aug 2020, at 08:10, Jan Jacob Hofmann <jjh@sonicarchitecture.de> 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.

Dear list,

I am trying to update my build of Csound 6.13 to 6.15 on ubuntu 18.04,
but I do keep getting two errors in the process after make -j6:

[...]
[ 78%] Building C object CMakeFiles/csound64.dir/Opcodes/vbap.c.o
make[2]: *** Keine Regel vorhanden, um das Ziel „/usr/lib/libportmidi.so“,
benötigt von „libpmidi.so“, zu erstellen.  Schluss.
make[2]: *** Auf noch nicht beendete Prozesse wird gewartet …
[ 78%] Linking C shared module ../librtpulse.so
[ 78%] Building C object InOut/CMakeFiles/pmidi.dir/pmidi.c.o
[ 78%] Built target rtpulse
[ 78%] Building C object CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
CMakeFiles/Makefile2:2298: recipe for target
'InOut/CMakeFiles/pmidi.dir/all' failed
make[1]: *** [InOut/CMakeFiles/pmidi.dir/all] Error 2
make[1]: *** Auf noch nicht beendete Prozesse wird gewartet …

[...]

I have also tried to make a fresh clone but got the same result.

Maybe someone has an idea what I could try?

Best regards,

Jan Jacob




--

sound      |      movement       |       object      |      space
sonic architecture     |      site:https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.sonicarchitecture.de%2F&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C41c93dbadf9c43b851db08d84d7cf9cc%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637344546457374294&amp;sdata=K7it7RpjOH1rpvsL3Aj2grOCaOOUBY%2B3P5yAU7bGEu0%3D&amp;reserved=0
spatial electronic composition    |    higher order ambisonic music

Csound mailing list
Csound@listserv.heanet.ie
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C41c93dbadf9c43b851db08d84d7cf9cc%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637344546457374294&amp;sdata=Uhsdo2lizMlnWv09lW131HAdnHsDabDw124ZjTMljho%3D&amp;reserved=0
Send bugs reports to
     https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C41c93dbadf9c43b851db08d84d7cf9cc%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C1%7C637344546457374294&amp;sdata=0zv%2FQhs06Zm8ULiQtbBxiwB6BlM2i93fjq1sHJkPWDk%3D&amp;reserved=0
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