Compiling with PBL under Debian
"Mahlon E. Smith" <[email protected]> Tue, 21 Oct 2008 21:24:22 -0700
| Newsgroups | gmane.mail.spam.spamprobe.general |
|---|---|
| Message-ID | <[email protected]> |
--===============2084950828781047617==
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="MIdTMoZhcV1D07fI"
Content-Disposition: inline
--MIdTMoZhcV1D07fI
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hey all!
I'm helping a buddy out on a Debian/Sid machine, and the spamprobe
package doesn't appear to be built with PBL. So, going around the
packaging system to get it working... (booo)
Here's what I'm getting:
salyut ~/build/spamprobe-1.4d # ./configure --with-pbl=3D../pbl_1_03 =
=
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking for pblIsamCommit in -lpbl... yes
checking gif_lib.h usability... yes
checking gif_lib.h presence... yes
checking for gif_lib.h... yes
checking for DGifOpen in -lungif... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_set_progressive_read_fn in -lpng... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_read_header in -ljpeg... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/database/Makefile
config.status: creating src/hdl/Makefile
config.status: creating src/includes/Makefile
config.status: creating src/input/Makefile
config.status: creating src/parser/Makefile
config.status: creating src/utility/Makefile
config.status: creating src/spamprobe/Makefile
config.status: executing depfiles commands
salyut ~/build/spamprobe-1.4d # make =
=
Making all in src
make[1]: Entering directory `/local/home/mahlon/build/spamprobe-1.4d/sr=
c'
Making all in database
make[2]: Entering directory `/local/home/mahlon/build/spamprobe-1.4d/sr=
c/database'
if g++ -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=
=3D\"\" -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE=3D\"sp=
amprobe\" -DVERSION=3D\"1.4d\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -D=
HAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=
=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_=
UNISTD_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DIRENT_H=3D1 -DHAVE_REGEX_H=3D1 -DU=
SE_PBL=3D1 -DUSE_MMAP=3D1 -DHAVE_UNGIF=3D1 -DHAVE_PNG=3D1 -DHAVE_JPEG=3D1 =
-I. -I. -I../../src/includes -I../pbl_1_03 -DNDEBUG -g -O2 -MT DatabaseC=
onfig.o -MD -MP -MF ".deps/DatabaseConfig.Tpo" -c -o DatabaseConfig.o Datab=
aseConfig.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
In file included from DatabaseConfig.cc:41:
FrequencyDBImpl_pbl.h:94: error: ISO C++ forbids declaration of =E2pblK=
eyFile_t=E2 with no type
FrequencyDBImpl_pbl.h:94: error: expected =E2;=E2 before =E2*=E2 token
make[2]: *** [DatabaseConfig.o] Error 1
make[2]: Leaving directory `/local/home/mahlon/build/spamprobe-1.4d/src=
/database'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/local/home/mahlon/build/spamprobe-1.4d/src'
make: *** [all-recursive] Error 1
Has anyone seen this before that could lend me a clue? I'm a FreeBSD
guy by trade, and I'm desperately longing for the ports system right
now... ;)
Thanks for any info provided.
-
Mahlon E. Smith =20
http://www.martini.nu/contact.html
--MIdTMoZhcV1D07fI
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
iD8DBQFI/qr21bsjBDapbeMRAjXrAKCZpqWMDTJpxZe8lY6iI3Wsi8px+gCfQX75
DBpz43IRJxwkZlkuhQJ3vMo=
=Tl/4
-----END PGP SIGNATURE-----
--MIdTMoZhcV1D07fI--
--===============2084950828781047617==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
--===============2084950828781047617==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Spamprobe-users mailing list
Spamprobe-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/spamprobe-users
--===============2084950828781047617==--