Csound Csound-dev Csound-tekno Search About

Building from sources: no sound with unknown rtmodule alsa

Date2016-09-27 10:40
FromAnton Kholomiov
SubjectBuilding from sources: no sound with unknown rtmodule alsa
I'm trying to build from sources on ubuntu. It's the new Csound,
just loaded it from github.

If I install with apt-get form main ubuntu repo it works fine,
but it's csound-6.04 and I'd like to use the new version.
But it indicates that system audio is tuned fine and csound can
use it.

But when I try to build it myself I get the error:

~~~
 unknown rtaudio module: 'alsa', using dummy module
~~~

I have installed the alsa dev package: libasound2-dev, I specify
the headers with cmake and it says that alsa is enabled, but
the problem remains.

Here is how I generate the make files:

~~~
cmake ../csound -DJACK_HEADER=/usr/include/jack/ -DALSA_HEADER=/usr/include/alsa/  -DPULSEAUDIO_HEADER=/usr/include/pulse
~~~

What can be wrong? Can you help me?

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

Date2016-09-27 11:02
From"J. C."
SubjectRe: Building from sources: no sound with unknown rtmodule alsa
In Sep 27 A.D. 2016 Anton Kholomiov scripsit:
...
> But when I try to build it myself I get the error:
>
> ~~~
> unknown rtaudio module: 'alsa', using dummy module
> ~~~
...
Hi Anton,
might be far wrong, but I had strange issues, which turned out to be
problems with my csound install directory. Csound installing to
/usr/local/lib/csound/plugins-6.0 and reading from plugins64-6.0, or the
other way around. I finally worked around the issue by linking on of
them to the other.

I also believe that there are environment variables to specify certain
paths for Csound, maybe even one for the typical plugins. You could
check that with the command printenv.

If that doesn't uncover anything, you can try to use ccmake to configure
your build and see if you get any error messages there. The route would
be:
cd csound-build-directory
ccmake ../csound
cmake ../csound # I believe optional in this case
Then the normal make procedure.

HTH. Good luck!

Best wishes,
       Jeanette

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

Date2016-09-27 11:21
FromAnton Kholomiov
SubjectRe: Building from sources: no sound with unknown rtmodule alsa
Thanks for the answer! I guess that it's OPCODE6DIR64 environment variable. I've tried to set it
to

~~~
export OPCODE6DIR64=/usr/local/lib/csound/plugins64-6.0/

~~~

and then reinstall everything. so know I have both plugins-** folder filled with some files,
but the problem is the same..

Anton


2016-09-27 13:02 GMT+03:00 J. C. <julien@mail.upb.de>:
In Sep 27 A.D. 2016 Anton Kholomiov scripsit:
...
But when I try to build it myself I get the error:

~~~
unknown rtaudio module: 'alsa', using dummy module
~~~
...
Hi Anton,
might be far wrong, but I had strange issues, which turned out to be
problems with my csound install directory. Csound installing to
/usr/local/lib/csound/plugins-6.0 and reading from plugins64-6.0, or the
other way around. I finally worked around the issue by linking on of
them to the other.

I also believe that there are environment variables to specify certain
paths for Csound, maybe even one for the typical plugins. You could
check that with the command printenv.

If that doesn't uncover anything, you can try to use ccmake to configure
your build and see if you get any error messages there. The route would
be:
cd csound-build-directory
ccmake ../csound
cmake ../csound # I believe optional in this case
Then the normal make procedure.

HTH. Good luck!

Best wishes,
      Jeanette

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

Date2016-09-27 11:46
FromJohn ff
SubjectRe: Building from sources: no sound with unknown rtmodule alsa

That error looks like runtime not build, so I suspect that the module is built but cannot load.  Have you checked the logs in CMakeFiles or run with -v option?

Sent from TypeApp

On 27 Sep 2016, at 10:41, Anton Kholomiov <anton.kholomiov@GMAIL.COM> wrote:
I'm trying to build from sources on ubuntu. It's the new Csound,
just loaded it from github.

If I install with apt-get form main ubuntu repo it works fine,
but it's csound-6.04 and I'd like to use the new version.
But it indicates that system audio is tuned fine and csound can
use it.

But when I try to build it myself I get the error:

~~~
 unknown rtaudio module: 'alsa', using dummy module
~~~

I have installed the alsa dev package: libasound2-dev, I specify
the headers with cmake and it says that alsa is enabled, but
the problem remains.

Here is how I generate the make files:
< br>~~~
cmake ../csound -DJACK_HEADER=/usr/include/jack/ -DALSA_HEADER=/usr/include/alsa/  -DPULSEAUDIO_HEADER=/usr/include/pulse
~~~

What can be wrong? Can you help me?

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

Date2016-09-27 12:34
FromAnton Kholomiov
SubjectRe: Building from sources: no sound with unknown rtmodule alsa
Attachmentssine-v.log  cmake-output.log  CMakeError.log  
I'm not sure how to interpret those files.
I attach cmake output file and csound run with -v option log.
I can attach a file from CMakeFiles directory if it's going to help.



