-
Notifications
You must be signed in to change notification settings - Fork 149
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
Document encoding is not compiling on linux #115
Comments
Do you by any chance have an example file which requires this code path? Then I can add this to my PR #117. Currently that PR just disables this code path on Linux. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On the system
libxml2-dev
package is installed, and/usr/include/libxml -> /usr/include/libxml2/libxml
symlinked and/usr/include/libxml2/module.modulemap
exists with the following content:If I create a template swift package with Fuzi as a dependency in it:
Compilation is failing on the following code snippet:
Fuzi/Sources/Document.swift
Lines 34 to 42 in f08c832
The error message I get is this:
I saw that Kanna has something to patch this behavior but I am not sure how to implement it:
https://github.com/tid-kijyun/Kanna/blob/c657fb9f5827ef138068215c76ad0bb62bbc92da/Sources/Kanna/libxmlHTMLDocument.swift#L29
The text was updated successfully, but these errors were encountered: