Installing ALSA libraries

May 08, 2021 5 Replies

Since the package for xoscope doesn't include ALSA support I tried downloading the latest sources. Looks like that doesn't find the required ALSA libraries, if I understand the instructions for compiling correctly. There doesn't seem to be a configure option for ALSA support, instead configure looks for libraries and builds for what it finds. At this point configure reports, in part:



ALSA module: no COMEDI module: no


An apt search for ALSA turns up lots of applications that use it, but I don't recognize a generic installation target. What am I missing?



Thanks for reading



bob prohaska



libasound2-dev is the one I guess

libasound* works for *most* alsa. When I was playing with it I needed something else, but that *may* not have been alsa related...

Microsoft : the best reason to go to Linux that ever existed.

don't know what you mean by most - this is the alsa library headers needed for compiling with alsa support

for comedy it is self explaining

libcomedi-dev - Development library for Comedi

however there is possibility that a specific version is required and the autotools system still does not find what it is configured to look for. You have then the option to look into the autotools config files and solve the dependencies in detail.

you should post relevant parts of the error output so we can see what it failed to find and/or what other errors are related

(aka 'Bombastic Bob' in case you wondered) 'Feeling with my fingers, and thinking with my brain' - me 'your story is so touching, but it sounds just like a lie' "Straighten up and fly right"

That was the confusing part. There were no errors of any kind reported.

Both libasound2-dev and libcomedi-dev are available and installed without problems. The configure script reported finding both of them and make completed without complaint.

The resulting binary runs and displays in a reasonable fashion. It seems that ALSA works somewhat better, in the sense of giving a recognizable disply to a squarewave input more easily. It's possible to switch to COMEDI device mode, but the display seems unresponsive. Since I'm dealing with a sound capture device that's not very strange.

Thanks very much for everyone's help!

bob prohaska

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required