[GH-ISSUE #46] Void Linux dns_sd.h #38

Closed
opened 2026-05-05 04:50:03 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @johnny-mac on GitHub (May 23, 2018).
Original GitHub issue: https://github.com/debauchee/barrier/issues/46

Sorry I don't know where the template went but this field is completely blank, I saw it for a second but it went away. I'll fill it out if I have to, sorry.

Trying to get Barrier to build on Void Linux (GLIBC) but can't seem to do so, it tells me:

CMake Error at CMakeLists.txt:191 (message):
Missing header: dns_sd.h

I've installed c-ares c-ares-devel nss-mdns mDNSResponder and any other dependencies I could find... but still get this error.

Originally created by @johnny-mac on GitHub (May 23, 2018). Original GitHub issue: https://github.com/debauchee/barrier/issues/46 Sorry I don't know where the template went but this field is completely blank, I saw it for a second but it went away. I'll fill it out if I have to, sorry. Trying to get Barrier to build on Void Linux (GLIBC) but can't seem to do so, it tells me: CMake Error at CMakeLists.txt:191 (message): Missing header: dns_sd.h I've installed c-ares c-ares-devel nss-mdns mDNSResponder and any other dependencies I could find... but still get this error.
Author
Owner

@johnny-mac commented on GitHub (May 23, 2018):

configure_args="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc
--disable-doxygen-doc --enable-compat-libdns_sd --enable-compat-howl
--with-xml=expat --with-avahi-user=avahi --with-avahi-group=avahi
--with-avahi-priv-access-group=network --with-autoipd-user=avahi
--with-autoipd-group=avahi --with-distro=none --disable-xmltoman
--disable-static ssp_cv_lib=no --enable-python --disable-pygtk
--disable-glib --disable-python-dbus --disable-gobject --disable-gtk
--disable-gtk3 --disable-dbm --disable-introspection --sbindir=/usr/bin
--disable-pygobject"

dns_sd is enabled, why isn't it working? I even custom-compiled AVAHI through the Void Linux template yet I still get this funny error...

libdns_sd.so
libdns_sd.so.1
libdns_sd.so.1.0.0

These all exist in Void Linux... Perhaps there's some sort of symlink that needs to be made? I dont know..
Is avahi being compiled the wrong way for barrier/synergy to work? Most versions of synergy fail to compile but don't notify me of missing headers in cmake, the build in synergy usually fails while running make & outputs errors about dns_sd.h but in barrier it warns me in cmake.

the dns-sd command appears to work... I guess I'll try to enable glib, introspection & gobject, just to see if that changes anything or not, its just a guess though, if anyone knows what would make this work I would be very pleased to know, thanks.
appears not to work with glib introspection & gobject enabled, IDK what else I can try.

<!-- gh-comment-id:391434390 --> @johnny-mac commented on GitHub (May 23, 2018): configure_args="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc --disable-doxygen-doc --enable-compat-libdns_sd --enable-compat-howl --with-xml=expat --with-avahi-user=avahi --with-avahi-group=avahi --with-avahi-priv-access-group=network --with-autoipd-user=avahi --with-autoipd-group=avahi --with-distro=none --disable-xmltoman --disable-static ssp_cv_lib=no --enable-python --disable-pygtk --disable-glib --disable-python-dbus --disable-gobject --disable-gtk --disable-gtk3 --disable-dbm --disable-introspection --sbindir=/usr/bin --disable-pygobject" dns_sd is enabled, why isn't it working? I even custom-compiled AVAHI through the Void Linux template yet I still get this funny error... libdns_sd.so libdns_sd.so.1 libdns_sd.so.1.0.0 These all exist in Void Linux... Perhaps there's some sort of symlink that needs to be made? I dont know.. Is avahi being compiled the wrong way for barrier/synergy to work? Most versions of synergy fail to compile but don't notify me of missing headers in cmake, the build in synergy usually fails while running make & outputs errors about dns_sd.h but in barrier it warns me in cmake. the dns-sd command appears to work... I guess I'll try to enable glib, introspection & gobject, just to see if that changes anything or not, its just a guess though, if anyone knows what would make this work I would be very pleased to know, thanks. appears not to work with glib introspection & gobject enabled, IDK what else I can try.
Author
Owner

@Johnnynator commented on GitHub (May 25, 2018):

The problem is that VoidLinux does provide dns_sd.h like FreeBSD in the avahi-compat-libdns_sd subdirectory. Adding /usr/include/avahi-compat-libdns_sd to the include_directories should help.

<!-- gh-comment-id:392076030 --> @Johnnynator commented on GitHub (May 25, 2018): The problem is that VoidLinux does provide `dns_sd.h` like FreeBSD in the `avahi-compat-libdns_sd` subdirectory. Adding `/usr/include/avahi-compat-libdns_sd` to the `include_directories` should help.
Author
Owner

@Johnnynator commented on GitHub (May 25, 2018):

I created a template for Void. https://github.com/voidlinux/void-packages/pull/14707

<!-- gh-comment-id:392127757 --> @Johnnynator commented on GitHub (May 25, 2018): I created a template for Void. https://github.com/voidlinux/void-packages/pull/14707
Author
Owner

@Johnnynator commented on GitHub (May 26, 2018):

So, barrier is now in the void linux repository.

<!-- gh-comment-id:392261206 --> @Johnnynator commented on GitHub (May 26, 2018): So, barrier is now in the void linux repository.
Author
Owner

@johnny-mac commented on GitHub (May 30, 2018):

WOW! Where did you come from Johnnynator? From heaven?! lol
thank you, this template will make everything much easier. Any idea how long it'll take before it reaches XBPS package manager? I'll probably just build it from template but I'm curious
I made a post on your github void-packages repo about a package I'd like to get packaged, hope you don't mind my asking, you don't have to! I'm only asking!

<!-- gh-comment-id:393173028 --> @johnny-mac commented on GitHub (May 30, 2018): WOW! Where did you come from Johnnynator? From heaven?! lol thank you, this template will make everything much easier. Any idea how long it'll take before it reaches XBPS package manager? I'll probably just build it from template but I'm curious I made a post on your github void-packages repo about a package I'd like to get packaged, hope you don't mind my asking, you don't have to! I'm only asking!
Author
Owner

@Johnnynator commented on GitHub (May 30, 2018):

It is afaik already iinstallable with xbps-install -S barrier or xbps-install -S barrier-gui.

<!-- gh-comment-id:393188560 --> @Johnnynator commented on GitHub (May 30, 2018): It is afaik already iinstallable with `xbps-install -S barrier` or `xbps-install -S barrier-gui`.
Author
Owner

@walker0643 commented on GitHub (Jun 30, 2018):

Looks resolved to me. Reopen if not.

<!-- gh-comment-id:401556532 --> @walker0643 commented on GitHub (Jun 30, 2018): Looks resolved to me. Reopen if not.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#38
No description provided.