-
Notifications
You must be signed in to change notification settings - Fork 5
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
pkg-config isn't finding libmarkdown on Linux #3
Comments
A suggestion from the inimitable @aciidb0mb3r: because Package.swift is Swift source code in its own right, you can use |
@twostraws Sounds like a possible solution to me. What I'm afraid of is that there will be no way to show a message to run @ypopovych What do you think? |
The warning occurs every single time you build, even when no changes have been made; it's quite irritating! Worse, for some reason |
Seems as the library is missing .pc file (doesn't updated yet to latest versions). Maybe, we should disable this feature to time, when this will be fixed in Ubuntu repositories? |
@twostraws @ypopovych Guys, what's the behavior on Linux if we keep |
Using crossroadlabs/Markdown 1.0.0-alpha.2, which pulls in crossroadlabs/CDiscount 2.2.1, I get the following warning on Ubuntu 16.04:
I have already installed that package. The compilation completes successfully, so I suspect what is happening is that libmarkdown2-dev doesn't install a pkg-config .pc file on Linux, whereas
brew install discount
does provide one on macOS.Removing either the "pkgConfig" or "providers" sections of your Package.swift might silence the warning, but that presumably introduces other problems? AFAIK "providers" is only advisory for users.
The text was updated successfully, but these errors were encountered: