[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Can't compile spamprobe



Has anyone tried to compile spamprobe on Sid? I've tried both with the
original tarball and the versions in Sid and Pool, but they fail with
this:

Make[1]: Entering directory `/home/ac/downloads/spamprobe-1.4d/src'
Making all in database

make[2]: Entering directory
`/home/ac/downloads/spamprobe-1.4d/src/database' if g++
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"spamprobe\"
-DVERSION=\"1.4d\" -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_DB=1 -DUSE_MMAP=1 -DHAVE_UNGIF=1  -I. -I.
-I../../src/includes  -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

In file included from ../../src/includes/WordData.h:41,
                 from ../../src/includes/CleanupManager.h:35,
                 from CleanupManager.cc:31:
../../src/includes/util.h: In function ‘bool starts_with(const std::string&, const char*)’:
../../src/includes/util.h:83: error: ‘strlen’ was not declared in this scope
../../src/includes/util.h:83: error: ‘strncmp’ was not declared in this scope
../../src/includes/util.h: In function ‘bool starts_with(const std::string&, const std::string&)’:
../../src/includes/util.h:89: error: ‘strncmp’ was not declared in this scope
../../src/includes/util.h: In function ‘bool ends_with(const std::string&, const std::string&)’:
../../src/includes/util.h:95: error: ‘strcmp’ was not declared in this scope



I'm using the deb file, which is OK except that I want to use pbl, not
Berkeley. I don't understand what the above error message means. I have
installed everything specified in the dsc file.

Anthony

-- 
Anthony Campbell - ac@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)


Reply to: