So... I'm attending railsconf2009 and EVERYONE is abuzz about gitjour so I figured I'd take a look at it. Only problem, it doesn't install out of the box on Ubunutu, you need to add some libs.
me@laptop:~$ sudo gem install dnssd gitjour
Building native extensions. This could take a while...
ERROR: Error installing dnssd:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb install dnssd gitjour
checking for DNSServiceRefSockFD() in -lmdns... no
checking for DNSServiceRefSockFD() in -ldns_sd... no
can't find rendezvous library
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.
I couldn't find any resources on how to fix it, so here it goes:
me@laptop:~$ sudo apt-get install avahi-daemon avahi-utils libavahi-compat-libdnssd1 libavahi-compat-libdnssd-dev
me@laptop:~$ sudo gem install dnssd gitjour
Super easy, but couldn't find the solution anywhere... enjoy!
2 comments:
# gitjour list
*** WARNING *** The program 'ruby1.8' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=ruby1.8
Gathering for up to 5 seconds...
Anyone know if this is expected?
Seems to be expected, until someone fixes it, you can make the warning disappear (well, hide it) by setting the environment variable $AVAHI_COMPAT_NOWARN to 1
Post a Comment