LO build failure in Windows 10 (No C-89 compiler found in libassuan part)
Hossein Nourikhah
hossein at libreoffice.org
Mon Dec 27 20:58:09 UTC 2021
Hello,
On 27.12.2021 18:46, Jan-Marek Glogowski wrote:
> Am 27.12.21 um 18:30 schrieb Julien Nabet:
>> On Win10, I updated my local repo after some weeks and it fails with:
>
> And you updated Cygwin...
>
>> checking how to run the C preprocessor...
>> C:/cygwin/home/serva/lode/dev/core/workdir/LinkTarget/Executable/gcc-wrapper.exe
>> -E
>> configure: error: No C-89 compiler found
>> make[1]: ***
>> [C:/cygwin/home/serva/lode/dev/core/external/libassuan/ExternalProject_libassuan.mk:26:
>> C:/cygwin/home/serva/lode/dev/core/workdir/ExternalProject/libassuan/build]
>> Error 1
>> make: *** [Makefile:291: build] Error 2
>
> Cygwin updated the default to autoconf 2.70+. Workaround: uninstall
> the autoconf2.7 package and install the autoconf2.5 (2.69) package and
> downgrade the meta-package. AFAIK --disable-gpgmepp also works, but I
> didn't test.
I have tested building LibreOffice using --disable-gpgmepp on Windows
10, Cygwin 3.3.3 and autoconf 2.71 using VS 2019 and it worked fine. The
two ways to fix this problem are now written down in the wiki:
https://wiki.documentfoundation.org/Development/BuildingOnWindows#Install_Cygwin_Requirements
Regards,
Hossein
--
Hossein Nourikhah, Ph.D.
Developer Community Architect
The Document Foundation (TDF)
Email: hossein at libreoffice.org
Wiki: https://wiki.documentfoundation.org/User:Hossein
IRC: hossein at libreoffice-dev room in LiberaChat Network
irc://irc.libera.chat/#libreoffice-dev
More information about the LibreOffice
mailing list