Latest CVS lyx does not compile:
if g++ -DHAVE_CONFIG_H -I. -I../../lyx/src -I. -I../../lyx/boost -I/usr/local/include
-I/usr/X11R6/include -O2 -fno-exceptions -W -Wall -mms-bitfields -MT
output_docbook.o -MD -MP -MF ".deps/output_docbook.Tpo" -c -o output_docbook.o
../../lyx/src/output_docbook.C; \
then mv -f ".deps/output_docbook.Tpo" ".deps/output_docbook.Po"; else rm -f
".deps/output_docbook.Tpo"; exit 1; fi
../../lyx/src/output_docbook.C:39: error: `stack' not declared
make[3]: *** [output_docbook.o] Error 1
make[3]: Leaving directory `/home/ksylvan/src/lyx-build/src'