Hello! I've got a problem compiling LyX. I have a Sparc system running Solaris 8, binutils 2.11.2, gcc 2.95.3. Everything goes ok but this error message during compilation: --- cut --- g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../.. -I../../boost -I../../src/cheaders -isystem /usr/openwin/include -g -O2 -fno-exceptions -c figinset.C -o figinset.o In file included from ../../src/cheaders/cmath:8, from figinset.C:44: /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/include/math.h:5: math.h: No such file or directory *** Error code 1 make: Fatal error: Command failed for target `figinset.lo' Current working directory /tmp/lyx-1.1.6fix3/src/insets *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /tmp/lyx-1.1.6fix3/src *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' Current working directory /tmp/lyx-1.1.6fix3/src *** Error code 1 make: Fatal error: Command failed for target `all-recursive' --- cut --- I've checked /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/include/math.h and it contains: --- cut --- #ifndef _MATH_H_WRAPPER #ifdef __cplusplus # define exception __math_exception #endif #include_next <math.h> #ifdef __cplusplus # undef exception #endif #define _MATH_H_WRAPPER #endif /* _MATH_H_WRAPPER */ --- cut --- I've tried gcc 3.0.1 (math.h seems to be different there) but compilation hangs on this: --- cut --- g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. -I../../boost -I../../src/cheaders -isystem /usr/openwin/include -g -O2 -c formulamacro.C -o formulamacro.o --- cut --- Please point me on what goes wrong. Thanks beforehand, Cyril Nickonorov.