Am Sonntag, 15. November 2015 um 14:30:21, schrieb Jürgen Spitzmüller 
<sp...@lyx.org>
> Am Samstag 14 November 2015, 21:34:43 schrieb Scott Kostyshak:
> > On Sat, Nov 14, 2015 at 04:31:55PM -0800, Pavel Sanda wrote:
> > > Scott Kostyshak wrote:
> > > > Dear all,
> > > > 
> > > > If you have time, please download the LyX 2.2.0alpha1 tar and test that
> > > 
> > > > it compiles/installs as expected. It is located here:
> > > Monolithic build seems to be broken:
> > I can reproduce but I'm not sure how to fix it. Should I do a git
> > bisect?
> 
> This probably points to 
> http://www.lyx.org/trac/changeset/7f1d33efc1d0b4302875706ba85d42c2a8f35a67/lyxgit/
> 
> Please try the attached patch.
> 
> Jürgen
> 
> > 
> > Scott

Cmake build: Using '-DLYX_MERGE_FILES=ON' I get this error:

[ 46%] Building CXX object 
src/support/CMakeFiles/support.dir/_allinone_const.C.o
cd /usr/BUILD/BuildLyxGitQtlocal/src/support && /usr/bin/c++   
-DBOOST_SIGNALS_NO_DEPRECATION_WARNING=1 -DQT_CORE_LIB -DQT_GUI_LIB 
-I/usr/BUILD/BuildLyxGitQtlocal -I/usr/src/lyx/lyx-git/src 
-I/usr/include/enchant -I/usr/src/lyx/lyx-git/boost 
-I/usr/src/lyx/lyx-git/src/support -I/usr/BUILD/BuildLyxGitQtlocal/src/support 
-I/usr/src/lyx/lyx-git/src/support/mythes -isystem /usr/include/qt5 -isystem 
/usr/include/qt5/QtCore -isystem 
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -isystem 
/usr/include/qt5/QtGui  -Wall -Wunused-parameter --std=c++11 
-fno-strict-aliasing  -Wall -Wunused-parameter --std=c++11 -fno-strict-aliasing 
-O0 -g3 -D_DEBUG -fPIC   -DBOOST_USER_CONFIG="<config.h>" -o 
CMakeFiles/support.dir/_allinone_const.C.o -c 
/usr/BUILD/BuildLyxGitQtlocal/src/support/_allinone_const.C
In file included from 
/usr/src/lyx/lyx-git/src/support/AppleScriptProxy.cpp:17:0,
                 from 
/usr/BUILD/BuildLyxGitQtlocal/src/support/_allinone_const.C:48:
/usr/src/lyx/lyx-git/src/LyX.h:124:18: error: reference to ‘ErrorItem’ is 
ambiguous
  void printError(ErrorItem const &);
                  ^
/usr/src/lyx/lyx-git/src/LyX.h:27:7: note: candidates are: class lyx::ErrorItem
 class ErrorItem;
       ^
In file included from 
/usr/BUILD/BuildLyxGitQtlocal/src/support/_allinone_const.C:43:0:
/usr/src/lyx/lyx-git/src/support/debug.cpp:34:8: note:                 struct 
lyx::{anonymous}::ErrorItem
 struct ErrorItem {
        ^
In file included from 
/usr/src/lyx/lyx-git/src/support/AppleScriptProxy.cpp:17:0,
                 from 
/usr/BUILD/BuildLyxGitQtlocal/src/support/_allinone_const.C:48:
/usr/src/lyx/lyx-git/src/LyX.h:124:18: error: ‘ErrorItem’ has not been declared
  void printError(ErrorItem const &);
                  ^
make[2]: *** [src/support/CMakeFiles/support.dir/_allinone_const.C.o] Chyba 1
make[2]: Leaving directory `/usr/BUILD/BuildLyxGitQtlocal'
make[1]: *** [src/support/CMakeFiles/support.dir/all] Chyba 2
make[1]: Leaving directory `/usr/BUILD/BuildLyxGitQtlocal'

Normally I never use monolithic build, so maybe it was always erroneous.
Looks like disabling it would be a good idea.

        Kornel

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

Reply via email to