[Slackbuilds-users] synergy-1.7.3 Slackbuild fails with dns_sd.h not found error

Christoph Willing chris.willing at iinet.net.au
Tue Jun 9 00:54:34 UTC 2015



On 09/06/15 09:00, Richards, Don wrote:
> Hi,
>
> Running Slackware64-14.1.
>
> Downloaded avahi-0.6.31-x86_64-1dj.txz for Slackware 14.1
> from the Salix repository.
>
> Installed package.
>
> Ran synergy.Slackbuild, everything looked OK until:
>
> g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB
>
> -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++
>
> - -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtNetwork
>
> - - -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include -I. -Isrc
>
> - - - -Itmp/release -I. -o tmp/release/ZeroconfRegister.o
>
> - - - - src/ZeroconfRegister.cpp
>
> In file included from src/ZeroconfRegister.cpp:18:0:
>
> src/ZeroconfRegister.h:32:20: fatal error: dns_sd.h: No such file or
>
> directory
>
> #include <dns_sd.h>
>
>                      ^
>
> compilation terminated.
>
> make: *** [tmp/release/ZeroconfRegister.o] Error 1
>
> make: Leaving directory `/tmp/SBo/synergy-1.7.3-Source/src/gui'
>
> Going back to: /tmp/SBo/synergy-1.7.3-Source
>
> Error: make -w failed with error: 512
>
> root at clerndcs04-2015:~/Downloads/synergy/synergy#
>
> However, locate dns_sd.h produces:
>
> /usr/include/avahi-compat-libdns_sd/dns_sd.h
>
> Can I fix this with a symlink, or is there another way?

A symlink will fix it but another question is why that symlink doesn't 
exist already. In the avahi package I have installed myself (built from 
SBo repo) that symlink already exists - its explicitly created in 
avahi.SlackBuild. However it needs to be installed by the correct tool 
(installpkg, upgradepkg etc.) since the link is inserted by the 
doinst.sh script. If you did an explodepkg or something else like that, 
the symlink wouldn't be created.


chris


More information about the SlackBuilds-users mailing list