good day all ....
i'm trying to build lyx 1.1.4fix3 on solaris 8. i'm using gcc 2.95.2, xform
0.88 and the current build of tetex. configure seems to complete with no
problem:
Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.
Configuration:
Source code location: .
C++ Compiler: g++
C++ Compiler flags: -g -O2 -fno-rtti -fno-exceptions
C Compiler: gcc
C Compiler flags: -g -O2
LyX binary dir: /usr/local/bin
LyX files dir: /usr/local/share/lyx
Special flags: included-string
Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.
here is where the compile fails:
/usr/openwin/include/X11/Xutil.h:879: ANSI C++ forbids declaration
`XUnionRegion' with no type
/usr/openwin/include/X11/Xutil.h:903: ANSI C++ forbids declaration
`XXorRegion' with no type
In file included from /usr/local/include/forms.h:987,
from ../../src/lyxfont.h:18,
from ../../src/insets/lyxinset.h:20,
from formula.h:24,
from formula.C:25:
/usr/openwin/include/X11/Xresource.h:249: ANSI C++ forbids declaration
`XrmQGetResource' with no type
make[3]: *** [formula.lo] Error 1
make[3]: Leaving directory `/usr/local/lyx-1.1.4/src/mathed'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/lyx-1.1.4/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/local/lyx-1.1.4/src'
make: *** [all-recursive] Error 1
any idea what i'm doing wrong? many other app's compiled fine (gv, perl 5.6.0,
gtk+ 1.2.7, etc ...). thanks!
-- michael