Csound Csound-dev Csound-tekno Search About

[Csnd-dev] cannot build

Date2016-12-24 17:58
Fromjoachim heintz
Subject[Csnd-dev] cannot build
i get this error while building current csound develop:

[ 67%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
[ 67%] Building C object 
CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
[ 67%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
[ 67%] Linking C shared library libcsound64.so
[ 67%] Built target csound64
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

i did make clean before, to be sure.
i am on debian unstable.

thanks for help -

Date2016-12-24 17:59
FromSteven Yi
SubjectRe: [Csnd-dev] cannot build
Hi Joachim,

Could you run just "make" instead of "make -j6" or some other make
command. It looks like the actual error is not shown in the message
above.

steven

On Sat, Dec 24, 2016 at 12:58 PM, joachim heintz  wrote:
> i get this error while building current csound develop:
>
> [ 67%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
> [ 67%] Building C object
> CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
> [ 67%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
> [ 67%] Linking C shared library libcsound64.so
> [ 67%] Built target csound64
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
>
> i did make clean before, to be sure.
> i am on debian unstable.
>
> thanks for help -

Date2016-12-24 18:09
Fromjoachim heintz
SubjectRe: [Csnd-dev] cannot build
good point — thanks steven.
this is now the more meaningful output:

[ 66%] Building C object InOut/CMakeFiles/pmidi.dir/pmidi.c.o
make[2]: *** No rule to make target '/usr/lib/libportmidi.so', needed by 
'libpmidi.so'.  Stop.
CMakeFiles/Makefile2:1746: recipe for target 
'InOut/CMakeFiles/pmidi.dir/all' failed
make[1]: *** [InOut/CMakeFiles/pmidi.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

what is wrong with portmidi?  is there anything new needed?

cheers -
	joachim


On 24/12/16 18:59, Steven Yi wrote:
> Hi Joachim,
>
> Could you run just "make" instead of "make -j6" or some other make
> command. It looks like the actual error is not shown in the message
> above.
>
> steven
>
> On Sat, Dec 24, 2016 at 12:58 PM, joachim heintz  wrote:
>> i get this error while building current csound develop:
>>
>> [ 67%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>> [ 67%] Building C object
>> CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>> [ 67%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>> [ 67%] Linking C shared library libcsound64.so
>> [ 67%] Built target csound64
>> Makefile:160: recipe for target 'all' failed
>> make: *** [all] Error 2
>>
>> i did make clean before, to be sure.
>> i am on debian unstable.
>>
>> thanks for help -
>>         joachim

Date2016-12-24 19:49
FromJohn ff
SubjectRe: [Csnd-dev] cannot build
For what it worth I do not have a libpmidi in the system either.b I think it got rolled into portaudio

Sent from TypeApp
On 24 Dec 2016, at 18:09, joachim heintz <jh@JOACHIMHEINTZ.DE> wrote:
good point — thanks steven.
this is now the more meaningful output:

[ 66%] Building C object InOut/CMakeFiles/pmidi.dir/pmidi.c.o
make[2]: *** No rule to make target '/usr/lib/libportmidi.so', needed by
'libpmidi.so'. Stop.
CMakeFiles/Makefile2:1746: recipe for target
'InOut/CMakeFiles/pmidi.dir/all' failed
make[1]: *** [InOut/CMakeFiles/pmidi.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

what is wrong with portmidi? is there anything new needed?

cheers -
joachim


On 24/12/16 18:59, Steven Yi wrote:
Hi Joachim,

Could you run just "make" instead of "make -j6" or some other make
command. It looks like the actual error is not shown in the message
above.

steven

On Sat, Dec 24, 2016 at 12:58 PM, joachim heintz <jh@joachimheintz.de> wrote:
i get this error while building current csound develop:

[ 67%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
[ 67%] Building C object
CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
[ 67%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
[ 67%] Linking C shared library libcsound64.so
[ 67%] Built target csound64
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

i did make clean before, to be sure.
i am on debian unsta ble.

thanks for help -
joachim


Date2016-12-24 19:51
FromSteven Yi
SubjectRe: [Csnd-dev] cannot build
Just FYI, I did a test build on my Debian VM and get the same result.
Looking into it now.

On Sat, Dec 24, 2016 at 2:49 PM, John ff  wrote:
> For what it worth I do not have a libpmidi in the system either.b I think it
> got rolled into portaudio
>
> Sent from TypeApp
> On 24 Dec 2016, at 18:09, joachim heintz  wrote:
>>
>> good point — thanks steven.
>> this is now the more meaningful output:
>>
>> [ 66%] Building C object InOut/CMakeFiles/pmidi.dir/pmidi.c.o
>> make[2]: *** No rule to make target '/usr/lib/libportmidi.so', needed by
>> 'libpmidi.so'.  Stop.
>> CMakeFiles/Makefile2:1746: recipe for target
>> 'InOut/CMakeFiles/pmidi.dir/all' failed
>> make[1]: *** [InOut/CMakeFiles/pmidi.dir/all] Error 2
>> Makefile:160: recipe for target 'all' failed
>> make: *** [all] Error 2
>>
>> what is wrong with portmidi?  is there anything new needed?
>>
>> cheers -
>>  joachim
>>
>>
>> On 24/12/16 18:59, Steven Yi wrote:
>>>
>>>  Hi Joachim,
>>>
>>>  Could you run just "make" instead of "make -j6" or some other make
>>>  command. It looks like the actual error is not shown in the message
>>>  above.
>>>
>>>
>>> steven
>>>
>>>  On Sat, Dec 24, 2016 at 12:58 PM, joachim heintz 
>>> wrote:
>>>>
>>>>  i get this error while building current csound develop:
>>>>
>>>>  [ 67%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>>>>  [ 67%] Building C object
>>>>  CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>>>>  [ 67%] Building C object
>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>  [ 67%] Linking C shared library libcsound64.so
>>>>  [ 67%] Built target csound64
>>>>  Makefile:160: recipe for target 'all' failed
>>>>  make: *** [all] Error 2
>>>>
>>>>  i did make clean before, to be sure.
>>>>  i am on debian unstable.
>>>>
>>>>  thanks for help -
>>>>          joachim
>>>
>>>

Date2016-12-24 19:54
Fromjpff
SubjectRe: [Csnd-dev] cannot build
Ignoe tat message -- miseading a small sceen
:I ave ha libportmidi for ages fron epository



On Sat, 24 Dec 2016, John ff wrote:

> For what it worth I do not have a libpmidi in the system either.b I think it
> got rolled into portaudio
> 
> Sent from TypeApp
> On 24 Dec 2016, at 18:09, joachim heintz  wrote:
> 
> good point — thanks steven.
> this is now the more meaningful output:
> [ 66%] Building C object InOut/CMakeFiles/pmidi.dir/pmidi.c.o
> make[2]: *** No rule to make target '/usr/lib/libportmidi.so', needed by 
> 'libpmidi.so'.  Stop.
> CMakeFiles/Makefile2:1746: recipe for target 
> 'InOut/CMakeFiles/pmidi.dir/all' failed
> make[1]: *** [InOut/CMakeFiles/pmidi.dir/all] Error 2
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
> what is wrong with portmidi?  is there anything new needed?
> cheers -
>  joachim
> On 24/12/16 18:59, Steven Yi wrote:
>  Hi Joachim,
>  Could you run just "make" instead of "make -j6" or some other make
>  command. It looks like the actual error is not shown in the message
>  above.
> 
> steven
>  On Sat, Dec 24, 2016 at 12:58 PM, joachim heintz  wrote:
>  i get this error while building current csound develop:
>  [ 67%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>  [ 67%] Building C object
>  CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>  [ 67%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>  [ 67%] Linking C shared library libcsound64.so
>  [ 67%] Built target csound64
>  Makefile:160: recipe for target 'all' failed
>  make: *** [all] Error 2
>  i did make clean before, to be sure.
>  i am on debian unstable.
>  thanks for help -
>          joachim
> 
> 
>

Date2016-12-24 19:56
Fromjpff
SubjectRe: [Csnd-dev] cannot build
d on Debian (Whezzy) it cam via aptitude


On Sat, 24 Dec 2016, jpff wrote:

> Ignoe tat message -- miseading a small sceen
> :I ave ha libportmidi for ages fron epository
>
>
>
> On Sat, 24 Dec 2016, John ff wrote:
>
>> For what it worth I do not have a libpmidi in the system either.b I think 
>> it
>> got rolled into portaudio
>> 
>> Sent from TypeApp
>> On 24 Dec 2016, at 18:09, joachim heintz  wrote:
>> 
>> good point — thanks steven.
>> this is now the more meaningful output:
>> [ 66%] Building C object InOut/CMakeFiles/pmidi.dir/pmidi.c.o
>> make[2]: *** No rule to make target '/usr/lib/libportmidi.so', needed by 
>> 'libpmidi.so'.  Stop.
>> CMakeFiles/Makefile2:1746: recipe for target 
>> 'InOut/CMakeFiles/pmidi.dir/all' failed
>> make[1]: *** [InOut/CMakeFiles/pmidi.dir/all] Error 2
>> Makefile:160: recipe for target 'all' failed
>> make: *** [all] Error 2
>> what is wrong with portmidi?  is there anything new needed?
>> cheers -
>>  joachim
>> On 24/12/16 18:59, Steven Yi wrote:
>>  Hi Joachim,
>>  Could you run just "make" instead of "make -j6" or some other make
>>  command. It looks like the actual error is not shown in the message
>>  above.
>> 
>> steven
>>  On Sat, Dec 24, 2016 at 12:58 PM, joachim heintz  
>> wrote:
>>  i get this error while building current csound develop:
>>  [ 67%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>>  [ 67%] Building C object
>>  CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>>  [ 67%] Building C object 
>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>  [ 67%] Linking C shared library libcsound64.so
>>  [ 67%] Built target csound64
>>  Makefile:160: recipe for target 'all' failed
>>  make: *** [all] Error 2
>>  i did make clean before, to be sure.
>>  i am on debian unstable.
>>  thanks for help -
>>          joachim
>> 
>> 
>

Date2016-12-24 20:01
FromSteven Yi
SubjectRe: [Csnd-dev] cannot build
I managed to fix it here.  What it looks like is that updated versions
of portmidi are installed in a different location than they used to.
I deleted the entries for PORTMIDI_LIBRARY and PORTTIME_LIBRARY in my
CMakeCache.txt in my build directory, then re-built.  That got the new
locations.

The entries changed from being found in /usr/lib to being found in
/usr/lib/x86_64-linux-gnu.



On Sat, Dec 24, 2016 at 2:56 PM, jpff  wrote:
> d on Debian (Whezzy) it cam via aptitude
>
>
>
> On Sat, 24 Dec 2016, jpff wrote:
>
>> Ignoe tat message -- miseading a small sceen
>> :I ave ha libportmidi for ages fron epository
>>
>>
>>
>> On Sat, 24 Dec 2016, John ff wrote:
>>
>>> For what it worth I do not have a libpmidi in the system either.b I think
>>> it
>>> got rolled into portaudio
>>>
>>> Sent from TypeApp
>>> On 24 Dec 2016, at 18:09, joachim heintz  wrote:
>>>
>>> good point — thanks steven.
>>> this is now the more meaningful output:
>>> [ 66%] Building C object InOut/CMakeFiles/pmidi.dir/pmidi.c.o
>>> make[2]: *** No rule to make target '/usr/lib/libportmidi.so', needed by
>>> 'libpmidi.so'.  Stop.
>>> CMakeFiles/Makefile2:1746: recipe for target
>>> 'InOut/CMakeFiles/pmidi.dir/all' failed
>>> make[1]: *** [InOut/CMakeFiles/pmidi.dir/all] Error 2
>>> Makefile:160: recipe for target 'all' failed
>>> make: *** [all] Error 2
>>> what is wrong with portmidi?  is there anything new needed?
>>> cheers -
>>>  joachim
>>> On 24/12/16 18:59, Steven Yi wrote:
>>>  Hi Joachim,
>>>  Could you run just "make" instead of "make -j6" or some other make
>>>  command. It looks like the actual error is not shown in the message
>>>  above.
>>>
>>> steven
>>>  On Sat, Dec 24, 2016 at 12:58 PM, joachim heintz 
>>> wrote:
>>>  i get this error while building current csound develop:
>>>  [ 67%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>>>  [ 67%] Building C object
>>>  CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>>>  [ 67%] Building C object
>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>  [ 67%] Linking C shared library libcsound64.so
>>>  [ 67%] Built target csound64
>>>  Makefile:160: recipe for target 'all' failed
>>>  make: *** [all] Error 2
>>>  i did make clean before, to be sure.
>>>  i am on debian unstable.
>>>  thanks for help -
>>>          joachim
>>>
>>>

Date2016-12-24 20:19
Fromjoachim heintz
SubjectRe: [Csnd-dev] cannot build
i did the same and got the same result.  thanks again and merry christmas =)
	joachim


On 24/12/16 21:01, Steven Yi wrote:
> I managed to fix it here.  What it looks like is that updated versions
> of portmidi are installed in a different location than they used to.
> I deleted the entries for PORTMIDI_LIBRARY and PORTTIME_LIBRARY in my
> CMakeCache.txt in my build directory, then re-built.  That got the new
> locations.
>
> The entries changed from being found in /usr/lib to being found in
> /usr/lib/x86_64-linux-gnu.
>
>
>
> On Sat, Dec 24, 2016 at 2:56 PM, jpff  wrote:
>> d on Debian (Whezzy) it cam via aptitude
>>
>>
>>
>> On Sat, 24 Dec 2016, jpff wrote:
>>
>>> Ignoe tat message -- miseading a small sceen
>>> :I ave ha libportmidi for ages fron epository
>>>
>>>
>>>
>>> On Sat, 24 Dec 2016, John ff wrote:
>>>
>>>> For what it worth I do not have a libpmidi in the system either.b I think
>>>> it
>>>> got rolled into portaudio
>>>>
>>>> Sent from TypeApp
>>>> On 24 Dec 2016, at 18:09, joachim heintz  wrote:
>>>>
>>>> good point — thanks steven.
>>>> this is now the more meaningful output:
>>>> [ 66%] Building C object InOut/CMakeFiles/pmidi.dir/pmidi.c.o
>>>> make[2]: *** No rule to make target '/usr/lib/libportmidi.so', needed by
>>>> 'libpmidi.so'.  Stop.
>>>> CMakeFiles/Makefile2:1746: recipe for target
>>>> 'InOut/CMakeFiles/pmidi.dir/all' failed
>>>> make[1]: *** [InOut/CMakeFiles/pmidi.dir/all] Error 2
>>>> Makefile:160: recipe for target 'all' failed
>>>> make: *** [all] Error 2
>>>> what is wrong with portmidi?  is there anything new needed?
>>>> cheers -
>>>>  joachim
>>>> On 24/12/16 18:59, Steven Yi wrote:
>>>>  Hi Joachim,
>>>>  Could you run just "make" instead of "make -j6" or some other make
>>>>  command. It looks like the actual error is not shown in the message
>>>>  above.
>>>>
>>>> steven
>>>>  On Sat, Dec 24, 2016 at 12:58 PM, joachim heintz 
>>>> wrote:
>>>>  i get this error while building current csound develop:
>>>>  [ 67%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>>>>  [ 67%] Building C object
>>>>  CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>>>>  [ 67%] Building C object
>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>  [ 67%] Linking C shared library libcsound64.so
>>>>  [ 67%] Built target csound64
>>>>  Makefile:160: recipe for target 'all' failed
>>>>  make: *** [all] Error 2
>>>>  i did make clean before, to be sure.
>>>>  i am on debian unstable.
>>>>  thanks for help -
>>>>          joachim
>>>>
>>>>
>>