Hello.  I've not been able to compile LyX 1.5.5.  The error
is that reported in bugs 4499 and 4734, caused by
forward declaration of struct QSessionManager.

I had the same problem with LyX 1.5.4
and Qt 4.3.4.  It occurs with the target
make all.

Qt:  4.4.0 (compiled by me - no
     configuration options except --prefix=/av/qt/4.4.0 )
LyX: 1.5.5 (compiled by me, no configuration
     options except --with-qt4-dir=/av/qt/4.4.0 )
gcc: 4.1.3
ld: configure correctly picked up that it is GNU ld 2.18
    but I did not specify that (and the problem is not resolved by
    --use-gnu-ld anyway)
platform: Ubuntu Linux 7.10 (gutsy) on i386

If I install the Ubuntu Lyx packages (LyX 1.5.1) that works fine.
Thanks for any suggestions.      Stephen Turner

------- excerpt from error message (some newlines put in by me) -----------
make[7]: se ingresa al directorio `/av/lyx/lyx-1.5.5/src/frontends/qt4'

/bin/bash ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../../../src  -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL 
-DQT_NO_KEYWORDS -Winvalid-pch --include=./pch.h -I../../../src 
-I../../../src/frontends -I../../../images -DQT_SHARED -I/av/qt/4.4.0//include 
-I/av/qt/4.4.0//include/QtCore -I/av/qt/4.4.0//include/QtGui   -I../../../boost 
-I../../../src/frontends/controllers   -O2 -MT GuiApplication.lo -MD -MP -MF 
.deps/GuiApplication.Tpo -c -o GuiApplication.lo GuiApplication.cpp

 g++ -DHAVE_CONFIG_H -I. -I../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR 
-DQT_NO_STL -DQT_NO_KEYWORDS -Winvalid-pch --include=./pch.h -I../../../src 
-I../../../src/frontends -I../../../images -DQT_SHARED -I/av/qt/4.4.0//include 
-I/av/qt/4.4.0//include/QtCore -I/av/qt/4.4.0//include/QtGui -I../../../boost 
-I../../../src/frontends/controllers -O2 -MT GuiApplication.lo -MD -MP -MF 
.deps/GuiApplication.Tpo -c GuiApplication.cpp -o GuiApplication.o

GuiApplication.cpp: In member function 'void 
lyx::frontend::GuiApplication::commitData(QSessionManager&)':

GuiApplication.cpp:350: error: invalid use of undefined type 'struct 
QSessionManager'

/av/qt/4.4.0//include/QtGui/qapplication.h:70: error: forward declaration of 
'struct QSessionManager'

GuiApplication.cpp:351: error: invalid use of undefined type 'struct 
QSessionManager'

/av/qt/4.4.0//include/QtGui/qapplication.h:70: error: forward declaration of 
'struct QSessionManager'

make[7]: *** [GuiApplication.lo] Error 1

make[7]: se sale del directorio `/av/lyx/lyx-1.5.5/src/frontends/qt4'
------------------------ end ----------------------------------


      ______________________________________________ 
Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.

Reply via email to