go ahead... be a heretic | |
PerlMonks |
Re: Need help using Inline::Module with JavaScript::Embeddedby syphilis (Archbishop) |
on Jul 13, 2022 at 13:27 UTC ( [id://11145487]=note: print w/replies, xml ) | Need Help?? |
I've been trying for a few days now to get JavaScript::Embedded to work with Inline::Module, but i never could get it to work. I've downloaded JavaScript-Embedded-2.7.1, and had a go at building it on Windows 7, perl-5.36.0, but during 'make test', I continually hit the fatal perl.exe error "The procedure entry point GetSystemTimePreciseAsFileTime could not be located in the dynamic link library KERNEL32.dll". This happens at the beginning of each of the 56 test scripts. KERNEL32.dll is, of course a Windows system dll. If I switch to perl-5.34.0 on the same machine, the module builds and tests fine - so I guess I'll work with that perl for the moment. What is it that you want to fix ? When the test suite is run for the first time, Inline::C performs its required compilation before the tests run. When the test suite is run for the second time, no compilation is done and the existing compiled binaries are used. That all looks correct. If I can get a better idea of what you want to alter then I might be able to help. UPDATE: I think I can now see the issues that need to be addressed. I'll upload a separate post (in this thread) with some fixes, later today. Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|