2016-09-27 13:46 GMT+03:00 John ff <jpff@codemist.co.uk>:

That error looks like runtime not build, so I suspect that the module is built but cannot load.  Have you checked the logs in CMakeFiles or run with -v option?

Sent from TypeApp

On 27 Sep 2016, at 10:41, Anton Kholomiov <anton.kholomiov@GMAIL.COM> wrote:
I'm trying to build from sources on ubuntu. It's the new Csound,
just loaded it from github.

If I install with apt-get form main ubuntu repo it works fine,
but it's csound-6.04 and I'd like to use the new version.
But it indicates that system audio is tuned fine and csound can
use it.

But when I try to build it myself I get the error:

~~~
 unknown rtaudio module: 'alsa', using dummy module
~~~

I have installed the alsa dev package: libasound2-dev, I specify
the headers with cmake and it says that alsa is enabled, but
the problem remains.

Here is how I generate the make files:

~~~
cmake ../csound -DJACK_HEADER=/usr/include/jack/ -DALSA_HEADER=/usr/include/alsa/  -DPULSEAUDIO_HEADER=/usr/include/pulse
~~~

What can be wrong? Can you help me?

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

Date2016-09-27 19:55
Fromjpff
SubjectRe: Building from sources: no sound with unknown rtmodule alsa
your prbem is in te log file


/home/anton/tools/cs6make/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:28: 
fatal error: alsa/asoundlib.h: No such file or directory
compilation terminated.

So you do not have alsa devel headers.

==John


On Tue, 27 Sep 2016, Anton Kholomiov wrote:

> I'm not sure how to interpret those files.
> I attach cmake output file and csound run with -v option log.
> I can attach a file from CMakeFiles directory if it's going to help.
> 
> 
> 
> 2016-09-27 13:46 GMT+03:00 John ff :
>
>       That error looks like runtime not build, so I suspect that the
>       module is built but cannot load.  Have you checked the logs in
>       CMakeFiles or run with -v option?
>
>       Sent from TypeApp
>
>       On 27 Sep 2016, at 10:41, Anton Kholomiov
>        wrote:
>       I'm trying to build from sources on ubuntu. It's the new
>       Csound,
> just loaded it from github.
> 
> If I install with apt-get form main ubuntu repo it works fine,
> but it's csound-6.04 and I'd like to use the new version.
> But it indicates that system audio is tuned fine and csound can
> use it.
> 
> But when I try to build it myself I get the error:
> 
> ~~~
>  unknown rtaudio module: 'alsa', using dummy module
> ~~~
> 
> I have installed the alsa dev package: libasound2-dev, I specify
> the headers with cmake and it says that alsa is enabled, but
> the problem remains.
> 
> Here is how I generate the make files:
> 
> ~~~
> cmake ../csound -DJACK_HEADER=/usr/include/jack/
> -DALSA_HEADER=/usr/include/alsa/ 
> -DPULSEAUDIO_HEADER=/usr/include/pulse
> ~~~
> 
> What can be wrong? Can you help me?
> 
> 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
>

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

Date2016-09-28 12:00
FromAnton Kholomiov
SubjectRe: Building from sources: no sound with unknown rtmodule alsa
But I do have them:

~~~
$ ls /usr/include/alsa/asoundlib.h
/usr/include/alsa/asoundlib.h
~~~

and I specify  the path:

~~~
$ cmake -DJACK_HEADER=/usr/include/jack/ -DALSA_HEADER=/usr/include/alsa/  -DPULSEAUDIO_HEADER=/usr/include/pulse ../csound
~~~

Anton





2016-09-27 21:55 GMT+03:00 jpff <jpff@codemist.co.uk>:
your prbem is in te log file


/home/anton/tools/cs6make/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:28: fatal error: alsa/asoundlib.h: No such file or directory
compilation terminated.

So you do not have alsa devel headers.

==John



On Tue, 27 Sep 2016, Anton Kholomiov wrote:

I'm not sure how to interpret those files.
I attach cmake output file and csound run with -v option log.
I can attach a file from CMakeFiles directory if it's going to help.



2016-09-27 13:46 GMT+03:00 John ff <jpff@codemist.co.uk>:

      That error looks like runtime not build, so I suspect that the
      module is built but cannot load.  Have you checked the logs in
      CMakeFiles or run with -v option?

      Sent from TypeApp

      On 27 Sep 2016, at 10:41, Anton Kholomiov
      <anton.kholomiov@GMAIL.COM> wrote:
      I'm trying to build from sources on ubuntu. It's the new
      Csound,
just loaded it from github.

If I install with apt-get form main ubuntu repo it works fine,
but it's csound-6.04 and I'd like to use the new version.
But it indicates that system audio is tuned fine and csound can
use it.

But when I try to build it myself I get the error:

~~~
 unknown rtaudio module: 'alsa', using dummy module
~~~

I have installed the alsa dev package: libasound2-dev, I specify
the headers with cmake and it says that alsa is enabled, but
the problem remains.

Here is how I generate the make files:

~~~
cmake ../csound -DJACK_HEADER=/usr/include/jack/
-DALSA_HEADER=/usr/include/alsa/ 
-DPULSEAUDIO_HEADER=/usr/include/pulse
~~~

