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

Reply via email to