Re: SP-1.4a won't compile
Anthony Campbell <ac-MeA/[email protected]> Sun, 5 Feb 2006 10:20:54 +0000
| Newsgroups | gmane.mail.spam.spamprobe.general |
|---|---|
| Message-ID | <[email protected]> |
On 05 Feb 2006, Anthony Campbell wrote: > I've never had problems compiling SP before but 1.4a fails with the > following message: > > --------------------------------------------------------- > arcadia:/usr/local/spamprobe-1.4a:$ make > Making all in src > make[1]: Entering directory `/usr/local/spamprobe-1.4a/src' > Making all in database > make[2]: Entering directory `/usr/local/spamprobe-1.4a/src/database' > if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"spamprobe\" -DVERSION=\"1.4a\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_REGEX_H=1 -DUSE_PBL=1 -DUSE_MMAP=1 -DHAVE_UNGIF=1 -I. -I. -I../../src/includes -I../pbl_1_03 -DNDEBUG -g -O2 -MT CleanupManager.o -MD -MP -MF ".deps/CleanupManager.Tpo" -c -o CleanupManager.o CleanupManager.cc; \ > then mv -f ".deps/CleanupManager.Tpo" ".deps/CleanupManager.Po"; else rm -f ".deps/CleanupManager.Tpo"; exit 1; fi > if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"spamprobe\" -DVERSION=\"1.4a\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_REGEX_H=1 -DUSE_PBL=1 -DUSE_MMAP=1 -DHAVE_UNGIF=1 -I. -I. -I../../src/includes -I../pbl_1_03 -DNDEBUG -g -O2 -MT DatabaseConfig.o -MD -MP -MF ".deps/DatabaseConfig.Tpo" -c -o DatabaseConfig.o DatabaseConfig.cc; \ > then mv -f ".deps/DatabaseConfig.Tpo" ".deps/DatabaseConfig.Po"; else rm -f ".deps/DatabaseConfig.Tpo"; exit 1; fi > In file included from DatabaseConfig.cc:41: > FrequencyDBImpl_pbl.h:36:17: error: pbl.h: No such file or directory > FrequencyDBImpl_pbl.h:94: error: ISO C++ forbids declaration of 'pblKeyFile_t' with no type > FrequencyDBImpl_pbl.h:94: error: expected ';' before '*' token > make[2]: *** [DatabaseConfig.o] Error 1 > make[2]: Leaving directory `/usr/local/spamprobe-1.4a/src/database' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/spamprobe-1.4a/src' > make: *** [all-recursive] Error 1 > ------------------------------------------- > > I reinstalled pbl in case it was corrupt but that made no difference. > The previous version (1.4) still compiles OK. > > Anthony > > -- > Anthony Campbell - ac-MeA/[email protected] > Microsoft-free zone - Using Linux Gnu-Debian > http://www.acampbell.org.uk (blog, book reviews, > on-line books and sceptical articles) > Correction: the previous version does NOT compile after running configure --with-pbl. It did previously. No idea what is happening here. Anthony -- Anthony Campbell - ac-MeA/[email protected] Microsoft-free zone - Using Linux Gnu-Debian http://www.acampbell.org.uk (blog, book reviews, on-line books and sceptical articles) ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642