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

Complete Windows port #66

Open
dwarring opened this issue Jan 22, 2022 · 2 comments
Open

Complete Windows port #66

dwarring opened this issue Jan 22, 2022 · 2 comments

Comments

@dwarring
Copy link
Contributor

dwarring commented Jan 22, 2022

LibXML release adds 0.6.11 initial support for Windows. DLLs are installed for libxml and xml6, so there's no need to build anything.

Some loose ends:

  1. Rebuilding of xml6.dll is currently a manual process. Needs an automated workflow, similar to, but more involved than, Base64::Native.
  2. libxml2.dll has been built with iconv disabled, which limits XML encoding to a few common cases such as utf-8 and latin-1.
  3. Also built with no threading support

Also awaiting PR's on LibaryMake to fix install failures. Currently needs to be zef installed either --force or -/test

@dwarring
Copy link
Contributor Author

Note also the approach taken by Gtk::Simple, which downloads DLLs from http://gtk-dlls.p6c.org, including libxml2-2.dll

@dwarring
Copy link
Contributor Author

dwarring commented Feb 6, 2023

Currently tests run, but fails on installation, see this test which has LibXML as a dependency.

Caused by name mangling. xml6 is searching for libxml.dll, but it's been renamed during installation.

Again, Gtk::Simple may offer a solution, see GTK::Simple::NativeLib.rakumod which takes copies of the DLLs to a temporary directory with unmangled names.

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

1 participant