Open agitter opened 3 years ago
I confirmed that building the manuscript locally on Windows with Git for Windows does work when Docker is available. This line in the build script https://github.com/manubot/rootstock/blob/2191d929a12a233347ee79c673b8f2971c10e6dd/build/build.sh#L69
needs to be changed to:
--volume="/$(pwd)/output:/converted/" \
and then bash build/build.sh
works as expected.
The Manubot build environment is not currently supported on Windows. However, the main limitation was previously the pango package, and pango now has win-64 support on the conda-forge channel.
The current conda environment cannot be installed on Windows and gives the ResolvePackageNotFound error reported in #405. However, if I unpin the cairo, cairocffi, and pango versions, I am able to install the manubot conda environment. I end up with
bash build/build.sh
shows they are still missing dependencies:This is related to https://github.com/Kozea/WeasyPrint/issues/971.
I tried
conda install -c conda-forge gtk3
and installed version 3.24.24. That did not resolve the error.It looked like I had the missing DLLs in
.conda\envs\manubot\Library\bin
but they did not have the expected names. I copiedgobject-2.0-0.dll
aslibgobject-2.0-0.dll
,pango-1.0-0.dll
aspango-1.0.dll
, andpangocairo-1.0-0.dll
aspangocairo-1.0.dll
. This gave a new error further into the weasyprint build:Perhaps local Windows builds with weasyprint are now possible, but I'm not planning to troubleshoot this further at this time.