Re: GerH source distro at hebbut.net: HOW TO compile/compare/merge for Bill et al

Paolo <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <20080328000105.GA6629@localhost>
On Thu, Mar 27, 2008 at 10:54:04AM +0100, Ger Hobbelt wrote:
> 
> FYI: the latest src.7z is just out the oven. ;-)

1st run [Piii, 450, 128, gcc-2.95.4, libc 2.2.5, Debian Woody 3.0]

didn't work with  --enable-debug --with-regex=pcre:

make[2]: Entering directory `crm114-20080326-BlameSentansoken/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O0 -c crm_compiler.c -o crm_compiler.o
:%s,In file included from crm_compiler.c:22:
crm114.h:693: parse error before `*'
crm114.h:695: parse error before `*'
crm114.h:699: parse error before `regex_t'
crm114.h:702: parse error before `*'
make[2]: *** [crm_compiler.o] Error 1

crm114-20080326-BlameSentansoken$ /usr/local/bin/pcre-config --version
6.7


/* PCRE REs */
#define HAVE_PCRE_REGEX 1

-rw-r--r--  1 root root 12199 2007-01-24 23:58 /usr/local/include/pcre.h

-x-x-x-

 --with-regex=tre:

one glitch:

crmregex_tre.c: In function `crm_regversion':
crmregex_tre.c:380: warning: passing arg 1 of `strlen' makes pointer from integer without a cast

others?:

gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O0 -c crm_test_hashes.c -o crm_test_hashes.o
crm_test_hashes.c: In function `fake_hash':
crm_test_hashes.c:2011: warning: decimal constant is so large that it is unsigned
crm_test_hashes.c: In function `mult_hash':
crm_test_hashes.c:2026: warning: decimal constant is so large that it is unsigned
... (lot of)

then src/crm_test_hashes seems to hangs at ~99% CPU at:

Testing: fake12_hash (82568478) (4)
...
Mix success  42 bytes   8 initvals  required  18  trials
Mix success  43 bytes   8 initvals  required  19  trials
Mix success  44 bytes   8 initv

but after minutes it finishes. Wew :P.

Then megatest ... did not succeed [removed some bla-bla]:

...
@@ -689,6 +697,0 @@
- type Q 
-CLASSIFY fails; success probability: 0.0000  pR: -10.6507
-Best match to file #1 (q_test.css) prob: 1.0000  pR: 10.6507  
-Total features in input file: 176
-#0 (i_test.css): features: 140946, hits: 693, prob: 2.24e-11, pR: -10.65 
-#1 (q_test.css): features: 133586, hits: 5022, prob: 1.00e+00, pR:  10.65 
@@ -695,0 +699,65 @@
+ ****  Default (SBPH Markovian) classifier 
+./megatest.sh: QUICKREF_mt_ng_reference_1.input: No such file or directory
+./megatest.sh: INTRO_mt_ng_reference_2.input: No such file or directory
+
+crm114: *WARNING*
+ Nonexistent Classify table named:  i_test.css
+This happened at line 4 of file (from command line)
+(runtime system location: crm_markovian.c(1210) in routine: crm_expr_markov_cla
ssify)
+The line was:
+--> classify ( i_test.css | q_test.css ) (:s:) /[[:graph:]]+/ . 
...
+crm114: *WARNING*
+ Nonexistent Classify table named:  q_test.css
+This happened at line 4 of file (from command line)
+(runtime system location: crm_markovian.c(1210) in routine: crm_expr_markov_cla
 ssify)
+The line was:
+--> classify ( i_test.css | q_test.css ) (:s:) /[[:graph:]]+/ . 
...
+crm114: *WARNING*
+ Couldn't open at least 2 .css files for classify(). 
...
[ ~same for 'type I' ]

well, all the classifying test go like that, so there's something broken in
the megatest itself, other than in crm.


next round next day (today, but later), likely.

-- 
paolo

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.