Re: Error Building libapreq2.08

Jonathan Vanasco <[email protected]>
Newsgroups gmane.comp.apache.apreq
Message-ID <[email protected]>
On Apr 15, 2007, at 7:24 PM, Joe Schaefer wrote:
>
> For reasons which escape me, the diagnostics precede each test, so we
> need the see the stuff in front of that line as well.
>
>> # testing: apreq_charset_divine(expect, elen) ==  
>> APREQ_CHARSET_CP1252, as
>> integers (util.c:111)
>> #  format: %d
>> #    left: 0
>> #   right: 0
>
> Hmm, may need an %u there instead of a %d.  Otherwise
> I don't see what it's complaining about.


Just to be sure I'm not screwing stuff up, I'll outline my entire  
process:

$ tar -zxf libapreq2-2.08.tar.gz
$ cd libapreq2-208
$ vi library/t/util.c
line 91:+
	AT_trace_on()
$ vi Makefile
change -O2 > -O0
( also tried without doing this )
$ export HARNESS_VERBOSE='1'
$ ./configure --with-expat=/usr/local/apr  --with-apache2-apxs=/usr/ 
local/apache2/bin/apxs --enable-perl-glue
$ make
$ make test
======
# testing: apreq_decode(expect, &elen, src1, sizeof(src1) -1) ==  
APR_SUCCESS, as integers (util.c:99)
#  format: %d
#    left: 0
#   right: 0
ok 32 - apreq_decode(expect, &elen, src1, sizeof(src1) -1) ==  
APR_SUCCESS, as integers # at (util.c:99) test 1 in test_charset_divine
# testing: apreq_charset_divine(expect, elen) == APREQ_CHARSET_UTF8,  
as integers (util.c:101)
#  format: %d
#    left: 8
#   right: 8
ok 33 - apreq_charset_divine(expect, elen) == APREQ_CHARSET_UTF8, as  
integers # at (util.c:101) test 2 in test_charset_divine
# testing: apreq_decode(expect, &elen, src2, sizeof(src2) -1) ==  
APR_SUCCESS, as integers (util.c:104)
#  format: %d
#    left: 0
#   right: 0
ok 34 - apreq_decode(expect, &elen, src2, sizeof(src2) -1) ==  
APR_SUCCESS, as integers # at (util.c:104) test 3 in test_charset_divine
# testing: apreq_charset_divine(expect, elen) ==  
APREQ_CHARSET_LATIN1, as integers (util.c:106)
#  format: %d
#    left: 1
#   right: 1
ok 35 - apreq_charset_divine(expect, elen) == APREQ_CHARSET_LATIN1,  
as integers # at (util.c:106) test 4 in test_charset_divine
# testing: apreq_decode(expect, &elen, src3, sizeof(src3) -1) ==  
APR_SUCCESS, as integers (util.c:108)
#  format: %d
#    left: 120011
#   right: 120011
not ok 36 - apreq_decode(expect, &elen, src3, sizeof(src3) -1) ==  
APR_SUCCESS, as integers # at (util.c:108) test 5 in test_charset_divine
# testing: apreq_charset_divine(expect, elen) ==  
APREQ_CHARSET_CP1252, as integers (util.c:110)
#  format: %d
#    left: 0
#   right: 0
not ok 37 - apreq_charset_divine(expect, elen) ==  
APREQ_CHARSET_CP1252, as integers # at (util.c:110) test 6 in  
test_charset_divine
# testing: status == APR_SUCCESS, as integers (util.c:136)
#  format: %d
#    left: 0
#   right: 0
ok 38 - status == APR_SUCCESS, as integers # at (util.c:136) test 1  
in test_decodev
# testing: dest_len == sizeof(expect1) - 1, as integers (util.c:137)
#  format: %d
#    left: 5
#   right: 5
ok 39 - dest_len == sizeof(expect1) - 1, as integers # at (util.c: 
137) test 2 in test_decodev
# testing: dest == expect1, as 5-byte struct pointers (util.c:138)
#  format: %.5s
#    left: %40 A
#   right: %40 A
ok 40 - dest == expect1, as 5-byte struct pointers # at (util.c:138)  
test 3 in test_decodev
# testing: status == APR_INCOMPLETE, as integers (util.c:141)
#  format: %d
#    left: 70008
#   right: 70008
ok 41 - status == APR_INCOMPLETE, as integers # at (util.c:141) test  
4 in test_decodev
# testing: dest_len == sizeof(expect2) - 1, as integers (util.c:142)
#  format: %d
#    left: 4
#   right: 4
ok 42 - dest_len == sizeof(expect2) - 1, as integers # at (util.c: 
142) test 5 in test_decodev
# testing: dest == expect2, as 4-byte struct pointers (util.c:143)
#  format: %.4s
#    left: %40
#   right: %40
ok 43 - dest == expect2, as 4-byte struct pointers # at (util.c:143)  
test 6 in test_decodev
# testing: apreq_decode((char *)src2, &slen, src1, sizeof(src1) -1)  
== APR_SUCCESS, as integers (util.c:160)
#  format: %d
#    left: 0
#   right: 0
============



// Jonathan Vanasco

| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
| SyndiClick.com
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
|      FindMeOn.com - The cure for Multiple Web Personality Disorder
|      Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
|      RoadSound.com - Tools For Bands, Stuff For Fans
|      Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
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.