LO build failure in Windows 10 (No C-89 compiler found in libassuan part)

Julien Nabet serval2412 at yahoo.fr
Mon Dec 27 21:07:58 UTC 2021


On 27/12/2021 21:58, Hossein Nourikhah wrote:
> 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 
>
>
Thank you Jan-Marek, I confirm downgrading autoconf worked!

Thank you Hossein too for having tested the other workaround and updated 
the documentation.

Now I suppose the real fix will come from libassuan.

Julien



More information about the LibreOffice mailing list