g++ -c -pipe -Wall -W -fno-exceptions -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tabl es -DNO_DEBUG -I../../src -I/usr/lib/qt-3.3/include -o obj/moc_doxywizard.o moc/moc_doxywizard.cpp <stdout>: In function 'void configYY_init_buffer(yy_buffer_state*, FILE*)': <stdout>:2131: error: 'isatty' was not declared in this scope gmake[2]: *** [obj/config.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... input.h:7: warning: 'class IInput' has virtual functions but non-virtual destructor gmake[2]: Leaving directory `/builddir/build/BUILD/doxygen-1.4.7/addon/doxywizard' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/builddir/build/BUILD/doxygen-1.4.7/addon/doxywizard' make: *** [all] Error 2
strange, i don't see this issue in our build system. it looks like you have new gcc version which requires #include <unistd.h>. Could you please attach your build.log and root.log? thanks
it's a fully updated 5.8. ie with gcc-4.1.2-52.el5_8.1. do you build on base 5.8 or updated 5.8?
Created attachment 591454 [details] build.log
Created attachment 591455 [details] root.log
I rebuilt doxygen with the rhel-5.8 (with all latest updates) without any problem. Your root.log file tell me that you are using flex from media repository, it's not the version shipped in rhel! --- Package Arch Version Repository Size flex i386 2.5.35-7.el5 media 308 k -- I think it's the cause of this issue. Could you please use the flex version in rhel and try to rebuild doxygen again? thanks
sorry. you've got right:-( anyway it'd be useful to be able to build with newer flex too.
The bug is caused in flex which generates config.cpp during the compiler process. i recommend to not use new flex