Skip to content

Instantly share code, notes, and snippets.

@vees
Last active February 9, 2020 20:03
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save vees/b52fcf0cccde403472a4058761aa3b50 to your computer and use it in GitHub Desktop.
Save vees/b52fcf0cccde403472a4058761aa3b50 to your computer and use it in GitHub Desktop.
Install darkice with MP3 support on Raspberry Pi
echo "deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi" | sudo tee --append /etc/apt/sources.list
sudo apt-get update
sudo apt-get install libmp3lame-dev
apt-get source darkice
cd darkice-1.2/
./configure --prefix=/usr --sysconfdir=/usr/share/doc/darkice/examples \
--with-lame --with-lame-prefix=/usr/lib/arm-linux-gnueabihf \
--with alsa --with-alsa-prefix=/usr/lib/arm-linux-gnueabihf
make
sudo make install
@thatjackelliott
Copy link

thatjackelliott commented Apr 15, 2017

Hi, there's a typo in the code. Missing a dash in Line 8. Should be:
--with-alsa --with-alsa-prefix=/usr/lib/arm-linux-gnueabihf

Thanks for doing this.

@Exscotticus
Copy link

configure: WARNING: unrecognized options: --with-alsa-prefix

This is with darkice-1.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment