Am 13.09.2015 um 21:39 schrieb da...@dinh.io: > The error message states “Lyx will only have minimal functionality because no > textclasses have been found. You can either try to reconfigure LyX normally, > try to reconfigure without checking your LaTeX installation, or continue.” > Which ever choice (reconfigure, without latex, continue) I select, I get this > message upon trying to create a new document: “The layout file: article could > not be found. A default textclass with default layouts will be used. LyX will > not be able to produce correct output." > > I’m using the 2015-06-13 version of mactex. The path settings for LyX (2.2 > above, 2.1 below) are here: https://i.imgur.com/28XrGLg.png
These settings look ok. IMO, either your TeX engine couldn't be found or LyX cannot detect a useful python interpreter. You may check the existence and/or contents of the file $HOME/Library/Application\ Support/LyX-2.2/configure.log to verify this. Another possibility to check for errors is to enable debug messages (View -> Messages) and read the log output there. Stephan > > Thanks, > ~David > > > > On Sun, Sep 13, 2015 at 3:00 AM, Stephan Witt <st.w...@gmx.net> wrote: > > Am 12.09.2015 um 23:01 schrieb da...@dinh.io: > > > Thanks Stephan. > > > > When I launch this version of LyX, I got an error saying that textclasses > > could not be found, which persisted even after I had updated the paths to > > match my LyX 2.1 settings exactly. Are there any paths hardcoded into the > > build? > > No, not that I'm aware of it. I've tested the LyX app on two additional > different systems and didn't get any error message. Furthermore the paths of > the 2.2 LyX preferences should have been copied from the 2.1 preferences. > What's the exact wording of the error message? > > Stephan > > PS. You've installed some TeX system like MacTeX? > > > On Sun, Sep 6, 2015 at 7:03 AM, Stephan Witt <st.w...@gmx.net> wrote: > > > > > I’m having some difficulty building Lyx 2.2 (commit 0bbc80f) on OSX. > > > Currently > > > using Xcode 6.4 on OSX 10.10.5 and Qt 5.5.0 installed via Homebrew. > > > automake.sh > > > runs fine, and so does configure invoked as follows: > > > > > > > > > ./configure --with-version-suffix=-2.2 --with-libiconv-prefix=/usr > > > --with-x=no > > > --disable-stdlib-debug --prefix=/Users/ddinh/Applications/Lyx-2.2.app > > > --with-qt-dir=/usr/local/opt/qt5 --enable-qt5 --enable-cxx11 > > > > > > > > > which gives: > > > > > > > > > Configuration > > > Host type: x86_64-apple-darwin14.5.0 > > > Special build flags: build=development warnings assertions c++11-mode > > > stdregex use-aspell use-enchant > > > C++ Compiler: g++ > > > C++ Compiler flags: -Wall -Wextra -fPIC -g -O -std=c++11 > > > -Wno-deprecated-register > > > C++ Compiler user flags: > > > Linker flags: > > > Linker user flags: > > > Qt Frontend: > > > Qt version: 5.5.0 > > > Packaging: macosx > > > LyX binary dir: /Users/ddinh/Applications/Lyx-2.2.app/Contents/MacOS > > > LyX files dir: > > > /Users/ddinh/Applications/Lyx-2.2.app/Contents/Resources > > > > > > > > > On a call to make, compilation seems to work but linking fails as > > > follows: > > > > > > > > > rm -f hash-temp \ > > > @echo " GEN lyx_commit_hash.h";hash=`cd ".." && git log -1 > > > --pretty=format:%H 2>/dev/null || echo none` ; \ > > > sed s/@LYX_GIT_COMMIT_HASH@/$hash/ "."/lyx_commit_hash.h.in >hash-temp > > > ; \ > > > cmp -s lyx_commit_hash.h hash-temp || cp hash-temp lyx_commit_hash.h ; \ > > > rm -f hash-temp > > > CXXLD lyx > > > clang: error: unknown argument: '-framework QtConcurrent' > > > clang: error: unknown argument: '-framework QtSvg' > > > clang: error: unknown argument: '-framework QtWidgets' > > > clang: error: unknown argument: '-framework QtMacExtras' > > > clang: error: unknown argument: '-framework QtGui' > > > clang: error: unknown argument: '-framework QtCore' > > > make[4]: *** [lyx] Error 1 > > > make[3]: *** [all-recursive] Error 1 > > > make[2]: *** [all] Error 2 > > > make[1]: *** [all-recursive] Error 1 > > > make: *** [all] Error 2 > > > > > > > > > Does anyone have experience with this error, or binaries of lyx 2.2? > > > > Hi David, > > > > I didn't use Homebrew before but I know of difficulties to build LyX with > > Qt from MacPorts. > > I'm able to compile and link LyX with Qt frameworks I've built myself on my > > Mac from source. > > > > I've made a disk image with LyX-2.2.0 at git commit > > 211ac35314d661127c407635af880bcf1679ddba. > > You can grab it and a detached gpg-signature from dropbox here: > > > > https://dl.dropboxusercontent.com/u/27842660/LyX-2.2.0dev-211ac35%2Bqt5-x86_64-cocoa.dmg > > > > https://dl.dropboxusercontent.com/u/27842660/LyX-2.2.0dev-211ac35%2Bqt5-x86_64-cocoa.dmg.sig > > > > > > Regards, > > Stephan > > > > > > >