What can be wrong? Can you help me?

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


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

Date2016-09-28 12:20
FromAnton Kholomiov
SubjectRe: Building from sources: no sound with unknown rtmodule alsa
The problem was in the paths.. I would appreciate an example in the BUILD.md

it should be

-DALSA_HEADER=/usr/include/

not

-DALSA_HEADER=/usr/include/alsa/

2016-09-28 14:00 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
But I do have them:

~~~
$ ls /usr/include/alsa/asoundlib.h
/usr/include/alsa/asoundlib.h
~~~

and I specify  the path:

~~~
$ cmake -DJACK_HEADER=/usr/include/jack/ -DALSA_HEADER=/usr/include/alsa/  -DPULSEAUDIO_HEADER=/usr/include/pulse ../csound
~~~

Anton





2016-09-27 21:55 GMT+03:00 jpff <jpff@codemist.co.uk>:
your prbem is in te log file


/home/anton/tools/cs6make/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:28: fatal error: alsa/asoundlib.h: No such file or directory
compilation terminated.

So you do not have alsa devel headers.

==John



On Tue, 27 Sep 2016, Anton Kholomiov wrote:

I'm not sure how to interpret those files.
I attach cmake output file and csound run with -v option log.
I can attach a file from CMakeFiles directory if it's going to help.



2016-09-27 13:46 GMT+03:00 John ff <jpff@codemist.co.uk>:

      That error looks like runtime not build, so I suspect that the
      module is built but cannot load.  Have you checked the logs in
      CMakeFiles or run with -v option?

      Sent from TypeApp

      On 27 Sep 2016, at 10:41, Anton Kholomiov
      <anton.kholomiov@GMAIL.COM> wrote:
      I'm trying to build from sources on ubuntu. It's the new
      Csound,
just loaded it from github.

If I install with apt-get form main ubuntu repo it works fine,
but it's csound-6.04 and I'd like to use the new version.
But it indicates that system audio is tuned fine and csound can
use it.

But when I try to build it myself I get the error:

~~~
 unknown rtaudio module: 'alsa', using dummy module
~~~

I have installed the alsa dev package: libasound2-dev, I specify
the headers with cmake and it says that alsa is enabled, but
the problem remains.

Here is how I generate the make files:

~~~
cmake ../csound -DJACK_HEADER=/usr/include/jack/
-DALSA_HEADER=/usr/include/alsa/ 
-DPULSEAUDIO_HEADER=/usr/include/pulse
~~~

What can be wrong? Can you help me?

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


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

Date2016-09-28 16:42
FromAnton Kholomiov
SubjectRe: Building from sources: no sound with unknown rtmodule alsa
thanks for your help John!

2016-09-28 14:20 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
The problem was in the paths.. I would appreciate an example in the BUILD.md

it should be

-DALSA_HEADER=/usr/include/

not

-DALSA_HEADER=/usr/include/alsa/

2016-09-28 14:00 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
But I do have them:

~~~
$ ls /usr/include/alsa/asoundlib.h
/usr/include/alsa/asoundlib.h
~~~

and I specify  the path:

~~~
$ cmake -DJACK_HEADER=/usr/include/jack/ -DALSA_HEADER=/usr/include/alsa/  -DPULSEAUDIO_HEADER=/usr/include/pulse ../csound
~~~

Anton





2016-09-27 21:55 GMT+03:00 jpff <jpff@codemist.co.uk>:
your prbem is in te log file


/home/anton/tools/cs6make/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:28: fatal error: alsa/asoundlib.h: No such file or directory
compilation terminated.

So you do not have alsa devel headers.

==John



On Tue, 27 Sep 2016, Anton Kholomiov wrote:

I'm not sure how to interpret those files.
I attach cmake output file and csound run with -v option log.
I can attach a file from CMakeFiles directory if it's going to help.



2016-09-27 13:46 GMT+03:00 John ff <jpff@codemist.co.uk>:

      That error looks like runtime not build, so I suspect that the
      module is built but cannot load.  Have you checked the logs in
      CMakeFiles or run with -v option?

      Sent from TypeApp

      On 27 Sep 2016, at 10:41, Anton Kholomiov
      <anton.kholomiov@GMAIL.COM> wrote:
      I'm trying to build from sources on ubuntu. It's the new
      Csound,
just loaded it from github.

If I install with apt-get form main ubuntu repo it works fine,
but it's csound-6.04 and I'd like to use the new version.
But it indicates that system audio is tuned fine and csound can
use it.

But when I try to build it myself I get the error:

~~~
 unknown rtaudio module: 'alsa', using dummy module
~~~

I have installed the alsa dev package: libasound2-dev, I specify
the headers with cmake and it says that alsa is enabled, but
the problem remains.

Here is how I generate the make files:

~~~
cmake ../csound -DJACK_HEADER=/usr/include/jack/
-DALSA_HEADER=/usr/include/alsa/ 
-DPULSEAUDIO_HEADER=/usr/include/pulse
~~~

What can be wrong? Can you help me?

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


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