Thomson Software Solutions, Inc.

Streaming Audio Server on Raspberry Pi - An Update

After reading Steffen Müellr's excellent article "Live mp3 streaming from audio-in with DarkIce and Icecast2 on Raspberry Pi" from 2012, I tried to do this on my current iteration of the Pi.

I ran into the following problems:

  DarkIce: AudioSource.cpp:122: trying to open ALSA DSP device without support compiled

When he says "Change the compile configuration to match Raspbian environment:" when editing the "debian/rules" file, add the following code "--with-alsa" among the other "--with (...)" statements.  This will allow it to compile with alsa.

When he says "Build and install the darkice package:" 

run "dpkg-buildpackage -rfakeroot -uc -b" as he specifies.

Instead of sudo dpkg -i ../darkice_1.0-999~mp3+1_armhf.deb You may have generated a new version, (instead of the darkice_1.0-999-mp3+1_armhf.deb you may get darkice_1.0-1_armhf.deb like me) do the following:

 cd ..

 ls   and locate the file with a .deb at the end - use this in the next line

 sudo dpkg -i <file-you-just-found.deb>