Last active
February 9, 2020 20:03
-
-
Save vees/b52fcf0cccde403472a4058761aa3b50 to your computer and use it in GitHub Desktop.
Install darkice with MP3 support on Raspberry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
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
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.