[question] Compiling Perl with static_ext #19
Replies: 5 comments
-
Hi, from a very quick look at Perl's |
Beta Was this translation helpful? Give feedback.
-
You're correct! For now, I'm using the snippet above for native and static compilation. Once all modules compile well (plk/biber#338 (comment)), then I'll try to have a compact emscriptenized script based on your ideas in WebPerl. For now it seems that for some reason IO::File is not installed and definitely not installed in the correct order. For now it seems that the best course of action is:
This is rather tedious :( but well |
Beta Was this translation helpful? Give feedback.
-
WebPerl uses this |
Beta Was this translation helpful? Give feedback.
-
I tried both hints file and command-line options. The result was equivalent, so I think their action is equivalent as well |
Beta Was this translation helpful? Give feedback.
-
I'm trying to compile for WebAssembly biber which is implemented in Perl. The relevant issue: plk/biber#338.
As a guidance of a quite modern static Perl build I found WebPerl. Thank you for writing https://webperl.zero-g.net/building.html and many comments in the code. I don't need the HTML/JS interaction part, but the static build itself
As part of preparation work, I'm trying to build Perl statically with most (and hopefully, all) extensions that biber requires.
Two of these are
List::MoreUtils
,List::MoreUtils::XS
. However, the build fails. If you have some insight on this, could you advise on how to make the static build work?Error:
It seems that these modules have some build-time dependencies. Not sure how to satisfy them. The build order seems not preserved. Attaching full log:
log.txt
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions