Am Samstag, 23. Juli 2016 um 18:52:56, schrieb Uwe Stöhr <uwesto...@web.de>
> Am 23.07.2016 um 16:33 schrieb Kornel Benko:
> 
>  > Could you try again with clean build tree?
>  > The difference may be  Debug vs Release configuration?
> 
> I was already on the release config. I tried several times with a clean 
> tree without success.
> 
> Now I made it and it seems to be a problem with the compilation of the 
> target layouttranslations1:
> 
> If I open the file INSTALL.vcxproj created by CMake and choose there to 
> build the target "layouttranslations1 I get the error:
> 
> 1>------ Build started: Project: layouttranslations1, Configuration: 
> Release Win32 ------
> 1>  Building Custom Rule D:/LyXGit/2.2.x/po/CMakeLists.txt
> 1>  CMake does not need to re-run because 
> D:\LyXGit\2.2.x\compile-2015\po\CMakeFiles\generate.stamp is up-to-date.
> 1>  Generating layouttranslations_files
> 1>  D:/LyXGit/Master/lyx-windows-deps-msvc2015/Python/python.exe 
> D:/LyXGit/2.2.x/po/lyx_pot.py -b D:/LyXGit/2.2.x -o 
> D:/LyXGit/2.2.x/compile-2015/po/layouttranslations -t layouttranslations 
> --src_file=D:/LyXGit/2.2.x/compile-2015/po/layouttranslations_files
> 1>  Traceback (most recent call last):
> 1>    File "D:/LyXGit/2.2.x/po/lyx_pot.py", line 668, in <module>
> 1>      layouts_l10n(input_files, output, base, True)
> 1>    File "D:/LyXGit/2.2.x/po/lyx_pot.py", line 373, in layouts_l10n
> 1>      import polib
> 1>  ImportError: No module named polib

So we need a check for some python libs :(

> Surprisingly I get this error also in the 2.2.x branch. (I will open a 
> bug report for this.)
> However, I now selected to build the target "translations" (which would 
> normally be built after layouttranslations1). This worked.
> Now, I can compile the tarball!

But probably with bad layouttranslations-file?

> Here is the new installer containing this time the compilation results 
> of the tarball:
> http://ftp.lyx.de/LyX%202.2.1/
> 
> thanks and regards
> Uwe

OK, so installing polib-python-module would cure the compilation.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to