Super-Simple-Raspberry-Pi-Audio-Receiver-Install
Super-Simple-Raspberry-Pi-Audio-Receiver-Install copied to clipboard
json-c autogen.sh missing
Hi,
I ran into an issue installing this project on volumio using option 4. The autogen.sh file from the json-c repo was replaced by a cmake method, which makes the bt_pa_config.sh fail.
To fix it, I had to change the repo branch to json-c-0.13 by adding the line: "git checkout json-c-0.13" after the line "exc cd json-c".
Note that I also had to apply these fixes to get the package working:
- Run sudo dpkg --configure -a
- Edit bt_pa_config.sh with "sudo nano"
- Change every "sudo" command in "sudo -S"
- Delete "exc" tag before new "sudo - S chmod XXX" and "sudo - S patch".
- When running the installer, when first "sudo -S" command is met installing "volume-watcher.py", it will stop and seems to freeze. Type in your password for new "sudo -S" command and ENTER
- (It will take forever)
- If using onboard audio, change "audio_sink=0" to 1 in file /usr/local/bin/bluez-udev in sudo mode.
To use the latest release, the json-c repo suggest to replace the "sh autogen.sh" line with: mkdir build cd build ../cmake-configure --prefix=/some/install/path make
It would be nice to see this fixed in the main branch.
Hope it helps somebody.
Edit: Sorry, I pressed send before the ticket was ready.