Hello,
I am trying to install lyx 1.5.4 but I have a strange error durint the
compilation. The "./configure" step is ok, but during the "make" step, the
compilation stops when it compiles Dialogs.cpp, with the errors:
../../../src/LyXFunc.h:42: error: expected class-name before 'protected'
../../../src/LyXFunc.h:42: error: expected `{' before 'protected'
../../../src/LyXFunc.h:42: error: expected unqualified-id before 'protected'
../../../src/frontends/LyXView.h:62: error: expected class-name before
'protected'
../../../src/frontends/LyXView.h:62: error: expected `{' before 'protected'
../../../src/frontends/LyXView.h:62: error: expected unqualified-id before
'protected'
....
Is there any problem with my g ++ ? "g++ -v" gives me:
Using built-in specs.
Target: x86_64-mandriva-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib
--with-slibdir=/lib64 --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --disable-checking
--enable-languages=c,c++,ada,f95,objc,java --host=x86_64-mandriva-linux-gnu
--with-system-zlib --enable-long-long --enable-__cxa_atexit
--enable-clocale=gnu --disable-libunwind-exceptions --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --enable-gtk-cairo
--disable-libjava-multilib
Thread model: posix
gcc version 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0)
Thanks for your answers
Remy