Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json-c autogen.sh missing #156

Open
fredo514 opened this issue Apr 24, 2020 · 0 comments
Open

json-c autogen.sh missing #156

fredo514 opened this issue Apr 24, 2020 · 0 comments

Comments

@fredo514
Copy link

fredo514 commented Apr 24, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant