-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
Compile on raspbian with --with-libdaemon #1137
Comments
Thanks for the post. If you have stopped after the
it will still execute the (older) installed Shairport Sync. To run the new Shairport Sync, while still in the build directory, enter:
Perhaps you could post the output from both of these commands? |
But, separately, you don't actually need |
@mikebrady thank you for the response. Yes I was running the local version using ./shairport-sync. Here are the outputs you requested.
with comparison to the distro binary
This is the existing systemd conf file in /lib/systemd/system/ which seems to use the --daemon flag
and this is /etc/os-release
Thanks |
A little more information about the package installed
It seems that it has a dependency on libdaemon. Maybe I should remove the Debian version and do a full install as per your build instructions instead of swapping out the binaries to get a quick fix. |
Thanks for the updates. Yes indeed, a full installation is a good idea, and a full removal of old scripts is important. There is some guidance on the INSTALL.md page. |
Just chiming in here, compiling latest master with the following options does not seem to include libdaemon: At the linking step
If I checkout to |
Thanks. I'll check. |
Apologies for the delay., I can confirm the missing |
Hello again @aleszczynskig and @xska2. I believe it is fixed now on the |
Confirmed |
Confirmed it's working for me too. Many thanks. |
Thanks guys. |
Thanks guys. I finally got shairport-sync working on my Asus RT-AC86U running Asuswrt-merlin using The last version available on Entware to support daemonisation using the -d, --daemon, -j or --justDaemoniseNoPIDFile options is Newer releases below are "broken": So for users running wget https://bin.entware.net/armv7sf-k3.2/archive/shairport-sync-openssl_3.2.2-3_armv7-3.2.ipk
opkg install shairport-sync-openssl_3.2.2-3_armv7-3.2.ipk Since @mikebrady When do you think the next release is due for? |
Update: I compiled the latest development version,
I guess it wasn't solved yet on latest |
This issue has been inactive for 60 days so will be closed 7 days from now. To prevent this, please remove the "stale" label or post a comment. |
Hi,
I'm trying to compile Shairport-sync with libdaemon enabled on raspbian. This is because I want dbus support and the standard package does not have it included.
I am specifying the following
./configure --with-libdaemon --with-pipe --with-dbus-interface --with-avahi --with-ssl=openssl --with-metadata
this configures and compiles just fine but when I run with the -d option, I get the following error message.
shairport-sync was built without libdaemon, so does not support daemonisation using the -d, --daemon, -j or --justDaemoniseNoPIDFile options
I cannot work out why this is not working. I have tried the --with-systemv and --with-systemd. Neither make any difference.
As a little background ...
I am not running make install because I already have a working configuration. I just want to replace the existing binary with the new binary with dbus included. The distributed binary does have the -d flag and seems to use it in the system script.
I have already set up the dbus configuration based upon the dbus configuration file in the docker release. I only need pipe output which is why I am not including support for other outputs.
Unfortunately the docker version doesn't work for me despite including dbus because I am already running Avahi on the host and this created a lot of problems.
Any help will be greatly appreciated.
Many thanks
The text was updated successfully, but these errors were encountered: