-
Notifications
You must be signed in to change notification settings - Fork 13
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
'CZlib' libz.pc: warning: couldn't find pc file #41
Comments
If you want to fix the warning (which you don't have to), you can do |
Seems odd that SPM generates warnings that can only be fixed by using Homebrew? |
Well, the Kitura-WebSocket-NIO Package.swift file says that it needs I guess the message is there that in case it requires some more esoteric package it would give you a hint on what you could do to fix the errors if you get any compilation/linker errors further down the line. SwiftPM will just attempt to build without the If you really want to remove this warning, I think you can also just drop the |
Perhaps SPM shouldn't print this warning on macOS, unless it's also willing to advise people to install Homebrew (which I guess wouldn't be deemed OK). |
I'm not actually sure if SwiftPM actually shells out to |
Having run
kitura init
to generate a basic Swift application when I recompile it to use Kitura-NIO by setting export KITURA_NIO=1 I then get a warning from CZlib as follows:....
Resolving https://github.com/apple/swift-nio-ssl.git at 2.1.1
'CZlib' libz.pc: warning: couldn't find pc file
[456/456] Linking ./.build/x86_64-apple-macosx/debug/MyKituraApp
The application runs ok but I don't like the warning as I now wonder what didn't work.
I'm running on: macOS Mojave v10.14.5
The text was updated successfully, but these errors were encountered: