FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 10-06-2008, 10:22 AM
Anthony Campbell
 
Default 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)


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 11:11 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org