Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 62487 invoked from network); 16 Apr 2007 00:01:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Apr 2007 00:01:41 -0000 Received: (qmail 10694 invoked by uid 500); 16 Apr 2007 00:01:47 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 10569 invoked by uid 500); 16 Apr 2007 00:01:47 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 10558 invoked by uid 99); 16 Apr 2007 00:01:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Apr 2007 17:01:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [208.97.132.5] (HELO swarthymail-a3.g.dreamhost.com) (208.97.132.5) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Apr 2007 17:01:40 -0700 Received: from [192.168.1.103] (user-108763e.cable.mindspring.com [64.131.152.110]) by swarthymail-a3.g.dreamhost.com (Postfix) with ESMTP id 22CA27F033; Sun, 15 Apr 2007 17:01:17 -0700 (PDT) In-Reply-To: <87vefx1arc.fsf@gemini.sunstarsys.com> References: <2C26F076-28EB-4794-9595-3A5B6D84E62A@2xlp.com> <87zm591e4d.fsf@gemini.sunstarsys.com> <9991285E-B728-47B6-9E52-F8C60612ED2B@2xlp.com> <87vefx1arc.fsf@gemini.sunstarsys.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: apreq-dev@httpd.apache.org Content-Transfer-Encoding: 7bit From: Jonathan Vanasco Subject: Re: Error Building libapreq2.08 Date: Sun, 15 Apr 2007 20:01:14 -0400 To: Joe Schaefer X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org 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 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -