Hello all,

I have got the following compilation error for lyx 1.1.x series.
Can anyone suggest me, where I am wrong?

configure runs OK:-
./configure gives me...


>Configuration:
>  Source code location:       .
>   C++ Compiler:                   g++
>   C++ Compiler flags:             -O -ansi -Wall -W
>   Compiler:                   gcc
>   C   Compiler flags:             -g -O2
>   LyX binary dir:             /usr/local/bin
>   LyX files dir:              /usr/local/share/lyx
>   Special flags:               warnings included-string
>
>=== The following minor problems have been detected by configure. 
>=== Please check the messages below before running 'make'.
>=== (see the section 'Problems' in the INSTALL file)
>               
>== LyX should work ok with version 0.89 of xforms, but
>   it is an unproven version and might still have some bugs. If you
>   have problems, please use version 0.88 instead.
> 
>Configuration of LyX was successful.  
>Type 'make' to compile the program, 
>and then 'make install' to install it.

But 'make' gives me...

>Making all in mathed
>make[3]: Entering directory `/usr/local/lyx-1.1.4pre1/src/mathed'
>/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src 
>-I../../images -I./../   -I/usr/X11R6/include  -O -ansi -Wall -W -c formula.C
>g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I/usr/X11R6/include 
>-O -ansi -Wall -W -c formula.C -o formula.o
>In file included from ../../src/support/lyxstring.h:28,
>                from ../../src/LString.h:19,
>                from ../../src/lyxfont.h:19,
>                from ../../src/insets/lyxinset.h:20,
>                from formula.h:24,
>                from formula.C:25
>   ../../src/support/LOstream.h:19: iostream: No such file or directory 
>   In file included from ../../src/support/lyxstring.h:29,
>make[3]: *** [formula.lo] Error 1
>make[3]: Leaving directory `/usr/local/lyx-1.1.4pre1/src/mathed'
>make[2]: *** [all-recursive] Error 1
>make[2]: Leaving directory `/usr/local/lyx-1.1.4pre1/src
>make[1]: *** [all-recursive-am] Error 2
>make[1]: Leaving directory `/usr/local/lyx-1.1.4pre1/src'
>make: *** [all-recursive] Error 1
>



Sincerely,
Ravi


Reply via email to