Audacity 2.0.6 - Ubuntu 14.10 - No devices found

I am having some issues with wav files from my recorder, so I want to compile
and try Audacity 2.0.6. Running Ubuntu 14.10

Unpacked source from audacity-minsrc-2.0.6.tar.xz

$ ./configure --disable-dynamic-loading
$ make
$ sudo checkinstall make install

You can remove it from your system anytime using:

dpkg -r audacity-src

==============
Help → Audio Device Info…

Audio Device Info

Default recording device number: -1
Default playback device number: -1
No devices found

How do I get Audacity to see an audio device?

What about the Ubuntu repository version? Does that find your audio device?

I uninstalled the compiled 2.0.6, then installed the Ubuntu repo. 2.0.5. The wav file that did
not play now plays fine. I’m not sure what that means, but I’ll use 2.0.5 until the problems return.

=============== Audio Device Info... (From reinstalled repository 2.0.5)
Device ID: 0
Device name: HDA Intel MID: 92HD81B1X5 Analog (hw:0,0)
Host name: ALSA
Input channels: 2
Output channels: 2
Low Input Latency: 0.005805
Low Output Latency: 0.005805
High Input Latency: 0.034830
High Output Latency: 0.034830
Supported Rates:
    44100
    48000
    88200
    96000
    192000
==============================
Device ID: 1
Device name: HDA ATI HDMI: 0 (hw:1,3)
Host name: ALSA
Input channels: 0
Output channels: 8
Low Input Latency: -1.000000
Low Output Latency: 0.005805
High Input Latency: -1.000000
High Output Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 2
Device name: sysdefault
Host name: ALSA
Input channels: 128
Output channels: 128
Low Input Latency: 0.021333
Low Output Latency: 0.021333
High Input Latency: 0.021333
High Output Latency: 0.021333
Supported Rates:
    8000
    9600
    11025
    16000
    22050
    32000
    44100
    48000
    88200
    176400
    352800
==============================
Device ID: 3
Device name: front
Host name: ALSA
Input channels: 0
Output channels: 2
Low Input Latency: -1.000000
Low Output Latency: 0.005805
High Input Latency: -1.000000
High Output Latency: 0.034830
Supported Rates:
    44100
    48000
    88200
    96000
    192000
==============================
Device ID: 4
Device name: surround40
Host name: ALSA
Input channels: 0
Output channels: 2
Low Input Latency: -1.000000
Low Output Latency: 0.005805
High Input Latency: -1.000000
High Output Latency: 0.034830
Supported Rates:
    44100
    48000
    88200
    96000
    192000
==============================
Device ID: 5
Device name: surround51
Host name: ALSA
Input channels: 0
Output channels: 2
Low Input Latency: -1.000000
Low Output Latency: 0.005805
High Input Latency: -1.000000
High Output Latency: 0.034830
Supported Rates:
    44100
    48000
    88200
    96000
    192000
==============================
Device ID: 6
Device name: surround71
Host name: ALSA
Input channels: 0
Output channels: 2
Low Input Latency: -1.000000
Low Output Latency: 0.005805
High Input Latency: -1.000000
High Output Latency: 0.034830
Supported Rates:
    44100
    48000
    88200
    96000
    192000
==============================
Device ID: 7
Device name: pulse
Host name: ALSA
Input channels: 32
Output channels: 32
Low Input Latency: 0.008707
Low Output Latency: 0.008707
High Input Latency: 0.034830
High Output Latency: 0.034830
Supported Rates:
    8000
    9600
    11025
    12000
    15000
    16000
    22050
    24000
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 8
Device name: dmix
Host name: ALSA
Input channels: 0
Output channels: 2
Low Input Latency: -1.000000
Low Output Latency: 0.021333
High Input Latency: -1.000000
High Output Latency: 0.021333
Supported Rates:
    48000
==============================
Device ID: 9
Device name: default
Host name: ALSA
Input channels: 32
Output channels: 32
Low Input Latency: 0.008707
Low Output Latency: 0.008707
High Input Latency: 0.034830
High Output Latency: 0.034830
Supported Rates:
    8000
    9600
    11025
    12000
    15000
    16000
    22050
    24000
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Selected capture device: 9 - default
Selected playback device: 9 - default
Supported Rates:
    8000
    9600
    11025
    12000
    15000
    16000
    22050
    24000
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Available mixers:
==============================
Available capture sources:
==============================
Available playback volumes:
0 - Master:0
1 - Headphone:0
2 - Speaker:0
3 - PCM:0
4 - Mic:0
5 - Mic Boost:0
6 - Beep:0
7 - Internal Mic Boost:0
==============================
Capture volume is emulated
Playback volume is native

The problem building was probably due to missing header files for dependencies.

If you want to have another go at building, run this before you start so as to pull in the dependencies:

sudo apt-get build-dep audacity

To make a log of the entire build process:

./configure --disable-dynamic-loading 2>&1 | tee build-log
make 2>&1 | tee -a build-log

Assuming that the build completes correctly, Audacity can be run from the build folder, which for 2.0.6 is the src/ directory

cd src
./audacity