No sound when builing

I have a problem building Blender with sound support in the VSE.
No error when it’s compiling but I get this error when I run Blender: “AL lib: (EE) ALCplaybackOSS_open: Could not open /dev/dsp: No such file or directory”
Audio file are recognised and audioform is well drawn but no sound when playback. Everything is fine with the official build.
Is there something special to enable in the cmake config?

The difference is likely in the OpenAL library used for your build. It may be a different version than the one in Blender, or maybe was compiled without support for the specific audio backend that you need.

Maybe some additional package needs to be installed. It also depends if you used or make deps, and on the Linux distro used.

I build the dependencies with make deps: openal and sdl have been build without error. I use CentOS 7 but on a virtual machine, I don’t know if this is a problem.

Try installing Alsa and PulseAudio development packages and doing a clean make deps run again. I think those are: alsa-lib-dev alsa-oss-devel pulseaudio-libs-devel.

We should update make deps to fail if those are not available.