[Users] Building CM on Windows 11 with MSys2 MinGW

Enan Ajmain 3nan.ajmain at gmail.com
Mon Nov 28 12:17:54 CET 2022


On Mon, 28 Nov 2022 03:31:09 -0700
Jonathan Boeing <jonathan at claws-mail.org> wrote:
> Glad to hear it worked.  Rerunning these lines will do a clean rebuild
> of just Claws:
> 
> ./build-aux/pkg.sh claws
> ./autogen.sh
> make

I was using Claws Win32 Installer downloaded from this link:
https://www.claws-mail.org/download.php?file=win32/claws-mail-win32-4.1.1-1.tar.xz

It doesn't have ‘pkg.sh’ file in ‘build-aux/’ directory.  The git repo
has that.  So I cloned the git version and started from the beginning.
Surprisingly, the git version throws this error:

    $ make
    make  all-recursive
    make[1]: Entering directory '/home/enan/projects/claws-win32-installer'
    Making all in po
    make[2]: Entering directory '/home/enan/projects/claws-win32-installer/po'
    make nsis-msgfmt
    make[3]: Entering directory '/home/enan/projects/claws-win32-installer/po'
    $(cat ./build-cc) -o nsis-msgfmt ./nsis-msgfmt.c -lgettextpo
    ./nsis-msgfmt.c:29:10: fatal error: gettext-po.h: No such file or directory
      29 | #include <gettext-po.h>
          |          ^~~~~~~~~~~~~~
    compilation terminated.
    make[3]: *** [Makefile:485: nsis-msgfmt] Error 1
    make[3]: Leaving directory '/home/enan/projects/claws-win32-installer/po'
    make[2]: *** [Makefile:491: de.nsi] Error 2
    make[2]: Leaving directory '/home/enan/projects/claws-win32-installer/po'
    make[1]: *** [Makefile:685: all-recursive] Error 1
    make[1]: Leaving directory '/home/enan/projects/claws-win32-installer'
    make: *** [Makefile:624: all] Error 2

I went back to the tar.xz source.  That one built fine.  I haven't
checked if the patches were properly applied to Claws -- I'm away from
my Windows machine -- but otherwise everything worked fine.

THANKS for all your help.  It's been a long journey (and one that is, I
hope, fruitful).

-- 
Enan
3nan.ajmain at gmail.com
https://git.sr.ht/~enan/
https://www.github.com/3N4N


More information about the Users mailing list