I've been trying to get the latest version of the DNSSD plugin to work with Ruby 1.9.1 but ran into a few problems. I've outlined the steps I have taken so far, maybe someone here will be able to figure out what else is going wrong.
- Tried installing the current version, using:
sudo gem19 install dnssd
Gem install failed citing htons could not be found.
checking for htons()... no need function htons
Checked the man pages for htons() (from what I understand htons converts a string to network byte order [big-endian] if needed)
Added the relevant include for htons() #include according to Mac OSX 10.5 man pages.
Ran ruby19 extconf.rb and htons() not found, ruby (1.8) succeeds.
DNSSD v0.7.0 github mirror http://github.com/jqr/dnssd/tree/master