juhovh / shairplay

Apple airplay and raop protocol server
Other
1.35k stars 228 forks source link

"Could not initialize the RAOP service" #22

Closed jonthesquirrel closed 10 years ago

jonthesquirrel commented 10 years ago

My computer is running Elementary OS Luna (derivative of Ubuntu 13.10). I followed these steps:

sudo apt-get install autoconf automake libtool libltdl-dev libao-dev libavahi-compat-libdnssd-dev avahi-daemon
git clone https://github.com/juhovh/shairplay.git
cd shairplay
./autogen.sh
./configure
make
sudo make install

When I run shairplay it returns: "Could not initialize the RAOP service". Is this a bug, or am I just missing something?

juhovh commented 10 years ago

Sorry for slow reply. This is usually a problem of the airport.key file missing. Currently in shairport the Apple private key reverse engineered from airport device is kept in a separate file from the code for legal reasons. If you copy the airport.key from the repository to your current directory when running shairplay it will most likely work. Can you confirm this fixes the issue for you? I added a more informative error message to the shairplay executable.

jonthesquirrel commented 10 years ago

I repeated the steps from scratch again; This time after cloning the repository, the airport.key file was there with the rest of the files from the start... works flawlessly now! Thanks for the response! :)

jonthesquirrel commented 10 years ago

You should add to the readme instructions that airport.key needs to be in the directory you run the command from. Since shairplay installs globally, this isn't necessarily apparent for new users.

juhovh commented 10 years ago

I already added a notice in the error message, but I've now updated the README as well.