Angus Leeming wrote: > These were work arounds for cxx 6.2 that comes with Tru64 Unix 4.0e. If > you're using a 5.1 system then the cxx compiler should be more than capable > of compiling LyX unmodified. Any errors it throws up will almost > certainly be genuine LyX bugs which should be reported to the lyx-devel > list.
Here we go (Tru64 Unix 5.1A with cxx 6.5-004, gmake 3.79.1): - --- snip --- foo# env CC=/usr/bin/cc CXX=/usr/bin/cxx ./configure \ --with-extra-prefix=/net/usr && gmake [...] gmake[3]: Entering directory `/net/hmi/dta/build/osf/cxx/lyx-1.2.0/src/mathed' source='textpainter.C' object='textpainter.lo' libtool=yes \ depfile='.deps/textpainter.Plo' tmpdepfile='.deps/textpainter.TPlo' \ depmode=tru64 /bin/ksh ../../config/depcomp \ /bin/ksh ../../libtool --mode=compile /usr/bin/cxx -DHAVE_CONFIG_H -I. -I. -I../ ../src -I./../ -I../.. -I../../boost -I/net/usr/include -I/net/usr/include - I/net/usr/include -c -o textpainter.lo `test -f textpainter.C || echo './'`textp ainter.C /usr/bin/cxx -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../../boost - I/net/usr/include -I/net/usr/include -I/net/usr/include -c -MD textpainter.C cxx: Error: /usr/lib/cmplrs/cxx/V6.5-004/include/cxx/iosfwd, line 58: #error directive: "cannot include iosfwd -- define __USE_STD_IOSTREAM to override default - see section 7.1.2 of the C++ Using Guide" #error "cannot include iosfwd -- define __USE_STD_IOSTREAM to override default - see section 7.1.2 of the C++ Using Guide" -^ cxx: Error: textpainter.h, line 16: namespace "std" has no member "ostream" void show(std::ostream & os) const; -------------------------------^ cxx: Error: textpainter.C, line 53: namespace "std" has no member "ostream" void TextPainter::show(std::ostream & os) const ----------------------------^ cxx: Info: 3 errors detected in the compilation of "textpainter.C". gmake[3]: *** [textpainter.lo] Error 1 gmake[3]: Leaving directory `/net/hmi/dta/build/osf/cxx/lyx-1.2.0/src/mathed' - --- snap --- No, I don't have the "C++ Using Guide" handy. +Thomas -- Thomas Anders <[EMAIL PROTECTED]> Hahn-Meitner-Institut Berlin, Germany