Re: lyx 1.5.2 compilation problems
Javid Atai [EMAIL PROTECTED] writes: 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: Could you try the following patch? JMarc svndiff src/frontends/qt4/ Index: src/frontends/qt4/GuiApplication.cpp === --- src/frontends/qt4/GuiApplication.cpp (révision 20971) +++ src/frontends/qt4/GuiApplication.cpp (copie de travail) @@ -92,6 +92,22 @@ namespace frontend { GuiApplication * guiApp; + +// Mac specific stuff goes here... + +class MenuTranslator : public QTranslator { +public: + virtual ~MenuTranslator() {}; + virtual QString translate(const char * context, + const char * sourceText, + const char * comment = 0) const; +}; + +/// +// You can find more platform specific stuff +// at the end of this file... +/// + GuiApplication::~GuiApplication() { @@ -373,15 +389,6 @@ bool GuiApplication::x11EventFilter(XEve // Mac specific stuff goes here... -class MenuTranslator : public QTranslator { -public: - virtual ~MenuTranslator() {}; - virtual QString translate(const char * context, - const char * sourceText, - const char * comment = 0) const; -}; - - QString MenuTranslator::translate(const char * /*context*/, const char * sourceText, const char *) const
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
Javid Atai [EMAIL PROTECTED] writes: 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 This is very weird... JMarc
Re: lyx 1.5.2 compilation problems
Javid Atai [EMAIL PROTECTED] writes: 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: Could you try the following patch? JMarc svndiff src/frontends/qt4/ Index: src/frontends/qt4/GuiApplication.cpp === --- src/frontends/qt4/GuiApplication.cpp (révision 20971) +++ src/frontends/qt4/GuiApplication.cpp (copie de travail) @@ -92,6 +92,22 @@ namespace frontend { GuiApplication * guiApp; + +// Mac specific stuff goes here... + +class MenuTranslator : public QTranslator { +public: + virtual ~MenuTranslator() {}; + virtual QString translate(const char * context, + const char * sourceText, + const char * comment = 0) const; +}; + +/// +// You can find more platform specific stuff +// at the end of this file... +/// + GuiApplication::~GuiApplication() { @@ -373,15 +389,6 @@ bool GuiApplication::x11EventFilter(XEve // Mac specific stuff goes here... -class MenuTranslator : public QTranslator { -public: - virtual ~MenuTranslator() {}; - virtual QString translate(const char * context, - const char * sourceText, - const char * comment = 0) const; -}; - - QString MenuTranslator::translate(const char * /*context*/, const char * sourceText, const char *) const
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
Javid Atai [EMAIL PROTECTED] writes: 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 This is very weird... JMarc
Re: lyx 1.5.2 compilation problems
Javid Atai <[EMAIL PROTECTED]> writes: > 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: Could you try the following patch? JMarc svndiff src/frontends/qt4/ Index: src/frontends/qt4/GuiApplication.cpp === --- src/frontends/qt4/GuiApplication.cpp (révision 20971) +++ src/frontends/qt4/GuiApplication.cpp (copie de travail) @@ -92,6 +92,22 @@ namespace frontend { GuiApplication * guiApp; + +// Mac specific stuff goes here... + +class MenuTranslator : public QTranslator { +public: + virtual ~MenuTranslator() {}; + virtual QString translate(const char * context, + const char * sourceText, + const char * comment = 0) const; +}; + +/// +// You can find more platform specific stuff +// at the end of this file... +/// + GuiApplication::~GuiApplication() { @@ -373,15 +389,6 @@ bool GuiApplication::x11EventFilter(XEve // Mac specific stuff goes here... -class MenuTranslator : public QTranslator { -public: - virtual ~MenuTranslator() {}; - virtual QString translate(const char * context, - const char * sourceText, - const char * comment = 0) const; -}; - - QString MenuTranslator::translate(const char * /*context*/, const char * sourceText, const char *) const
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
Javid Atai <[EMAIL PROTECTED]> writes: > 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 > This is very weird... JMarc