Skip to content
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

Compilation error with latest getdns #8

Closed
saghul opened this issue Aug 30, 2016 · 5 comments
Closed

Compilation error with latest getdns #8

saghul opened this issue Aug 30, 2016 · 5 comments

Comments

@saghul
Copy link
Contributor

saghul commented Aug 30, 2016

Hi there!

I installed the latest getdns with Homebew and compilation fails because a constant cannot be found:

  CXX(target) Release/obj.target/getdns/src/GNConstants.o
../src/GNConstants.cpp:87:53: error: use of undeclared identifier 'GETDNS_APPEND_NAME_TO_SINGLE_LABEL_FIRST'
    SetConstant("APPEND_NAME_TO_SINGLE_LABEL_FIRST",GETDNS_APPEND_NAME_TO_SINGLE_LABEL_FIRST,exports);
                                                    ^
@joelpurra
Copy link
Collaborator

joelpurra commented Aug 30, 2016

@saghul: Homebrew's getdns formula is still targeting getdns v0.9.0. The current master here in getdns-node targets the getdns v1.0.0 prereleases (such as v1.0.0b2). If brew install getdns --HEAD would have worked I would have recommended that; alas, it does not (needs to be looked at).

For a local (unofficial) Mac setup I'm using my own getdns-developer-support scripts. YMMV, but do let me know if that's of any help!

@saghul
Copy link
Contributor Author

saghul commented Aug 30, 2016

Thanks for the heads up, installing with --HEAD does indeed fail 😢

@joelpurra
Copy link
Collaborator

@saghul: opened an issue upstream: getdnsapi/getdns#209 -- would also like to see support for brew install --devel getdns.

@joelpurra
Copy link
Collaborator

@saghul: see pull request Homebrew/homebrew-core#11578 for brew install getdns with v1.0.0, --devel for v1.1.0-rc1 (currently failing with brew) and --HEAD for getdns' develop branch (currently failing with brew) and info in getdnsapi/getdns#209.

@joelpurra
Copy link
Collaborator

Homebrew has now accepted the getdns v1.0.0 pull request; users should be installing/upgrading to it automatically. This should make it easier for users and devs to get started with getdns-node.

Closing this issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants