make vs-ide-integration bumbling on paths in Windows

Ilmari Lauhakangas ilmari.lauhakangas at libreoffice.org
Wed Feb 2 20:19:54 UTC 2022


On 2.2.2022 12.52, Christian Lohmaier wrote:
> On Tue, Feb 1, 2022 at 6:24 PM Ilmari Lauhakangas
> <ilmari.lauhakangas at libreoffice.org> wrote:
>>
>> A Windows user gets this when running make vs-ide-integration:
>>
>> D:/libre/lode/opt/bin/make -j 4 -rs -f
>> D:/libre/lode/dev/core/Makefile.gbuild gbuildtojson
>> cd D:/libre/lode/dev/core &&  D:/libre/lode/dev/core/bin/gbuild-to-ide
>> --ide vs --make D:/libre/lode/opt/bin/make
>> python3: can't open file
>> '/cygdrive/d/libre/lode/dev/core/D:/libre/lode/dev/core/bin/gbuild-to-ide':
>> [Errno 2] No such file or directory
>> make: *** [Makefile:495: vs-ide-integration] Error 2
>>
>> What can make Python think the gbuild-to-ide resides in such a curious path?
> 
> Having a copy of the config.log and config_host.mk would be
> interesting to see - is python3 a proper cygwin one?
> 
> I assume just attempting to run
> D:/libre/lode/dev/core/bin/gbuild-to-ide will already give the same
> output?
> (should print usage message)

I shared the files with Christian and he pointed to this in config.log:

PATH: /cygdrive/c/Users/User Name/AppData/Local/Programs/Python/Python39/

Cygwin's Python had not been installed. I am waiting for the newcomer to 
verify that installing it fixes the issue.

Ilmari


More information about the LibreOffice mailing list