I've never had trouble building LyX, but after upgrading from
sparc-solaris-2.6 to solaris-2.8, and from gcc-2.95.2 to gcc-2.95.3
I find that the build breaks with the following compile error.
----------------------------------------------------------------------------
Making all in mathed
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src
-I../../images -I./../ -isystem /usr/openwin/include -g -O2 -fno-rtti
-fno-exceptions -c formula.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -isystem
/usr/openwin/include -g -O2 -fno-rtti -fno-exceptions -c formula.C -o formula.o
In file included from ../../src/lyxfont.h:21,
from ../../src/insets/lyxinset.h:23,
from formula.h:26,
from formula.C:29:
../../src/LString.h:21: conflicting types for `typedef class lyxstring string'
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/../../../../include/g++-3/string:9:
previous declaration as `typedef class
basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> > string'
*** Error code 1
make: Fatal error: Command failed for target `formula.lo'
Current working directory /usr/local/src/lyx-1.1.5fix1/src/mathed
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/lyx-1.1.5fix1/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
Current working directory /usr/local/src/lyx-1.1.5fix1/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
----------------------------------------------------------------------------
Is this a known compatability, or is there something I can do to get
this combination of OS, compiler, and LyX version to build? Thanks,
--
Ronald Florence http://members.home.net/18james