Am Mittwoch, 13. November 2013 um 09:06:19, schrieb stefano franchi <stefano.fran...@gmail.com> > On Wed, Nov 13, 2013 at 8:40 AM, Kornel Benko <kor...@lyx.org> wrote: > > > Am Mittwoch, 13. November 2013 um 08:31:49, schrieb stefano franchi < > > stefano.fran...@gmail.com> > > > On Tue, Nov 12, 2013 at 9:54 AM, stefano franchi > > > <stefano.fran...@gmail.com>wrote: > > > > > > > Configuration of the recently released 2.1.beta on my Archlinux system > > > > gives python-related errors (see below). > > > > > > > > It looks like a python2 /python3 issue. On Archlinux, python defaults > > to > > > > python3, while the executable for python 2.7 is /usr/bin/python2 > > > > > > > > Interestingly, configure itself ends successfully. My first attempt at > > > > compiling (i.e. make) failed immediately with a different > > python-related > > > > error. I tried again (without reconfiguring) and it worked. > > > > > > > > However, I do get the same error in the console when starting lyx. Lyx > > > > starts anyways, so I am not sure how serious this problem is. > > > > > > > > > > > > > > > > After a bit more testing, my guess is that the problem is most likely > > > with the (presumably) python script(s) that locate the existing LaTex > > > installation and configures LyX accordingly. That's what fails, thereby > > > making Lyx basically unusable. > > > > > > Could anyone tell me which scripts are responsible for LaTeX > > configuration? > > > I looked at a promising /lib/scripts/TeXFiles.py, but that one does not > > > seem to be the root of the problem. > > > > What about ./lib/configure.py? > > > > > Hmm, I missed that. Will look into it. > > > > > Any ideas? > > > > > > > Have you tried the cmake build? > > > > > I did. same problem (in fact I found out more about the issue by looking at > the results of the cmake build. Autoconf was absolutely cryptic to me). >
I would try to patch ./src/support/os.cpp:103 (Dont know the globbing syntax here, (sh?)) QStringList list = qdir.entryList(QStringList("python?")); > S. Kornel
signature.asc
Description: This is a digitally signed message part.