Re: lyx 1.5.2 compilation problems
Hi, I solved the problem by configuring lyx with extra libraries and includes, i.e. ./configure --prefix=/usr/local --with-extra-lib=/usr/local/lib --with-extra-inc=/usr/local/include --with-qt4-dir=/usr/local/Qt4 It seems that this problem occurs only for RH9. In my laptop which runs Fedora core 4, lyx-1.5.2 can be compiled successfully without specifying the extra libs and includes. Javid Atai Hi, I am trying to compile lyx-1.5.2 on my linux box which runs RH9 (gcc 3.2.2-5, kernel 2.4.20-31.9). I have already installed Qt-4.2.2 successfully. I get the following error message during compilation: ... snip ... ../../../boost/boost/checked_delete.hpp:33: `sizeof' applied to incomplete type `lyx::frontend::MenuTranslator' ../../../boost/boost/checked_delete.hpp:33: creating array with size zero (`-1 ') ../../../boost/boost/checked_delete.hpp:30: `x' has incomplete typemake[7]: *** [GuiApplication.lo] Error 1 make[7]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends/qt4' make[6]: *** [all-recursive] Error 1 make[7]: Leaving directory
Re: lyx 1.5.2 compilation problems
Hi, I solved the problem by configuring lyx with extra libraries and includes, i.e. ./configure --prefix=/usr/local --with-extra-lib=/usr/local/lib --with-extra-inc=/usr/local/include --with-qt4-dir=/usr/local/Qt4 It seems that this problem occurs only for RH9. In my laptop which runs Fedora core 4, lyx-1.5.2 can be compiled successfully without specifying the extra libs and includes. Javid Atai Hi, I am trying to compile lyx-1.5.2 on my linux box which runs RH9 (gcc 3.2.2-5, kernel 2.4.20-31.9). I have already installed Qt-4.2.2 successfully. I get the following error message during compilation: ... snip ... ../../../boost/boost/checked_delete.hpp:33: `sizeof' applied to incomplete type `lyx::frontend::MenuTranslator' ../../../boost/boost/checked_delete.hpp:33: creating array with size zero (`-1 ') ../../../boost/boost/checked_delete.hpp:30: `x' has incomplete typemake[7]: *** [GuiApplication.lo] Error 1 make[7]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends/qt4' make[6]: *** [all-recursive] Error 1 make[7]: Leaving directory
Re: lyx 1.5.2 compilation problems
Hi, I solved the problem by configuring lyx with extra libraries and includes, i.e. ./configure --prefix=/usr/local --with-extra-lib=/usr/local/lib --with-extra-inc=/usr/local/include --with-qt4-dir=/usr/local/Qt4 It seems that this problem occurs only for RH9. In my laptop which runs Fedora core 4, lyx-1.5.2 can be compiled successfully without specifying the extra libs and includes. Javid Atai > Hi, > I am trying to compile lyx-1.5.2 on my linux > box which runs RH9 (gcc 3.2.2-5, kernel 2.4.20-31.9). > I have already installed Qt-4.2.2 successfully. > I get the following error message during compilation: > ... snip ... > ../../../boost/boost/checked_delete.hpp:33: `sizeof' applied to > incomplete type >`lyx::frontend::MenuTranslator' > ../../../boost/boost/checked_delete.hpp:33: creating array with > size zero (`-1 >') > ../../../boost/boost/checked_delete.hpp:30: `x' has incomplete > typemake[7]: *** [GuiApplication.lo] Error 1 > make[7]: Leaving directory > `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends/qt4' > make[6]: *** [all-recursive] Error 1 > make[7]: Leaving directory
lyx 1.5.2 compilation problems
Hi, I am trying to compile lyx-1.5.2 on my linux box which runs RH9 (gcc 3.2.2-5, kernel 2.4.20-31.9). I have already installed Qt-4.2.2 successfully. I get the following error message during compilation: * /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../src -I../../../src/frontends -I../../../images -DQT_SHARED -I/usr/local/Qt4/include -I/usr/local/Qt4/include/QtCore -I/usr/local/Qt4/include/QtGui -I../../../boost -I../../../src/frontends/controllers -I/usr/X11R6/include -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 -I../../../src -I../../../src/frontends -I../../../images -DQT_SHARED -I/usr/local/Qt4/include -I/usr/local/Qt4/include/QtCore -I/usr/local/Qt4/include/QtGui -I../../../boost -I../../../src/frontends/controllers -I/usr/X11R6/include -O2 -MT GuiApplication.lo -MD -MP -MF .deps/GuiApplication.Tpo -c GuiApplication.cpp -o GuiApplication.o ../../../boost/boost/checked_delete.hpp: In function `void boost::checked_delete(T*) [with T = lyx::frontend::MenuTranslator]': GuiApplication.cpp:77: instantiated from `void boost::scoped_ptrT::scoped_ptr() [with T = lyx::frontend::MenuTranslator]' GuiApplication.cpp:99: instantiated from here ../../../boost/boost/checked_delete.hpp:32: `sizeof' applied to incomplete type `lyx::frontend::MenuTranslator' ../../../boost/boost/checked_delete.hpp:32: creating array with size zero (`-1 ') ../../../boost/boost/checked_delete.hpp:33: `sizeof' applied to incomplete type `lyx::frontend::MenuTranslator' ../../../boost/boost/checked_delete.hpp:33: creating array with size zero (`-1 ') ../../../boost/boost/checked_delete.hpp:30: `x' has incomplete type GuiApplication.h:39: forward declaration of `struct lyx::frontend::MenuTranslator' make[7]: *** [GuiApplication.lo] Error 1 make[7]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends/qt4' make[6]: *** [all-recursive] Error 1 make[7]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends/qt4' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends/qt4' make[5]: *** [all] Error 2 make[5]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends/qt4' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src' make: *** [all-recursive] Error 1 ** Has anyone enocuntered this problem before? Javid
lyx 1.5.2 compilation problems
Hi, I am trying to compile lyx-1.5.2 on my linux box which runs RH9 (gcc 3.2.2-5, kernel 2.4.20-31.9). I have already installed Qt-4.2.2 successfully. I get the following error message during compilation: * /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../src -I../../../src/frontends -I../../../images -DQT_SHARED -I/usr/local/Qt4/include -I/usr/local/Qt4/include/QtCore -I/usr/local/Qt4/include/QtGui -I../../../boost -I../../../src/frontends/controllers -I/usr/X11R6/include -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 -I../../../src -I../../../src/frontends -I../../../images -DQT_SHARED -I/usr/local/Qt4/include -I/usr/local/Qt4/include/QtCore -I/usr/local/Qt4/include/QtGui -I../../../boost -I../../../src/frontends/controllers -I/usr/X11R6/include -O2 -MT GuiApplication.lo -MD -MP -MF .deps/GuiApplication.Tpo -c GuiApplication.cpp -o GuiApplication.o ../../../boost/boost/checked_delete.hpp: In function `void boost::checked_delete(T*) [with T = lyx::frontend::MenuTranslator]': GuiApplication.cpp:77: instantiated from `void boost::scoped_ptrT::scoped_ptr() [with T = lyx::frontend::MenuTranslator]' GuiApplication.cpp:99: instantiated from here ../../../boost/boost/checked_delete.hpp:32: `sizeof' applied to incomplete type `lyx::frontend::MenuTranslator' ../../../boost/boost/checked_delete.hpp:32: creating array with size zero (`-1 ') ../../../boost/boost/checked_delete.hpp:33: `sizeof' applied to incomplete type `lyx::frontend::MenuTranslator' ../../../boost/boost/checked_delete.hpp:33: creating array with size zero (`-1 ') ../../../boost/boost/checked_delete.hpp:30: `x' has incomplete type GuiApplication.h:39: forward declaration of `struct lyx::frontend::MenuTranslator' make[7]: *** [GuiApplication.lo] Error 1 make[7]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends/qt4' make[6]: *** [all-recursive] Error 1 make[7]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends/qt4' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends/qt4' make[5]: *** [all] Error 2 make[5]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends/qt4' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src' make: *** [all-recursive] Error 1 ** Has anyone enocuntered this problem before? Javid
lyx 1.5.2 compilation problems
Hi, I am trying to compile lyx-1.5.2 on my linux box which runs RH9 (gcc 3.2.2-5, kernel 2.4.20-31.9). I have already installed Qt-4.2.2 successfully. I get the following error message during compilation: * /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../src -I../../../src/frontends -I../../../images -DQT_SHARED -I/usr/local/Qt4/include -I/usr/local/Qt4/include/QtCore -I/usr/local/Qt4/include/QtGui -I../../../boost -I../../../src/frontends/controllers -I/usr/X11R6/include -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 -I../../../src -I../../../src/frontends -I../../../images -DQT_SHARED -I/usr/local/Qt4/include -I/usr/local/Qt4/include/QtCore -I/usr/local/Qt4/include/QtGui -I../../../boost -I../../../src/frontends/controllers -I/usr/X11R6/include -O2 -MT GuiApplication.lo -MD -MP -MF .deps/GuiApplication.Tpo -c GuiApplication.cpp -o GuiApplication.o ../../../boost/boost/checked_delete.hpp: In function `void boost::checked_delete(T*) [with T = lyx::frontend::MenuTranslator]': GuiApplication.cpp:77: instantiated from `void boost::scoped_ptr::scoped_ptr() [with T = lyx::frontend::MenuTranslator]' GuiApplication.cpp:99: instantiated from here ../../../boost/boost/checked_delete.hpp:32: `sizeof' applied to incomplete type `lyx::frontend::MenuTranslator' ../../../boost/boost/checked_delete.hpp:32: creating array with size zero (`-1 ') ../../../boost/boost/checked_delete.hpp:33: `sizeof' applied to incomplete type `lyx::frontend::MenuTranslator' ../../../boost/boost/checked_delete.hpp:33: creating array with size zero (`-1 ') ../../../boost/boost/checked_delete.hpp:30: `x' has incomplete type GuiApplication.h:39: forward declaration of `struct lyx::frontend::MenuTranslator' make[7]: *** [GuiApplication.lo] Error 1 make[7]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends/qt4' make[6]: *** [all-recursive] Error 1 make[7]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends/qt4' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends/qt4' make[5]: *** [all] Error 2 make[5]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends/qt4' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src/frontends' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/atai/test/lyx-1.5.2/lyx-1.5.2/src' make: *** [all-recursive] Error 1 ** Has anyone enocuntered this problem before? Javid