To point Audacity to Widgets at /usr/bin/wx-config (if you need to), prefix the Audacity ./configure command with a command to set the WX_CONFIG environment variable. For example:
WX_CONFIG=/usr/bin/wx-config ./configure <options and arguments>
Did you type any of those --disable-programs options in your configure command? I see some of those --disable-programs entries in the output for a default configure, but not as many as you have. Can you post your complete configure command?
No I didn’t change at all. I downloaded the sources, installed wxGTK-devel.
I have
$ locate wx-config
/usr/bin/wx-config
and I ran the configure and make out of the box without any change. And it seems that the ‘–with-wx-config=/usr/bin/wx-config’ is in the configure file at line 6046.
Hit ENTER. That creates and downloads the entire Audacity code to an “audacity-read-only” directory inside your current directory (no unzip needed). You can call the directory something other than “audacity-read-only” in that checkout command as long as the directory does not already exist.
Then run
cd <the directory you downloaded to>
./configure
sudo make install
I’d recommend that you install pavucontrol (PulseAudio Volume Control). This probably won’t fix the immediate problem, but you will find it useful later.
When you run ./configure if you scroll up a bit from the bottom of the output text you should see that it says:
configure: ---------------------------------------
configure: Including support for OSS
configure: Including support for ALSA
configure: ---------------------------------------
then a bit higher up, something like:
Configuration summary:
Target ...................... i686-pc-linux-gnu
C++ bindings ................ no
Debug output ................ no
ALSA ........................ yes
ASIHPI ...................... no
OSS ......................... yes
JACK ........................ yes
It is essential that ALSA is enabled - do you get that?
Target ...................... i686-pc-linux-gnu
C++ bindings ................ no
Debug output ................ no
ALSA ........................ no
ASIHPI ...................... no
OSS ......................... yes
JACK ........................ no
How can I change that ?
And there is no package named pavucontrol in Centos, but it seems that it has been renamed as gnome-volume-control. For me, it is the same that I have under Fedora.
Thx
That is probably the problem.
libasound2 is the shared library for ALSA applications and is required for ALSA support.
I think that you must have libasound2 installed if sound is working in other programs, but you need the development headers for building applications with ALSA support.