Skip to content

Instantly share code, notes, and snippets.

@zxjinn
Created March 20, 2013 03:40
Show Gist options
  • Save zxjinn/5202141 to your computer and use it in GitHub Desktop.
Save zxjinn/5202141 to your computer and use it in GitHub Desktop.
From a new Raspian install to a working Shairport
# all as root
apt-get update
apt-get -y upgrade
apt-get -y install git libao-dev libssl-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl libwww-perl avahi-utils libmodule-build-perl
# Shairport pre-req
git clone https://github.com/njh/perl-net-sdp.git
cd perl-net-sdp
perl Build.PL
./Build
./Build test
./Build install
cd ..
# output from ./Build install:
# root@raspberrypi:~/perl-net-sdp# ./Build install
# Building Net-SDP
# Installing /usr/local/man/man1/sdp2rat.1p
# Installing /usr/local/share/perl/5.14.2/Net/SDP.pm
# Installing /usr/local/share/perl/5.14.2/Net/SDP/Time.pm
# Installing /usr/local/share/perl/5.14.2/Net/SDP/Media.pm
# Installing /usr/local/man/man3/Net::SDP.3pm
# Installing /usr/local/man/man3/Net::SDP::Media.3pm
# Installing /usr/local/man/man3/Net::SDP::Time.3pm
# Installing /usr/local/bin/sdp2rat
# Shairport install
git clone git://github.com/albertz/shairport.git
cd shairport
make
./shairport.pl -a $RANDOM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment