Hi, I'm trying to build using the the following parameters:
../build --mode=gcc-12.2.0 --arch='x86_64' --exceptions=seh --threads=win32 --buildroot="C:/mingw-multilib"
Build is not getting past the configure stage, failing with the following error:
checking for flex... flex checking lex output file root... configure: error: cannot find output from flex; giving up
My MSYS2 output is as follows:
<
MSYS /c/Git/mingw-builds/mingw-builds/scripts
$ ../build --mode=gcc-12.2.0 --arch='x86_64' --exceptions=seh --threads=win32 --buildroot="C:/mingw-multilib"
-> Checking OS bitness... 64-bit
-> Checking OS type... MINGW32_NT-10.0-19045
-> Checking for installed packages... --> installing required packages...
:: Synchronizing package databases...
clangarm64 is up to date
mingw32 is up to date
mingw64 is up to date
ucrt64 is up to date
clang32 is up to date
clang64 is up to date
msys is up to date
warning: lndir-1.0.4-1 is up to date -- skipping
warning: git-2.40.1-1 is up to date -- skipping
warning: subversion-1.14.2-2 is up to date -- skipping
warning: tar-1.34-3 is up to date -- skipping
warning: zip-3.0-3 is up to date -- skipping
warning: p7zip-17.04-1 is up to date -- skipping
warning: make-4.4.1-1 is up to date -- skipping
warning: patch-2.7.6-2 is up to date -- skipping
warning: automake-wrapper-20221207-1 is up to date -- skipping
warning: autoconf-wrapper-20221207-1 is up to date -- skipping
warning: autoconf-archive-2023.02.20-1 is up to date -- skipping
warning: libtool-2.4.7-3 is up to date -- skipping
warning: flex-2.6.4-3 is up to date -- skipping
warning: bison-3.8.2-4 is up to date -- skipping
warning: gettext-0.21-2 is up to date -- skipping
warning: gettext-devel-0.21-2 is up to date -- skipping
warning: wget-1.21.3-2 is up to date -- skipping
warning: sshpass-1.10-1 is up to date -- skipping
warning: texinfo-7.0.3-1 is up to date -- skipping
warning: autogen-5.18.16-4 is up to date -- skipping
warning: dejagnu-1.6.3-1 is up to date -- skipping
there is nothing to do
done
Using downloaded toolchain
-> x86_64 toolchain
--> Toolchain installed.
-> start building x86_64-12.2.0-win32-seh-msvcrt-rt_v9 with "c,c++,fortran" languages supported
-> libiconv
---> libiconv-1.17.tar.gz downloaded
---> libiconv-1.17.tar.gz unpacked
---> patched
---> configured
---> built
---> installed
-> zlib
---> v1.2.13.tar.gz downloaded
---> v1.2.13.tar.gz unpacked
---> patched
---> configured
---> built
---> installed
-> gmp
---> gmp-6.2.1.tar.xz downloaded
---> gmp-6.2.1.tar.xz unpacked
--> configure...
error!
>
I have attached configure.log.
I had a look for others with similar issues but did not come across a solution that worked for me.
This post suggests an issue with the gmp configuration?
Any ideas what the issue might be?
Thanks.
configure.log
Hi, I'm trying to build using the the following parameters: ../build --mode=gcc-12.2.0 --arch='x86_64' --exceptions=seh --threads=win32 --buildroot="C:/mingw-multilib"
Build is not getting past the configure stage, failing with the following error:
checking for flex... flex checking lex output file root... configure: error: cannot find output from flex; giving up
My MSYS2 output is as follows:
I have attached configure.log.
I had a look for others with similar issues but did not come across a solution that worked for me. This post suggests an issue with the gmp configuration?
Any ideas what the issue might be? Thanks. configure.log