View Single Post
  #4  
Old 10th July 2007, 17:26
Griff Griff is offline
Member
 
Join Date: May 2006
Posts: 53
Thanks: 3
Thanked 0 Times in 0 Posts
Default

This is the error i am getting from what you suggested.

Quote:
CPAN.pm: Going to build P/PM/PMQS/DB_File-1.815.tar.gz

Argument "6.30_01" isn't numeric in subroutine entry at Makefile.PL line 4.
Parsing config.in...
Looks Good.
WARNING: LICENSE is not a known parameter.
Checking if your kit is complete...
Looks good
'LICENSE' is not a known MakeMaker parameter name.
Writing Makefile for DB_File
cp DB_File.pm blib/lib/DB_File.pm
AutoSplitting blib/lib/DB_File.pm (blib/lib/auto/DB_File)
cc -c -I/usr/local/BerkeleyDB/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.815\" -DXS_VERSION=\"1.815\" -fPIC "-I/usr/lib/perl/5.8/CORE" -D_NOT_CORE -DmDB_Prefix_t=size_t -DmDB_Hash_t=u_int32_t version.c
version.c:30:16: error: db.h: No such file or directory
make: *** [version.o] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible

cpan>
Been waiting for 45 mins so far and the spam assassin has got as far as this

Quote:
t/spamc_optC................ Not found: reported spam = Message successfully reported/revoked
# Failed test 2 in t/SATest.pm at line 635
Output can be examined in: log/d.spamc_optC/out.1
t/spamc_optC................NOK 2 Not found: revoked ham = Message successfully reported/revoked
# Failed test 4 in t/SATest.pm at line 635 fail #2
Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3
t/spamc_optC................NOK 4 Not found: failed to report spam = Unable to report/revoke message
# Failed test 6 in t/SATest.pm at line 635 fail #3
Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3 log/d.spamc_optC/out.5
t/spamc_optC................NOK 6 Not found: failed to revoke ham = Unable to report/revoke message
# Failed test 8 in t/SATest.pm at line 635 fail #4
Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3 log/d.spamc_optC/out.5 log/d.spamc_optC/out.7
t/spamc_optC................FAILED tests 2, 4, 6, 8
Failed 4/9 tests, 55.56% okay
t/spamc_optL................# Failed test 1 in t/spamc_optL.t at line 20
Not found: learned spam = Message successfully un/learned
# Failed test 2 in t/SATest.pm at line 635
Output can be examined in:
t/spamc_optL................NOK 2# Failed test 3 in t/spamc_optL.t at line 24
Not found: already learned spam = Message was already un/learned
# Failed test 4 in t/SATest.pm at line 635 fail #2
Output can be examined in:
t/spamc_optL................NOK 4ERROR: Bayes dump returned an error, please re-run with -D for more information
# Failed test 5 in t/spamc_optL.t at line 28
Not found: spam in database = 1 0 non-token data: nspam
# Failed test 6 in t/SATest.pm at line 635 fail #3
Output can be examined in:
t/spamc_optL................NOK 6# Failed test 7 in t/spamc_optL.t at line 32
Not found: forget spam = Message successfully un/learned
# Failed test 8 in t/SATest.pm at line 635 fail #4
Output can be examined in:
t/spamc_optL................NOK 8# Failed test 9 in t/spamc_optL.t at line 36
Not found: learned ham = Message successfully un/learned
# Failed test 10 in t/SATest.pm at line 635 fail #5
Output can be examined in:
t/spamc_optL................NOK 10# Failed test 11 in t/spamc_optL.t at line 40
Not found: already learned ham = Message was already un/learned
# Failed test 12 in t/SATest.pm at line 635 fail #6
Output can be examined in:
t/spamc_optL................NOK 12ERROR: Bayes dump returned an error, please re-run with -D for more information
# Failed test 13 in t/spamc_optL.t at line 44
Not found: ham in database = 1 0 non-token data: nham
# Failed test 14 in t/SATest.pm at line 635 fail #7
Output can be examined in:
t/spamc_optL................NOK 14# Failed test 15 in t/spamc_optL.t at line 48
Not found: learned ham = Message successfully un/learned
# Failed test 16 in t/SATest.pm at line 635 fail #8
Output can be examined in:
t/spamc_optL................FAILED tests 1-16
Failed 16/16 tests, 0.00% okay
t/spamc_y...................ok
t/spamc_z...................ok
t/spamd.....................ok
t/spamd_allow_user_rules....ok 1/5
TY Griff

Finally Finished with these Errors

Quote:
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/spamc_optC.t 9 4 44.44% 2 4 6 8
t/spamc_optL.t 16 16 100.00% 1-16
t/spamd_allow_user_rules.t 5 1 20.00% 4
t/spamd_plugin.t 6 2 33.33% 4 6
24 tests skipped.
Failed 4/129 test scripts, 96.90% okay. 23/1921 subtests failed, 98.80% okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force


Last edited by Griff; 10th July 2007 at 17:43.
Reply With Quote