hello
running on linux with gcc-9.2.0
fox-1.7.67 build crashes for me with:
----8<---- FXRex.cpp:4660:10: fatal error: fxrexdbg.h: No such file or directory 4660 | #include "fxrexdbg.h" | ^~~~~~~~~~~~ compilation terminated. make[3]: *** [Makefile;1450: FXRex.lo] Error 1 make[3]: Leaving directory '/home/balducci/tmp/install-us-d/fox-1.7.67.d/fox-1.7.67/lib' ---->8----
I can't find any fxrexdbg.h header around and I see that its inclusion
is triggered by a #define REXDEBUG 1 which is present only in
FXRex.cpp
Maybe some debugging flag while developing and not commented in the
official release?
Or am I missing something in my build script?
I configure with:
----8<----
--prefix
--libdir
--disable-silent-rules
---->8----
and never had problems since quite a lot
The following workaround fixes the build for me:
----8<---- *** lib/FXRex.cpp.NO_REXDEBUG Fri Sep 13 15:17:39 2019 --- lib/FXRex.cpp Fri Sep 13 15:17:39 2019 *************** *** 503,509 **** */ // Debugging regex code ! #define REXDEBUG 1 // As close to infinity as we're going to get; this seems big enough. We can not make // it too large as this may wrap around when added to something else! --- 503,509 ---- */ // Debugging regex code ! // #define REXDEBUG 1 // As close to infinity as we're going to get; this seems big enough. We can not make // it too large as this may wrap around when added to something else! ---->8----
thanks a lot for any help
ciao
gabriele
You're doing the right thing. Jeroen confirms this in https://sourceforge.net/p/foxgui/mailman/message/36806651/
Good news: the issue has now been fixed, in FOX 1.7.68.