Do you need to log in as root? Someone a few weeks ago said that was necessary in Audacity on a Linux system, but I don’t know anyone else who suggested that.
Really, I would just upgrade Ubuntu. Ubuntu intended you to be using Audacity 1.3.12 when they released 10.10 Maverick, not 2.0.2.
Very few people have reported that 2.0.0 records but 2.0.1 or 2.0.2 finds no audio devices. Maybe you should try the latest Audacity version again when Ubuntu release 12.10. I assume you updated to 12.04.1 release already using Update Manager.
When running ./configure there is section of the output (near the end of the output) that looks something like this:
Configuration summary:
Target ...................... i686-pc-linux-gnu
C++ bindings ................ no
Debug output ................ no
ALSA ........................ yes
ASIHPI ...................... no
OSS ......................... yes
JACK ........................ yes
Configuration summary:
Target ...................... i686-pc-linux-gnu
C++ bindings ................ no
Debug output ................ no
ALSA ........................ no
ASIHPI ...................... no
OSS ......................... yes
JACK ........................ no
But I know I have ALSA, because the alsamixer does affect the sound coming from software other than Audacity.
Configuration summary:
Target ...................... i686-pc-linux-gnu
C++ bindings ................ no
Debug output ................ no
ALSA ........................ no
ASIHPI ...................... no
OSS ......................... yes
JACK ........................ no
I thought that might be the problem. If Audacity is compiled without ALSA support then you won’t be able to use ALSA or Jack.
You are probably missing libasound2-dev
On Debian based distributions, the easiest way to install all dependencies for Audacity is:
sudo apt-get build-dep audacity
(“restricted” multi-media repositories must be enabled)