[Users] Building CM on Windows 11 with MSys2 MinGW
Enan Ajmain
3nan.ajmain at gmail.com
Thu Nov 24 16:42:18 CET 2022
On Wed, 23 Nov 2022 10:56:13 -0700
Jonathan Boeing <jonathan at claws-mail.org> wrote:
> You want the claws-win32-installer repo
> https://git.claws-mail.org/?p=claws-win32-installer.git;a=summary
>
> The build instructions are in the README, and I'd recommend building
> from Debian 11 (a VM is fine) rather than Msys2.
I tried building «CM for Windows» in WSL Ubuntu-20.04. Commands used:
$ cd packages/
$ ./download.sh
$ cd ..
$ ./autogen.sh --build-w64
$ make
It gave one warning in `./autogen.sh`:
configure: WARNING: using cross tools not prefixed with host triplet
And errored out in `make` (possibly related to the warning above):
checking for build system executable suffix... configure: error: Cannot determine executable suffix
(shopt -s nullglob; for pfile in "/mnt/c/Users/ACER/Downloads/claws-mail-win32-4.1.1-1/patches/gmp"/*.postcfg "/mnt/c/Users/ACER/Downloads/claws-mail-win32-4.1.1-1/patches/gmp-6.2.1"/*.postcfg ; do (cd "/mnt/c/Users/ACER/Downloads/claws-mail-win32-4.1.1-1/src/playground/build/gmp-6.2.1"; "${pfile}") done; for pfile in "/mnt/c/Users/ACER/Downloads/claws-mail-win32-4.1.1-1/patches/gmp"/*.postcfg-build "/mnt/c/Users/ACER/Downloads/claws-mail-win32-4.1.1-1/patches/gmp-6.2.1"/*.postcfg-build ; do (cd "/mnt/c/Users/ACER/Downloads/claws-mail-win32-4.1.1-1/src/playground/build/gmp-6.2.1-build"; "${pfile}") done)
touch stamps/stamp-gmp-02-configure
(cd "/mnt/c/Users/ACER/Downloads/claws-mail-win32-4.1.1-1/src/playground/build/gmp-6.2.1-build"; test -n "" && cd ""; if [ "" = "yes" ]; then meson compile -v -C /mnt/c/Users/ACER/Downloads/claws-mail-win32-4.1.1-1/src/playground/build/gmp-6.2.1-build; else make -j8 ; fi)
make[3]: Entering directory '/mnt/c/Users/ACER/Downloads/claws-mail-win32-4.1.1-1/src/playground/build/gmp-6.2.1-build'
make[3]: *** No targets specified and no makefile found. Stop.
make[3]: Leaving directory '/mnt/c/Users/ACER/Downloads/claws-mail-win32-4.1.1-1/src/playground/build/gmp-6.2.1-build'
make[2]: *** [claws-mail.mk:282: stamps/stamp-gmp-03-make] Error 2
make[2]: Leaving directory '/mnt/c/Users/ACER/Downloads/claws-mail-win32-4.1.1-1/src'
make[1]: *** [Makefile:685: all-recursive] Error 1
make[1]: Leaving directory '/mnt/c/Users/ACER/Downloads/claws-mail-win32-4.1.1-1'
make: *** [Makefile:624: all] Error 2
The output of the last two commands are here: http://sprunge.us/17f4ve
--
Enan
3nan.ajmain at gmail.com
https://git.sr.ht/~enan/
https://www.github.com/3N4N
More information about the Users
mailing list