Am 21.10.2014 um 11:01 schrieb Kornel Benko <kor...@lyx.org>: > Am Dienstag, 21. Oktober 2014 um 02:21:11, schrieb Scott Kostyshak > <skost...@lyx.org> >> On Tue, Oct 21, 2014 at 2:02 AM, Stephan Witt <st.w...@gmx.net> wrote: >> >>> Thank you for your effort. As you saw, I solved the compile problems with >>> a modified configure command line. I couldn't believe it doesn't compile >>> out of the box with Qt5. Most of the time I want to understand the steps >>> I'm doing. That's why I didn't start over with a fresh install. >> >> Makes sense. >> >>> You may ask, why I didn't use cmake. First it was not installed and I had >>> to learn how package management on Ubuntu works. Later I couldn't git it >>> to compile LyX out-of-source. I don't understand it. I'm doing that: >>> >>> $ mkdir lyx-2.2-cmake >>> $ cd lyx-2.2-cmake >>> $ cmake ../LyX-2.2-2.2.0dev >>> -- >>> -- Building in-source >>> -- >>> -- Using GCC version 4.8 >>> >>> fatal: Not a git repository (or any of the parent directories): .git >>> -- Found Qt-Version 4.8.6 >>> ... >>> >>> Why this? >> >> It is strange that it says "Building in-source". I cannot reproduce >> this (I tried your same steps). Something weird is going on. For some >> reason CMAKE_SOURCE_DIR is the same as CMAKE_BINARY_DIR, which should >> not be the case. > > It may be a leftover from previous cmake call inside source.
Yes... > Please check the TOP source dir for files and directories not belonging to > git like > CMakeCache.txt > *.cmake # except INSTALL.cmake > CMakeFiles/ This was the cause for the trouble, thanks. Stephan