Closed chestertonic closed 2 years ago
Hi, thanks for the report.
Do you have M4 installed? pacman -Syuu m4
should resolve it.
I thought package base-devel
included M4, apparently it doesn't. I'll list it in the readme.
I believe m4 is pulled in as a dependency of packages in base-devel
as I checked for it's existence after getting the error message. Looking at the MSYS2 and MINGW packages for autoconf
shows a number of patches to make it work on Windows. I'm not sure if any of those patches will help.
Looks like autoconf was picking up /mingw64/bin/perl
instead of /usr/bin/perl
expected by M4. Not sure if one of the dependencies listed pulled in /mingw64/bin/perl
or I had previously installed it. I just did an export PERL=/usr/bin/perl
before calling build-djgpp.sh
and the build succeeded.
Hi again, sorry, haven't had much time for coding lately.
Good to hear you figured it out, weird though that the mingw64 perl isn't compatible with M4/autoconf. I suppose I could put that export PERL=/usr/bin/perl
line in the script when building on mingw-w64.
When running
./build-djgpp default
(or any other variant) the build always fails at:Seems that this type of failure is common across all platforms but can't seem to find a solution.