Hello, I'm having a problem building 1.5.9 on RedHat ES 3 because of an issue in osiscgi.cpp:
if g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O2 -DCURLAVAILABLE -MT osiscgi.o -MD -MP -MF ".deps/osiscgi.Tpo" -c -o osiscgi.o osiscgi.cpp; \ then mv -f ".deps/osiscgi.Tpo" ".deps/osiscgi.Po"; else rm -f ".deps/osiscgi.Tpo"; exit 1; fi osiscgi.cpp: In member function `virtual bool sword::OSISCGI::handleToken(sword::SWBuf&, const char*, sword::BasicFilterUserData*)': osiscgi.cpp:102: `isdigit' undeclared (first use this function) osiscgi.cpp:102: (Each undeclared identifier is reported only once for each function it appears in.) make[2]: *** [osiscgi.o] Error 1 make[2]: Leaving directory `/usr/local/src/sword-1.5.9/utilities/diatheke' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/sword-1.5.9/utilities' make: *** [all-recursive] Error 1 The following patch allows osiscgi.cpp to compile although I doubt it's appropriate in all circumstances: [EMAIL PROTECTED]:/usr/local/src/sword-1.5.9/utilities/diatheke% diff -u osiscgi.cpp.orig osiscgi.cpp --- osiscgi.cpp.orig 2006-07-15 16:41:24.000000000 -0400 +++ osiscgi.cpp 2006-10-25 23:22:20.000000000 -0400 @@ -22,6 +22,9 @@ #ifdef WIN32 #include <ctype.h> #endif +#ifndef isdigit +#include <ctype.h> +#endif SWORD_NAMESPACE_START Thanks, -Bill -- Bill Burton <[EMAIL PROTECTED]> _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page