-
Notifications
You must be signed in to change notification settings - Fork 18
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
t/01-constants.t fails on Mac (if ExtUtils::PkgConfig is installed?) #47
Comments
Looks like |
A preliminary result after some research:
However, the OS version here is 10.14. There's also a 10.14 directory with a libcurl.pc file in --- this one looks correct, with the correct version. |
Fix is to reinstall the pkg-config package:
And now Net::Curl builds+tests fine, even with ExtUtils::PkgConfig installed. So probably there's not much what you can do here. In this case prefering curl-config over pkg-config seems to be safer, but maybe there are other situations where it's the other way around. Feel free to close this issue if you won't do any actions. |
Thanks for testing this further! The sad part is that no other tests fail, only the constants-related ones. Perhaps I should compile a list of "essential constants" (for instance the ones used in the test suite of Net::Curl). Parsing libcurl's |
See subject. A sample fail report: http://www.cpantesters.org/cpan/report/6cb8dd74-62d5-11ea-a721-b27f1f24ea8f (more will follow). It seems that the test passes if ExtUtils::PkgConfig is not used and the curl-config fallback is used instead.
The text was updated successfully, but these errors were encountered: