From 36fb64d17487453f930b1b1319698db9454a92d4 Mon Sep 17 00:00:00 2001 From: Lucas Garron Date: Thu, 11 Aug 2011 02:58:57 -0400 Subject: [PATCH 1/2] Added more # comment delimiters to the Mac instructions (to make copy-pasting safer/easier). --- INSTALL.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 2ca329c0..ae893ed4 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -33,7 +33,7 @@ Perl modules (install from CPAN if needed e.g. `perl -MCPAN -e 'install X'`): * install [Homebrew](https://github.com/mxcl/homebrew) or [MacPorts](http://www.macports.org/) * type: - $ export ARCHFLAGS="-arch x86_64" (replace x86_64 by your arch) + $ export ARCHFLAGS="-arch x86_64" # (replace x86_64 by your arch) $ brew install pkg-config libao # for [Homebrew](https://github.com/mxcl/homebrew) $ port install pkgconfig libao # for [MacPorts](http://www.macports.org/) $ make @@ -46,11 +46,11 @@ Perl modules (install from CPAN if needed e.g. `perl -MCPAN -e 'install X'`): ### How to run as a daemon on Mac 10.6 $ cp hairtunes shairport.pl /usr/local/bin - $ vi /usr/local/bin/shairport.pl, change the path of hairtunes from ./hairtunes to /usr/local/bin/hairtunes + $ vi /usr/local/bin/shairport.pl # change the path of hairtunes from ./hairtunes to /usr/local/bin/hairtunes $ mkdir -p ~/Library/LaunchAgents $ cp org.mafipulation.shairport.plist ~/Library/LaunchAgents/ $ launchctl load org.mafipulation.shairport.plist - $ launchctl unload org.mafipulation.shairport.plist (to remove) + $ launchctl unload org.mafipulation.shairport.plist # (to remove) ## Windows From bf81943a862295296f866c05724f6d17ae58c455 Mon Sep 17 00:00:00 2001 From: Lucas Garron Date: Thu, 11 Aug 2011 03:03:47 -0400 Subject: [PATCH 2/2] Perl installations seemed to require sudo for me. --- INSTALL.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index ae893ed4..eace49be 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -37,8 +37,8 @@ Perl modules (install from CPAN if needed e.g. `perl -MCPAN -e 'install X'`): $ brew install pkg-config libao # for [Homebrew](https://github.com/mxcl/homebrew) $ port install pkgconfig libao # for [MacPorts](http://www.macports.org/) $ make - $ perl -MCPAN -e 'install Crypt::OpenSSL::RSA' - $ perl -MCPAN -e 'install IO::Socket::INET6' + $ perl -MCPAN -e 'install Crypt::OpenSSL::RSA' # (may require sudo) + $ perl -MCPAN -e 'install IO::Socket::INET6' # (may require sudo) $ perl shairport.pl Users of OS X 10.5 and below will need to install a newer Perl (via `port`/`brew`).