From apreqmargaretmorrison@example.net Wed Mar 01 19:08:27 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 54780 invoked from network); 1 Mar 2006 19:08:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Mar 2006 19:08:27 -0000 Received: (qmail 72766 invoked by uid 500); 1 Mar 2006 19:09:13 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 72744 invoked by uid 500); 1 Mar 2006 19:09:13 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 72733 invoked by uid 99); 1 Mar 2006 19:09:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 11:09:13 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 11:09:12 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FEWY3-0008I0-Vn for margaretmorrison@example.net; Wed, 01 Mar 2006 19:59:44 +0100 Received: from 232.196-201-80.adsl.skynet.be ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Wed, 01 Mar 2006 19:59:43 +0100 Received: from f.braem by 232.196-201-80.adsl.skynet.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Wed, 01 Mar 2006 19:59:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: margaretmorrison@example.net From: Franky Braem <margaretmorrison@example.net> Subject: apreq_cookies unresolved Date: Wed, 01 Mar 2006 19:51:35 +0100 Lines: 13 Message-ID: <margaretmorrison@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: margaretmorrison@example.net X-Gmane-NNTP-Posting-Host: 232.196-201-80.adsl.skynet.be User-Agent: Mozilla Thunderbird 1.0.5 (Windows/20050711) X-Accept-Language: en-us, en Sender: news <margaretmorrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I get the following error: 1>Linking... 1> Creating library D:\development\wxJS2\src\mod_wxjs\Debug\mod_wxjs.lib and object D:\development\wxJS2\src\mod_wxjs\Debug\mod_wxjs.exp 1>handler.obj : error LNK2019: unresolved external symbol _apreq_cookies@8 referenced in function "int __cdecl wxjs_handler(struct request_rec *)" (?wxjs_handler@@YAHPAUrequest_rec@@@Z) 1>D:\development\wxJS2\src\mod_wxjs\Debug\mod_wxjs.dll : fatal error LNK1120: 1 unresolved externals With a LibView program, I can't find it in libapreq2.lib. From apreqmargaretmorrison@example.net Wed Mar 01 21:00:19 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 11487 invoked from network); 1 Mar 2006 21:00:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Mar 2006 21:00:19 -0000 Received: (qmail 54433 invoked by uid 500); 1 Mar 2006 21:01:05 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 54408 invoked by uid 500); 1 Mar 2006 21:01:05 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 54393 invoked by uid 99); 1 Mar 2006 21:01:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 13:01:05 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 13:01:04 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FEYPs-0006MM-AV for margaretmorrison@example.net; Wed, 01 Mar 2006 21:59:24 +0100 Received: from adsl-065-012-220-185.sip.bct.bellsouth.net ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Wed, 01 Mar 2006 21:59:24 +0100 Received: from joe+gmane by adsl-065-012-220-185.sip.bct.bellsouth.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Wed, 01 Mar 2006 21:59:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: margaretmorrison@example.net To: margaretmorrison@example.net From: Joe Schaefer <margaretmorrison@example.net> Subject: Re: apreq_cookies unresolved Date: Wed, 01 Mar 2006 15:58:20 -0500 Lines: 7 Message-ID: <margaretmorrison@example.net> References: <margaretmorrison@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: margaretmorrison@example.net X-Gmane-NNTP-Posting-Host: adsl-065-012-220-185.sip.bct.bellsouth.net Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:q8ES8knSVgn6uv1rHl3auy5W7ZE= Sender: news <margaretmorrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Franky Braem <margaretmorrison@example.net> writes: > I get the following error: Fixed in trunk. -- Joe Schaefer From apreqmargaretmorrison@example.net Fri Mar 03 23:01:33 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 496 invoked from network); 3 Mar 2006 23:01:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Mar 2006 23:01:28 -0000 Received: (qmail 89103 invoked by uid 500); 3 Mar 2006 23:02:06 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 89087 invoked by uid 500); 3 Mar 2006 23:02:06 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 89076 invoked by uid 99); 3 Mar 2006 23:02:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2006 15:02:06 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2006 15:02:05 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FFJHA-0004l4-64 for margaretmorrison@example.net; Sat, 04 Mar 2006 00:01:32 +0100 Received: from adsl-64-164-34-90.dsl.scrm01.pacbell.net ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Sat, 04 Mar 2006 00:01:32 +0100 Received: from steve by adsl-64-164-34-90.dsl.scrm01.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Sat, 04 Mar 2006 00:01:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: margaretmorrison@example.net From: Steve Thames <margaretmorrison@example.net> Subject: libapreq2 installation Date: Fri, 03 Mar 2006 14:58:12 -0800 Lines: 36 Message-ID: <margaretmorrison@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: margaretmorrison@example.net X-Gmane-NNTP-Posting-Host: adsl-64-164-34-90.dsl.scrm01.pacbell.net X-Newsreader: Forte Agent 3.2/32.830 trialware Sender: news <margaretmorrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I have been trying to install libapreq2 on Fedore FC4 with no luck. Nearly all the tests work but all tests in glue/perl/t/apreq/cgi.t fail. I am installing as root but have 777 permissions on the entire /root directory. When that did not work, I change the user:group to nobody:nobody for everything in the /root directory--no luck. I ran strace against all the tests in cgi.t and found no access or permission errors. Here is the error from the error log: >Can't load '/root/build/libapreq2-2.07/glue/perl/t/cgi-bin/../../blib/arch/auto/APR/Request/Request.so' for module APR888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request: libapreq2.so.2: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.6/i386-linux-thread-multi/DynaLoader.pm line 230. >[Fri Mar 03 13:49:49 2006] [error] [client 83.161.120.155] at /root/build/libapreq2-2.07/glue/perl/t/cgi-bin/../../blib/lib/APR/Request/Param.pm line 27 >[Fri Mar 03 13:49:49 2006] [error] [client 83.161.120.155] Compilation failed in require at /root/build/libapreq2-2.07/glue/perl/t/cgi-bin/../../blib/lib/APR/Request/Param.pm line 27. >[Fri Mar 03 13:49:49 2006] [error] [client 83.161.120.155] BEGIN failed--compilation aborted at /root/build/libapreq2-2.07/glue/perl/t/cgi-bin/../../blib/lib/APR/Request/Param.pm line 27. >[Fri Mar 03 13:49:49 2006] [error] [client 83.161.120.155] Compilation failed in require at /root/build/libapreq2-2.07/glue/perl/t/cgi-bin/test_cgi.pl line 11. >[Fri Mar 03 13:49:49 2006] [error] [client 83.161.120.155] BEGIN failed--compilation aborted at /root/build/libapreq2-2.07/glue/perl/t/cgi-bin/test_cgi.pl line 11. >[Fri Mar 03 13:49:49 2006] [error] [client 83.161.120.155] Premature end of script headers: test_cgi.pl The Request.so file does exist so I can only assume there is some file Request.so can not find and the error is being reported this way from Dynaloader.pm. Obvously the results from the cgi.t tests are 500 errors resulting from the above errors. Hardware: Dell PowerEdge 1850 - Dual 2.8 Ghz procs OS: Fedora Core 4 Linux 2.6.11-1.1369_FC4smp Apache: 2.0.54 Perl: 5.8.6 Mod Perl: 2.00002 I have verified all listed prerequisites for libapreq2. I would really like to use this tool so if anyone has any ideas, I would be thankful. From apreqmargaretmorrison@example.net Fri Mar 03 23:25:36 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 12152 invoked from network); 3 Mar 2006 23:25:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Mar 2006 23:25:35 -0000 Received: (qmail 23105 invoked by uid 500); 3 Mar 2006 23:26:22 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 23083 invoked by uid 500); 3 Mar 2006 23:26:22 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 23072 invoked by uid 99); 3 Mar 2006 23:26:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2006 15:26:22 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2006 15:26:21 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FFJel-00087w-KU for margaretmorrison@example.net; Sat, 04 Mar 2006 00:25:56 +0100 Received: from adsl-065-012-220-185.sip.bct.bellsouth.net ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Sat, 04 Mar 2006 00:25:55 +0100 Received: from joe+gmane by adsl-065-012-220-185.sip.bct.bellsouth.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Sat, 04 Mar 2006 00:25:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: margaretmorrison@example.net To: margaretmorrison@example.net From: Joe Schaefer <margaretmorrison@example.net> Subject: Re: libapreq2 installation Date: Fri, 03 Mar 2006 18:25:50 -0500 Lines: 13 Message-ID: <margaretmorrison@example.net> References: <margaretmorrison@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: margaretmorrison@example.net X-Gmane-NNTP-Posting-Host: adsl-065-012-220-185.sip.bct.bellsouth.net Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:ndwEurpVbYyPlPoyvOiusN9lXEY= Sender: news <margaretmorrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Steve Thames <margaretmorrison@example.net> writes: > The Request.so file does exist so I can only assume there is some file > Request.so can not find and the error is being reported this way from > Dynaloader.pm. Right, it's reporting that it can't find libapreq2.so, which is pretty odd. What do you get from $ ldd Request.so -- Joe Schaefer From apreqmargaretmorrison@example.net Fri Mar 03 23:27:48 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 13179 invoked from network); 3 Mar 2006 23:27:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Mar 2006 23:27:48 -0000 Received: (qmail 26263 invoked by uid 500); 3 Mar 2006 23:28:34 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 26246 invoked by uid 500); 3 Mar 2006 23:28:34 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 26235 invoked by uid 99); 3 Mar 2006 23:28:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2006 15:28:34 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO beauty.rexursive.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2006 15:28:33 -0800 Received: from coyote.rexursive.com (coyote.rexursive.com [83.161.120.155]) by beauty.rexursive.com (Postfix) with ESMTP id 6186A1B7241; Sat, 4 Mar 2006 10:28:12 +1100 (EST) Subject: Re: libapreq2 installation From: Bojan Smojver <margaretmorrison@example.net> To: Steve Thames <margaretmorrison@example.net> Cc: margaretmorrison@example.net In-Reply-To: <margaretmorrison@example.net> References: <margaretmorrison@example.net> Content-Type: text/plain Date: Sat, 04 Mar 2006 10:28:11 +1100 Message-Id: <margaretmorrison@example.net> Mime-Version: 1.0 X-Mailer: Evolution 2.5.92 (2.5.92-1) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Fri, 2006-03-03 at 14:58 -0800, Steve Thames wrote: > I have verified all listed prerequisites for libapreq2. > > I would really like to use this tool so if anyone has any ideas, I > would be thankful. The libapreq2 that you're using - is it and RPM from Fedora Extras or did you compile it yourself? -- Bojan From apreqmargaretmorrison@example.net Sat Mar 04 14:34:28 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 96905 invoked from network); 4 Mar 2006 14:34:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Mar 2006 14:34:28 -0000 Received: (qmail 11942 invoked by uid 500); 4 Mar 2006 14:35:15 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 11922 invoked by uid 500); 4 Mar 2006 14:35:14 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 11911 invoked by uid 99); 4 Mar 2006 14:35:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Mar 2006 06:35:14 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Mar 2006 06:35:13 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FFXqI-0006n6-FN for margaretmorrison@example.net; Sat, 04 Mar 2006 15:34:46 +0100 Received: from adsl-64-164-34-90.dsl.scrm01.pacbell.net ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Sat, 04 Mar 2006 15:34:46 +0100 Received: from steve by adsl-64-164-34-90.dsl.scrm01.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Sat, 04 Mar 2006 15:34:46 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: margaretmorrison@example.net From: Steve Thames <margaretmorrison@example.net> Subject: Re: libapreq2 installation Date: Sat, 04 Mar 2006 06:35:49 -0800 Lines: 15 Message-ID: <margaretmorrison@example.net> References: <margaretmorrison@example.net> <margaretmorrison@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: margaretmorrison@example.net X-Gmane-NNTP-Posting-Host: adsl-64-164-34-90.dsl.scrm01.pacbell.net X-Newsreader: Forte Agent 3.2/32.830 trialware Sender: news <margaretmorrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I got libapreq2 2.07 from CPAN and am attempting the install. This is the only problem with it. Everything else works fine. On Sat, 04 Mar 2006 10:28:11 +1100, Bojan Smojver <margaretmorrison@example.net> wrote: >On Fri, 2006-03-03 at 14:58 -0800, Steve Thames wrote: > >> I have verified all listed prerequisites for libapreq2. >> >> I would really like to use this tool so if anyone has any ideas, I >> would be thankful. > >The libapreq2 that you're using - is it and RPM from Fedora Extras or >did you compile it yourself? From apreqmargaretmorrison@example.net Sat Mar 04 14:40:42 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 98823 invoked from network); 4 Mar 2006 14:40:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Mar 2006 14:40:41 -0000 Received: (qmail 13771 invoked by uid 500); 4 Mar 2006 14:41:28 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 13748 invoked by uid 500); 4 Mar 2006 14:41:28 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 13736 invoked by uid 99); 4 Mar 2006 14:41:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Mar 2006 06:41:27 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Mar 2006 06:41:26 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FFXwI-0007Z3-65 for margaretmorrison@example.net; Sat, 04 Mar 2006 15:40:58 +0100 Received: from adsl-64-164-34-90.dsl.scrm01.pacbell.net ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Sat, 04 Mar 2006 15:40:58 +0100 Received: from steve by adsl-64-164-34-90.dsl.scrm01.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Sat, 04 Mar 2006 15:40:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: margaretmorrison@example.net From: Steve Thames <margaretmorrison@example.net> Subject: Re: libapreq2 installation Date: Sat, 04 Mar 2006 06:42:05 -0800 Lines: 51 Message-ID: <margaretmorrison@example.net> References: <margaretmorrison@example.net> <margaretmorrison@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: margaretmorrison@example.net X-Gmane-NNTP-Posting-Host: adsl-64-164-34-90.dsl.scrm01.pacbell.net X-Newsreader: Forte Agent 3.2/32.830 trialware Sender: news <margaretmorrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N $ldd Request.so linux-gate.so.1 => (0x00a2c000) libapreq2.so.2 => not found libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x00bf1000) libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x00b36000) libldap-2.2.so.7 => /usr/lib/libldap-2.2.so.7 (0x00c61000) liblber-2.2.so.7 => /usr/lib/liblber-2.2.so.7 (0x006ab000) libdb-4.3.so => /lib/tls/i686/libdb-4.3.so (0x0077d000) libexpat.so.0 => /usr/lib/libexpat.so.0 (0x002e2000) librt.so.1 => /lib/librt.so.1 (0x0074c000) libm.so.6 => /lib/libm.so.6 (0x00111000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x0025e000) libpthread.so.0 => /lib/libpthread.so.0 (0x00568000) libdl.so.2 => /lib/libdl.so.2 (0x00717000) libc.so.6 => /lib/libc.so.6 (0x00879000) libresolv.so.2 => /lib/libresolv.so.2 (0x0065a000) libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00135000) libssl.so.5 => /lib/libssl.so.5 (0x0014b000) libcrypto.so.5 => /lib/libcrypto.so.5 (0x00301000) /lib/ld-linux.so.2 (0x0068e000) libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00183000) libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x0019a000) libcom_err.so.2 => /lib/libcom_err.so.2 (0x00626000) libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x0020c000) libz.so.1 => /usr/lib/libz.so.1 (0x00f76000) libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00e92000) As you can see, Request.so can't find libapreq2.so.2 which is located in libapreq2-2.07/library/.libs. Also, I'm getting this after the server starts but before the tests: [warn] PassEnv variable PERL5LIB was undefined Should this be set to something? On Fri, 03 Mar 2006 18:25:50 -0500, Joe Schaefer <margaretmorrison@example.net> wrote: >Steve Thames <margaretmorrison@example.net> writes: > >> The Request.so file does exist so I can only assume there is some file >> Request.so can not find and the error is being reported this way from >> Dynaloader.pm. > >Right, it's reporting that it can't find libapreq2.so, which is pretty odd. >What do you get from > > $ ldd Request.so From apreqmargaretmorrison@example.net Sat Mar 04 15:36:13 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 16999 invoked from network); 4 Mar 2006 15:36:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Mar 2006 15:36:12 -0000 Received: (qmail 74270 invoked by uid 500); 4 Mar 2006 15:36:59 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 74248 invoked by uid 500); 4 Mar 2006 15:36:59 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 74236 invoked by uid 99); 4 Mar 2006 15:36:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Mar 2006 07:36:58 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Mar 2006 07:36:57 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FFYo2-0006Yi-2H for margaretmorrison@example.net; Sat, 04 Mar 2006 16:36:30 +0100 Received: from adsl-64-164-34-90.dsl.scrm01.pacbell.net ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Sat, 04 Mar 2006 16:36:30 +0100 Received: from steve by adsl-64-164-34-90.dsl.scrm01.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Sat, 04 Mar 2006 16:36:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: margaretmorrison@example.net From: Steve Thames <margaretmorrison@example.net> Subject: Re: libapreq2 installation Date: Sat, 04 Mar 2006 07:37:15 -0800 Lines: 27 Message-ID: <margaretmorrison@example.net> References: <margaretmorrison@example.net> <margaretmorrison@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: margaretmorrison@example.net X-Gmane-NNTP-Posting-Host: adsl-64-164-34-90.dsl.scrm01.pacbell.net X-Newsreader: Forte Agent 3.2/32.830 trialware Sender: news <margaretmorrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I set PERL5LIB to the location of the missing library: export PERL5LIB=/root/build/libapreq2-2.07/library/.libs no change. I then set the LD_LIBRARY_PATH to the same value. The tests still failed but 'ldd Request.so' is now revealing this for libapreq2.so.2: libapreq2.so.2 => /root/build/libapreq2-2.07/library/.libs/libapreq2.so.2 (0x00a2c000) Any suggestions? On Fri, 03 Mar 2006 18:25:50 -0500, Joe Schaefer <margaretmorrison@example.net> wrote: >Steve Thames <margaretmorrison@example.net> writes: > >> The Request.so file does exist so I can only assume there is some file >> Request.so can not find and the error is being reported this way from >> Dynaloader.pm. > >Right, it's reporting that it can't find libapreq2.so, which is pretty odd. >What do you get from > > $ ldd Request.so From apreqmargaretmorrison@example.net Sat Mar 04 21:29:04 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 26451 invoked from network); 4 Mar 2006 21:29:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Mar 2006 21:29:04 -0000 Received: (qmail 94513 invoked by uid 500); 4 Mar 2006 21:29:51 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 94049 invoked by uid 500); 4 Mar 2006 21:29:49 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 94038 invoked by uid 99); 4 Mar 2006 21:29:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Mar 2006 13:29:49 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Mar 2006 13:29:48 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FFeJF-0005f9-C8 for margaretmorrison@example.net; Sat, 04 Mar 2006 22:29:05 +0100 Received: from 229.220-200-80.adsl.skynet.be ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Sat, 04 Mar 2006 22:29:05 +0100 Received: from f.braem by 229.220-200-80.adsl.skynet.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Sat, 04 Mar 2006 22:29:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: margaretmorrison@example.net From: Franky Braem <margaretmorrison@example.net> Subject: upload file crashes when using apr_pool_cleanup_register Date: Sat, 04 Mar 2006 22:28:59 +0100 Lines: 84 Message-ID: <margaretmorrison@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: margaretmorrison@example.net X-Gmane-NNTP-Posting-Host: 229.220-200-80.adsl.skynet.be User-Agent: Mozilla Thunderbird 1.0.5 (Windows/20050711) X-Accept-Language: en-us, en Sender: news <margaretmorrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The following code crashes when I remove the comment before the apr_pool_cleanup_register (and put apr_file_close into comment ofcourse). When I use apr_file_close it works. ----------------- start code apreq_param_t *param = apreq_body_get(p, elementName.c_str()); if ( param != NULL && param->upload != NULL ) { apr_bucket_brigade *bb; apr_bucket *e; apr_file_t *file = NULL; apr_int32_t flags = APR_WRITE | APR_CREATE; if ( overrideFile ) flags |= APR_TRUNCATE; apr_status_t fileStat; if ( (fileStat = apr_file_open(&file, fileName.c_str(), flags, APR_OS_DEFAULT, p->pool)) != APR_SUCCESS ) { char fileError[1024]; apr_strerror(fileStat, fileError, sizeof(fileError)); JS_ReportError(cx, fileError); *rval = JSVAL_FALSE; return JS_TRUE; } //apr_pool_cleanup_register(p->pool, file, (apr_status_t (__cdecl *)(void *)) apr_file_close, apr_pool_cleanup_null); long totalLength = 0; bb = apr_brigade_create(p->pool, r->connection->bucket_alloc); apreq_brigade_copy(bb, param->upload); while( (e = APR_BRIGADE_FIRST(bb)) != APR_BRIGADE_SENTINEL(bb) ) { apr_size_t dlen; const char *data; apr_status_t s; s = apr_bucket_read(e, &data, &dlen, APR_BLOCK_READ); if ( s != APR_SUCCESS ) { JS_ReportError(cx, "Error occurred while reading uploaded file content"); return JS_FALSE; } totalLength += dlen; if ( maxLength != -1 && maxLength < totalLength ) { apr_bucket_delete(e); *rval = JSVAL_FALSE; return JS_TRUE; } apr_file_write(file, data, &dlen); apr_bucket_delete(e); } apr_file_flush(file); apr_file_close(file); } ----------------- end code The crash is: Unhandled exception at 0x0096b338 in Apache.exe: 0xC0000005: Access violation writing location 0x26470016. The stack trace: 0096b338() > libhttpd.dll!ap_process_http_connection(conn_rec * c=0x0096b338) Line 262 C libhttpd.dll!ap_run_process_connection(conn_rec * c=0x0096b338) Line 43 + 0x25 bytes C libhttpd.dll!ap_process_connection(conn_rec * c=0x0096b338, void * csd=0x0096b268) Line 176 + 0x6 bytes C libhttpd.dll!worker_main(void * thread_num_val=0x0096b330) Line 733 C msvcr80.dll!_endthreadex() + 0x3b bytes [Frames below may be incorrect and/or missing, no symbols loaded for msvcr80.dll] msvcr80.dll!_endthreadex() + 0xc7 bytes From apreqmargaretmorrison@example.net Sat Mar 04 21:39:01 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 29191 invoked from network); 4 Mar 2006 21:39:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Mar 2006 21:39:01 -0000 Received: (qmail 98018 invoked by uid 500); 4 Mar 2006 21:39:48 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 97992 invoked by uid 500); 4 Mar 2006 21:39:47 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 97981 invoked by uid 99); 4 Mar 2006 21:39:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Mar 2006 13:39:47 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO beauty.rexursive.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Mar 2006 13:39:46 -0800 Received: from coyote.rexursive.com (coyote.rexursive.com [83.161.120.155]) by beauty.rexursive.com (Postfix) with ESMTP id 9BF481B7241; Sun, 5 Mar 2006 08:39:25 +1100 (EST) Subject: Re: libapreq2 installation From: Bojan Smojver <margaretmorrison@example.net> To: Steve Thames <margaretmorrison@example.net> Cc: margaretmorrison@example.net In-Reply-To: <margaretmorrison@example.net> References: <margaretmorrison@example.net> <margaretmorrison@example.net> <margaretmorrison@example.net> Content-Type: text/plain Date: Sun, 05 Mar 2006 08:39:24 +1100 Message-Id: <margaretmorrison@example.net> Mime-Version: 1.0 X-Mailer: Evolution 2.5.92 (2.5.92-1) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Sat, 2006-03-04 at 06:35 -0800, Steve Thames wrote: > I got libapreq2 2.07 from CPAN and am attempting the install. This is > the only problem with it. Everything else works fine. As a comparison, you can always do "yum install libapreq2" and see if it fails the same way. -- Bojan From apreqmargaretmorrison@example.net Sun Mar 05 03:10:21 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 23850 invoked from network); 5 Mar 2006 03:10:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Mar 2006 03:10:21 -0000 Received: (qmail 86732 invoked by uid 500); 5 Mar 2006 03:11:07 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 86698 invoked by uid 500); 5 Mar 2006 03:11:07 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 86685 invoked by uid 99); 5 Mar 2006 03:11:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Mar 2006 19:11:06 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Mar 2006 19:11:06 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FFjdj-0005nG-UN for margaretmorrison@example.net; Sun, 05 Mar 2006 04:10:36 +0100 Received: from adsl-065-012-220-185.sip.bct.bellsouth.net ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Sun, 05 Mar 2006 04:10:35 +0100 Received: from joe+gmane by adsl-065-012-220-185.sip.bct.bellsouth.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Sun, 05 Mar 2006 04:10:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: margaretmorrison@example.net To: margaretmorrison@example.net From: Joe Schaefer <margaretmorrison@example.net> Subject: Re: upload file crashes when using apr_pool_cleanup_register Date: Sat, 04 Mar 2006 22:10:25 -0500 Lines: 12 Message-ID: <margaretmorrison@example.net> References: <margaretmorrison@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: margaretmorrison@example.net X-Gmane-NNTP-Posting-Host: adsl-065-012-220-185.sip.bct.bellsouth.net Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:yJ/gXEsQuv4UfdkTvSrdsNnlpFc= Sender: news <margaretmorrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Franky Braem <margaretmorrison@example.net> writes: > The following code crashes when I remove the comment before the > apr_pool_cleanup_register (and put apr_file_close into comment > ofcourse). I *think* it's because apr_file_open registers a pool cleanup automatically. So you don't need to register the cleanup, you wind up closing the file twice when you do that. -- Joe Schaefer From apreqmargaretmorrison@example.net Sun Mar 05 13:44:59 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 59810 invoked from network); 5 Mar 2006 13:44:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Mar 2006 13:44:59 -0000 Received: (qmail 37820 invoked by uid 500); 5 Mar 2006 13:45:45 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 37795 invoked by uid 500); 5 Mar 2006 13:45:45 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 37784 invoked by uid 99); 5 Mar 2006 13:45:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Mar 2006 05:45:45 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Mar 2006 05:45:44 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FFtXq-0004DX-Bv for margaretmorrison@example.net; Sun, 05 Mar 2006 14:45:10 +0100 Received: from adsl-64-164-34-90.dsl.scrm01.pacbell.net ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Sun, 05 Mar 2006 14:45:10 +0100 Received: from steve by adsl-64-164-34-90.dsl.scrm01.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Sun, 05 Mar 2006 14:45:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: margaretmorrison@example.net From: Steve Thames <margaretmorrison@example.net> Subject: Re: libapreq2 installation Date: Sun, 05 Mar 2006 05:46:23 -0800 Lines: 46 Message-ID: <margaretmorrison@example.net> References: <margaretmorrison@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: margaretmorrison@example.net X-Gmane-NNTP-Posting-Host: adsl-64-164-34-90.dsl.scrm01.pacbell.net X-Newsreader: Forte Agent 3.2/32.830 trialware Sender: news <margaretmorrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I solved this, finally, by downloading the SRPMS for libapreq2 2.07 and mod_perl 2.0.1, rebuilding and reinstalling. All tests worked fine. Don't know what the problem was. Moving on. Thanks for your input. On Fri, 03 Mar 2006 14:58:12 -0800, Steve Thames <margaretmorrison@example.net> wrote: >I have been trying to install libapreq2 on Fedore FC4 with no luck. >Nearly all the tests work but all tests in glue/perl/t/apreq/cgi.t >fail. > >I am installing as root but have 777 permissions on the entire /root >directory. When that did not work, I change the user:group to >nobody:nobody for everything in the /root directory--no luck. > >I ran strace against all the tests in cgi.t and found no access or >permission errors. Here is the error from the error log: > >>Can't load '/root/build/libapreq2-2.07/glue/perl/t/cgi-bin/../../blib/arch/auto/APR/Request/Request.so' for module APR888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request: libapreq2.so.2: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.6/i386-linux-thread-multi/DynaLoader.pm line 230. >>[Fri Mar 03 13:49:49 2006] [error] [client 83.161.120.155] at /root/build/libapreq2-2.07/glue/perl/t/cgi-bin/../../blib/lib/APR/Request/Param.pm line 27 >>[Fri Mar 03 13:49:49 2006] [error] [client 83.161.120.155] Compilation failed in require at /root/build/libapreq2-2.07/glue/perl/t/cgi-bin/../../blib/lib/APR/Request/Param.pm line 27. >>[Fri Mar 03 13:49:49 2006] [error] [client 83.161.120.155] BEGIN failed--compilation aborted at /root/build/libapreq2-2.07/glue/perl/t/cgi-bin/../../blib/lib/APR/Request/Param.pm line 27. >>[Fri Mar 03 13:49:49 2006] [error] [client 83.161.120.155] Compilation failed in require at /root/build/libapreq2-2.07/glue/perl/t/cgi-bin/test_cgi.pl line 11. >>[Fri Mar 03 13:49:49 2006] [error] [client 83.161.120.155] BEGIN failed--compilation aborted at /root/build/libapreq2-2.07/glue/perl/t/cgi-bin/test_cgi.pl line 11. >>[Fri Mar 03 13:49:49 2006] [error] [client 83.161.120.155] Premature end of script headers: test_cgi.pl > >The Request.so file does exist so I can only assume there is some file >Request.so can not find and the error is being reported this way from >Dynaloader.pm. > >Obvously the results from the cgi.t tests are 500 errors resulting >from the above errors. > >Hardware: Dell PowerEdge 1850 - Dual 2.8 Ghz procs >OS: Fedora Core 4 Linux 2.6.11-1.1369_FC4smp >Apache: 2.0.54 >Perl: 5.8.6 >Mod Perl: 2.00002 > >I have verified all listed prerequisites for libapreq2. > >I would really like to use this tool so if anyone has any ideas, I >would be thankful. > From apreqmargaretmorrison@example.net Sun Mar 05 18:50:34 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 53982 invoked from network); 5 Mar 2006 18:50:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Mar 2006 18:50:34 -0000 Received: (qmail 45986 invoked by uid 500); 5 Mar 2006 18:51:20 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 45958 invoked by uid 500); 5 Mar 2006 18:51:19 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 45947 invoked by uid 99); 5 Mar 2006 18:51:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Mar 2006 10:51:19 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Mar 2006 10:51:18 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FFyJi-00086R-Vw for margaretmorrison@example.net; Sun, 05 Mar 2006 19:50:55 +0100 Received: from 138-168.241.81.adsl.skynet.be ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Sun, 05 Mar 2006 19:50:54 +0100 Received: from f.braem by 138-168.241.81.adsl.skynet.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Sun, 05 Mar 2006 19:50:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: margaretmorrison@example.net From: Franky Braem <margaretmorrison@example.net> Subject: Re: upload file crashes when using apr_pool_cleanup_register Date: Sun, 05 Mar 2006 19:50:44 +0100 Lines: 23 Message-ID: <margaretmorrison@example.net> References: <margaretmorrison@example.net> <margaretmorrison@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: margaretmorrison@example.net X-Gmane-NNTP-Posting-Host: 138-168.241.81.adsl.skynet.be User-Agent: Mozilla Thunderbird 1.0.5 (Windows/20050711) X-Accept-Language: en-us, en In-Reply-To: <margaretmorrison@example.net> Sender: news <margaretmorrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Joe Schaefer wrote: > Franky Braem <margaretmorrison@example.net> writes: > > >>The following code crashes when I remove the comment before the >>apr_pool_cleanup_register (and put apr_file_close into comment >>ofcourse). > > > I *think* it's because apr_file_open registers a pool cleanup automatically. > So you don't need to register the cleanup, you wind up closing the file > twice when you do that. > Yep, you're right. Saw this in open.c: if (!(flag & APR_FILE_NOCLEANUP)) { apr_pool_cleanup_register((*new)->pool, (void *)(*new), file_cleanup, apr_pool_cleanup_null); } From apreqmargaretmorrison@example.net Tue Mar 07 17:20:34 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 85934 invoked from network); 7 Mar 2006 17:20:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Mar 2006 17:20:34 -0000 Received: (qmail 6654 invoked by uid 500); 7 Mar 2006 17:20:34 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 6511 invoked by uid 500); 7 Mar 2006 17:20:33 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 6500 invoked by uid 99); 7 Mar 2006 17:20:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2006 09:20:33 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2006 09:20:31 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FGfpS-0003Re-9p for margaretmorrison@example.net; Tue, 07 Mar 2006 18:18:34 +0100 Received: from adsl-065-012-220-185.sip.bct.bellsouth.net ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Tue, 07 Mar 2006 18:18:34 +0100 Received: from joe+gmane by adsl-065-012-220-185.sip.bct.bellsouth.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Tue, 07 Mar 2006 18:18:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: margaretmorrison@example.net To: margaretmorrison@example.net From: Joe Schaefer <margaretmorrison@example.net> Subject: Re: [PATCH] 2.2.x + apreq Date: Tue, 07 Mar 2006 12:16:01 -0500 Lines: 324 Message-ID: <margaretmorrison@example.net> References: <margaretmorrison@example.net> <margaretmorrison@example.net> <margaretmorrison@example.net> <margaretmorrison@example.net> <margaretmorrison@example.net> <margaretmorrison@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: margaretmorrison@example.net X-Gmane-NNTP-Posting-Host: adsl-065-012-220-185.sip.bct.bellsouth.net Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:NxmwVg1cBOjjM5+TskPP/NcnDE0= Sender: news <margaretmorrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Joe Schaefer <margaretmorrison@example.net> writes: > Joe Schaefer <margaretmorrison@example.net> writes: > >> Here's a patch against the 2.2.x branch of httpd (you need to >> apply the svn:externals properties manually). With it I can >> build mod_apreq (no 2) statically or dynamically. Haven't tested >> it at all yet tho. > > Here's a better patch against httpd/branches/2.2.x which gives the > correct linkages on *nix. And here's a better patch against httpd/branches/2.2.x which installs cleanly, and 1) renames apreq_module_apache2.h to mod_apreq2.h 2) renames the "apreq_module" struct in mod_apreq2 to "apreq2_module" (to match the LoadModule pattern of the other httpd modules) Index: Makefile.in =================================================================== --- Makefile.in (revision 383931) +++ Makefile.in (working copy) @@ -180,6 +180,7 @@ $(srcdir)/os/$(OS_DIR)/os.h \ $(srcdir)/server/mpm/$(MPM_SUBDIR_NAME)/*.h \ $(srcdir)/modules/aaa/mod_auth.h \ + $(srcdir)/modules/apreq/mod_apreq2.h \ $(srcdir)/modules/database/mod_dbd.h \ $(srcdir)/modules/dav/main/mod_dav.h \ $(srcdir)/modules/filters/mod_include.h \ Index: server/Makefile.in =================================================================== --- server/Makefile.in (revision 383931) +++ server/Makefile.in (working copy) @@ -32,6 +32,7 @@ EXPORT_DIRS = $(top_srcdir)/include $(top_srcdir)/os/$(OS_DIR) $(top_srcdir)/modules/http EXPORT_DIRS_APR = $(APR_INCLUDEDIR) $(APU_INCLUDEDIR) +EXPORT_DIRS_APREQ = $(APREQ_INCLUDEDIR) # If export_files is a dependency here, but we remove it during this stage, # when exports.c is generated, make will not detect that export_files is no @@ -61,6 +62,9 @@ for dir in $(EXPORT_DIRS_APR); do \ (ls $$dir/ap[ru].h $$dir/ap[ru]_*.h >> $$tmp 2>/dev/null); \ done; \ + for dir in $(EXPORT_DIRS_APREQ); do \ + (ls $$dir/apreq.h $$dir/apreq_*.h >> $$tmp 2>/dev/null); \ + done; \ sort -u $$tmp > $@; \ rm -f $$tmp Property changes on: modules ___________________________________________________________________ Name: svn:externals + apreq https://svn.apache.org/repos/asf/httpd/apreq/branches/apr-build-system/mod_apreq/apache2 Property changes on: srclib ___________________________________________________________________ Name: svn:externals + apreq https://svn.apache.org/repos/asf/httpd/apreq/branches/apr-build-system/libapreq Index: configure.in =================================================================== --- configure.in (revision 383931) +++ configure.in (working copy) @@ -16,6 +16,7 @@ sinclude(build/apr_common.m4) sinclude(build/find_apr.m4) sinclude(build/find_apu.m4) +sinclude(build/find_apreq.m4) sinclude(acinclude.m4) dnl XXX we can't just use AC_PREFIX_DEFAULT because that isn't subbed in @@ -120,6 +121,30 @@ APU_VERSION=`$apu_config --version` APU_CONFIG="$APU_BINDIR/apu-`echo ${APU_VERSION} | sed 's,\..*,,'`-config" +echo $ac_n "${nl}Configuring Apache HTTP Server Request library ...${nl}" + +APR_FIND_APREQ("$srcdir/srclib/apreq", "./srclib/apreq", 1, 1) + +if test "$apreq_found" = "no"; then + AC_MSG_ERROR([APREQ not found. Please read the documentation.]) +fi + +if test "$apreq_found" = "reconfig"; then + APR_SUBDIR_CONFIG(srclib/apreq, + [--with-apr=$apr_config --with-apr-util=$apu_config --prefix=$prefix --exec-prefix=$exec_prefix --libdir=$libdir --includedir=$includedir --bindir=$bindir], + [--enable-layout=*|\'--enable-layout=*]) + dnl We must be the last to build and the first to be cleaned + AP_BUILD_SRCLIB_DIRS="$AP_BUILD_SRCLIB_DIRS apreq" + AP_CLEAN_SRCLIB_DIRS="apreq $AP_CLEAN_SRCLIB_DIRS" +fi + +APR_ADDTO(LDFLAGS, `$apreq_config --ldflags`) +APREQ_BINDIR=`$apreq_config --bindir` +APREQ_INCLUDEDIR=`$apreq_config --includedir` +APREQ_VERSION=`$apreq_config --library-version` +APREQ_CONFIG="$APREQ_BINDIR/apreq`echo ${APREQ_VERSION} | sed 's,\..*,,'`-config" + + dnl In case we picked up CC and CPP from APR, get that info into the dnl config cache so that PCRE uses it. Otherwise, CC and CPP used for dnl PCRE and for our config tests will be whatever PCRE determines. @@ -190,6 +215,7 @@ # directories. APR_ADDTO(INCLUDES, `$apr_config --includes`) APR_ADDTO(INCLUDES, `$apu_config --includes`) +APR_ADDTO(INCLUDES, `$apreq_config --includes`) echo $ac_n "${nl}Applying OS-specific hints for httpd ...${nl}" @@ -564,7 +590,7 @@ AC_DEFINE_UNQUOTED(AP_SUEXEC_UMASK, 0$withval, [umask for suexec'd process] ) ] ) dnl APR should go after the other libs, so the right symbols can be picked up -AP_LIBS="$AP_LIBS `$apu_config --link-libtool --libs` `$apr_config --link-libtool --libs`" +AP_LIBS="$AP_LIBS `$apu_config --link-libtool --libs` `$apr_config --link-libtool --libs` `$apreq_config --link-libtool --libs`" APACHE_SUBST(AP_LIBS) APACHE_SUBST(AP_BUILD_SRCLIB_DIRS) APACHE_SUBST(AP_CLEAN_SRCLIB_DIRS) Index: build/make_nw_export.awk =================================================================== --- build/make_nw_export.awk (revision 383931) +++ build/make_nw_export.awk (working copy) @@ -37,8 +37,8 @@ } } -/^[ \t]*AP([RU]|_CORE)?_DECLARE[^(]*[(][^)]*[)]([^ ]* )*[^(]+[(]/ { - sub("[ \t]*AP([RU]|_CORE)?_DECLARE[^(]*[(][^)]*[)][ \t]*", "") +/^[ \t]*AP([RU]|_CORE|REQ)?_DECLARE[^(]*[(][^)]*[)]([^ ]* )*[^(]+[(]/ { + sub("[ \t]*AP([RU]|_CORE|REQ)?_DECLARE[^(]*[(][^)]*[)][ \t]*", "") sub("[(].*", "") sub("([^ ]* (^([ \t]*[(])))+", "") @@ -79,7 +79,7 @@ next } -/^[ \t]*(extern[ \t]+)?AP[RU]?_DECLARE_DATA .*;$/ { +/^[ \t]*(extern[ \t]+)?AP([RU]|REQ)?_DECLARE_DATA .*;$/ { varname = $NF; gsub( /[*;]/, "", varname); gsub( /\[.*\]/, "", varname); Index: build/make_exports.awk =================================================================== --- build/make_exports.awk (revision 383931) +++ build/make_exports.awk (working copy) @@ -90,8 +90,8 @@ } } -/^[ \t]*AP[RU]?_(CORE_)?DECLARE[^(]*[(][^)]*[)]([^ ]* )*[^(]+[(]/ { - sub("[ \t]*AP[RU]?_(CORE_)?DECLARE[^(]*[(][^)]*[)][ \t]*", "") +/^[ \t]*AP([RU]|REQ)?_(CORE_)?DECLARE[^(]*[(][^)]*[)]([^ ]* )*[^(]+[(]/ { + sub("[ \t]*AP([RU]|REQ)?_(CORE_)?DECLARE[^(]*[(][^)]*[)][ \t]*", "") sub("[(].*", "") sub("([^ ]* (^([ \t]*[(])))+", "") Index: build/make_var_export.awk =================================================================== --- build/make_var_export.awk (revision 383931) +++ build/make_var_export.awk (working copy) @@ -17,7 +17,7 @@ # Based on apr's make_export.awk, which is # based on Ryan Bloom's make_export.pl -/^#[ \t]*if(def)? (AP[RU]?_|!?defined).*/ { +/^#[ \t]*if(def)? (AP([RU]|REQ)?_|!?defined).*/ { if (old_filename != FILENAME) { if (old_filename != "") printf("%s", line) macro_no = 0 @@ -63,7 +63,7 @@ } } -/^[ \t]*(extern[ \t]+)?AP[RU]?_DECLARE_DATA .*;$/ { +/^[ \t]*(extern[ \t]+)?AP([RU]|REQ)?_DECLARE_DATA .*;$/ { varname = $NF; gsub( /[*;]/, "", varname); gsub( /\[.*\]/, "", varname); Index: build/config_vars.sh.in =================================================================== --- build/config_vars.sh.in (revision 383931) +++ build/config_vars.sh.in (working copy) @@ -30,14 +30,17 @@ if test -f ${DESTDIR}@APR_CONFIG@; then APR_CONFIG=${DESTDIR}@APR_CONFIG@ APU_CONFIG=${DESTDIR}@APU_CONFIG@ + APREQ_CONFIG=${DESTDIR}@APREQ_CONFIG@ else APR_CONFIG=@APR_CONFIG@ APU_CONFIG=@APU_CONFIG@ + APREQ_CONFIG=@APREQ_CONFIG@ fi APR_LIBTOOL="`${APR_CONFIG} --apr-libtool`" APR_INCLUDEDIR="`${APR_CONFIG} --includedir`" APU_INCLUDEDIR="`${APU_CONFIG} --includedir`" +APREQ_INCLUDEDIR="`${APREQ_CONFIG} --includedir`" installbuilddir="@exp_installbuilddir@" @@ -71,5 +74,6 @@ /^UTIL_LDFLAGS/d /^APR_INCLUDEDIR.*$/s,.*,APR_INCLUDEDIR = ${APR_INCLUDEDIR}, /^APU_INCLUDEDIR.*$/s,.*,APU_INCLUDEDIR = ${APU_INCLUDEDIR}, +/^APREQ_INCLUDEDIR.*$/s,.*,APREQ_INCLUDEDIR = ${APREQ_INCLUDEDIR}, /^LIBTOOL.*$/s,/[^ ]*/libtool \(.*\),${APR_LIBTOOL} @LTFLAGS@, " Index: buildconf =================================================================== --- buildconf (revision 383931) +++ buildconf (working copy) @@ -24,6 +24,7 @@ apr_src_dir="srclib/apr ../apr" apu_src_dir="srclib/apr-util ../apr-util" +apreq_src_dir="srclib/apreq ../apreq" while test $# -gt 0 do @@ -45,6 +46,12 @@ ;; esac + case "$1" in + --with-apreq=*) + apreq_src_dir=$optarg + ;; + esac + shift done @@ -100,6 +107,28 @@ should_exit=1 fi +for dir in $apreq_src_dir +do + if [ -f "${dir}/Makefile.in" ]; then + echo "found apreq source: ${dir}" + apreq_src_dir=$dir + apreq_found=1 + break + fi +done + +if [ $apreq_found -lt 1 ]; then + echo "" + echo "You don't have a copy of the apreq source in srclib/apreq. " + echo "Please get one the source using the following instructions, " + echo "or specify the location of the source with " + echo "--with-apreq=[path to apreq]:" + echo "" + echo " svn co http://svn.apache.org/repos/asf/httpd/apreq/branches/2.x srclib/apreq" + echo "" + should_exit=1 +fi + if [ $should_exit -gt 0 ]; then exit 1 fi @@ -124,6 +153,7 @@ apr_configure="$apr_src_dir/configure" aprutil_configure="$apu_src_dir/configure" pcre_configure="srclib/pcre/configure" +apreq_configure="$apreq_src_dir/configure" config_h_in="include/ap_config_auto.h.in" cross_compile_warning="warning: AC_TRY_RUN called without default to allow cross compiling" @@ -150,10 +180,22 @@ apu_src_dir=`cd $apu_src_dir && pwd` +if [ "$apreq_src_dir" = "srclib/apreq" ]; then + echo rebuilding $apreq_configure + (cd srclib/apreq && ./buildconf --with-apr=$apr_src_dir --with-apr-util=$apu_src_dir) || { + echo "./buildconf failed for apreq" + exit 1 + } + rm -f srclib/apreq/apreq.spec +fi + +apreq_src_dir=`cd $apreq_src_dir && pwd` + echo copying build files cp $apr_src_dir/build/config.guess $apr_src_dir/build/config.sub \ $apr_src_dir/build/PrintPath $apr_src_dir/build/apr_common.m4 \ - $apr_src_dir/build/find_apr.m4 $apu_src_dir/build/find_apu.m4 build + $apr_src_dir/build/find_apr.m4 $apu_src_dir/build/find_apu.m4 \ + $apreq_src_dir/build/find_apreq.m4 build # Remove any libtool files so one can switch between libtool 1.3 # and libtool 1.4 by simply rerunning the buildconf script. Index: acinclude.m4 =================================================================== --- acinclude.m4 (revision 383931) +++ acinclude.m4 (working copy) @@ -97,7 +97,12 @@ APACHE_SUBST(APU_INCLUDEDIR) APACHE_SUBST(APU_VERSION) APACHE_SUBST(APU_CONFIG) + APACHE_SUBST(APREQ_BINDIR) + APACHE_SUBST(APREQ_INCLUDEDIR) + APACHE_SUBST(APREQ_VERSION) + APACHE_SUBST(APREQ_CONFIG) + abs_srcdir="`(cd $srcdir && pwd)`" echo creating config_vars.mk -- Joe Schaefer From apreqmargaretmorrison@example.net Wed Mar 08 07:09:03 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 3017 invoked from network); 8 Mar 2006 07:09:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Mar 2006 07:09:03 -0000 Received: (qmail 11282 invoked by uid 500); 8 Mar 2006 07:09:02 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 11260 invoked by uid 500); 8 Mar 2006 07:09:02 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 11249 invoked by uid 99); 8 Mar 2006 07:09:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2006 23:09:01 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO pproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2006 23:09:01 -0800 Received: by pproxy.gmail.com with SMTP id n25so1126142pyg for <margaretmorrison@example.net>; Tue, 07 Mar 2006 23:08:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-pgp-agent:x-mailer; b=iF5HlHp6letTnz5nPwfH0Cp57vafUNuO2B0Zp25mIbOdaC0j3iuPYOby2f6qe9gCAL+i/7dOy3m8ftSR/SCvi58WpeMkKcDDQ/8Pqd/SPTGtN0Fk4dkBqQKX7kS0zTmjx9UYZT7JXRMUa+bu9eCkOkQ77xKi1qMHyeWtnSKarI4= Received: by 83.161.120.155 with SMTP id z12mr193895qbq; Tue, 07 Mar 2006 23:08:40 -0800 (PST) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.gmail.com with ESMTP id e18sm135155qba.283.161.120.155.08.38; Tue, 07 Mar 2006 23:08:39 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v746.2) Content-Transfer-Encoding: 7bit Message-Id: <margaretmorrison@example.net> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-1-285749019" To: margaretmorrison@example.net From: Dave Vasilevsky <margaretmorrison@example.net> Subject: make test fails on OS X (w/fix) Date: Wed, 8 Mar 2006 02:08:25 -0500 X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.746.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-1-285749019 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi there, Thanks for the excellent tools, I don't know what I'd do without Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request. I'm packaging libapreq2 for the Fink distribution (http:// fink.sf.net), and I ran into a small bug. It appears that the library test 'util' fails (test 36 and 37). This appears to be a result of bad (?) optimization by GCC, compiling util.c with -O0 works fine. Could you please modify the CFLAGS for that target accordingly? Dave Vasilevsky --Apple-Mail-1-285749019 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEDoLq8XAKFD19w+ARArhVAJwNknlY+QZwjuXnm5lG9kwn694eqwCgjziv DPB7YACAsQH3WqAZgKQ4A3I= =gK8X -----END PGP SIGNATURE----- --Apple-Mail-1-285749019-- From apreqmargaretmorrison@example.net Thu Mar 09 16:53:37 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 99697 invoked from network); 9 Mar 2006 16:53:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Mar 2006 16:53:37 -0000 Received: (qmail 7363 invoked by uid 500); 9 Mar 2006 16:53:37 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 7226 invoked by uid 500); 9 Mar 2006 16:53:36 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 7215 invoked by uid 99); 9 Mar 2006 16:53:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2006 08:53:36 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO zproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2006 08:53:35 -0800 Received: by zproxy.gmail.com with SMTP id v1so506603nzb for <margaretmorrison@example.net>; Thu, 09 Mar 2006 08:53:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=WQIdNAlON0MkC2Fk+zkIy/MNbtOrv0y8996ScG3EralPms1cB8Mga2MX5At1xPvU5Z7ylXIq6IWwElRXch7LuLgNb5j3mjPoKwx7ltWNxa6SOV1VgVbuxT1BeOiWcyVjnA8W8SX5VXD+XJzyK4zQ2RlJ8gEib0ujwpSbPbP1o14= Received: by 83.161.120.155 with SMTP id y2mr239328pym; Thu, 09 Mar 2006 08:53:15 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 9 Mar 2006 08:53:15 -0800 (PST) Message-ID: <margaretmorrison@example.net> Date: Thu, 9 Mar 2006 11:53:15 -0500 From: "Jeff Ambrosino" <margaretmorrison@example.net> To: margaretmorrison@example.net Subject: problems making libapreq: "modperl_perl_unembed.h: No such file or directory" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi folks, I'm trying to build libapreq2-2.04_03-dev, and I can't get past this problem. During make, it fails to find "modperl_perl_unembed.h". Any suggestions? Here's the make output: /usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp=20 -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap /usr/local/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi/auto/Apache/ty= pemap -typemap ../../typemap Cookie.xs > Cookie.xsc && mv Cookie.xsc Cookie.c gcc -c -I/usr/src/libapreq2-2.04-dev/glue/perl/xs -I/usr/src/libapreq2-2.04-dev/src -I/usr/src/libapreq2-2.04-dev/glue/perl/xsbuilder -I/var/httpd/include -I/var/httpd/include -I/var/httpd/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/local/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DMOD_PERL -DMP_IOBUFSIZE=3D16384 -O2 -DVERSION=3D\"2.04-dev\" -DXS_VERSION=3D\"2.04-dev\" -fpic "-I/usr/local/lib/perl5/5.8.8/i686-linux-thread-multi/CORE" Cookie.c In file included from Cookie.xs:32: /usr/src/libapreq2-2.04-dev/glue/perl/xsbuilder/apreq_xs_postperl.h:21:34: modperl_perl_unembed.h: No such file or directory In file included from /usr/src/libapreq2-2.04-dev/glue/perl/xsbuilder/apreq_xs_postperl.h:24, from Cookie.xs:32: /usr/src/libapreq2-2.04-dev/glue/perl/xsbuilder/ppport.h:231:1: warning: "PERL_UNUSED_DECL" redefined In file included from Cookie.xs:28: /usr/local/lib/perl5/5.8.8/i686-linux-thread-multi/CORE/perl.h:163:1: warning: this is the location of the previous definition make[5]: *** [Cookie.o] Error 1 make[5]: Leaving directory `/usr/src/libapreq2-2.04-dev/glue/perl/xs/Apache/Cookie' make[4]: *** [subdirs] Error 2 make[4]: Leaving directory `/usr/src/libapreq2-2.04-dev/glue/perl/xs/Apache= ' make[3]: *** [subdirs] Error 2 make[3]: Leaving directory `/usr/src/libapreq2-2.04-dev/glue/perl/xs' make[2]: *** [subdirs] Error 2 make[2]: Leaving directory `/usr/src/libapreq2-2.04-dev/glue/perl' make[1]: *** [perl_glue] Error 2 make[1]: Leaving directory `/usr/src/libapreq2-2.04-dev/glue' make: *** [all-recursive] Error 1 FYI, I'm building against http 2.0.54 and mod_perl-2.0.0-RC4. There's a long explanation as to why I can't use the latest MP and libapreq sources, but suffice to say I need to use these versions for the time being. Also, I'm using Perl modules ExtUtils-MakeMaker-6.21 and ExtUtils-XSBuilder-0.25. thanks, Jeff From apreqmargaretmorrison@example.net Wed Mar 15 22:01:27 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 1717 invoked from network); 15 Mar 2006 22:01:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 15 Mar 2006 22:01:27 -0000 Received: (qmail 48643 invoked by uid 500); 15 Mar 2006 22:01:27 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 48500 invoked by uid 500); 15 Mar 2006 22:01:26 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 48483 invoked by uid 99); 15 Mar 2006 22:01:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Mar 2006 14:01:26 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Mar 2006 14:01:22 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FJe31-0005ZX-2o for margaretmorrison@example.net; Wed, 15 Mar 2006 23:00:51 +0100 Received: from reedphoto.com ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Wed, 15 Mar 2006 23:00:51 +0100 Received: from kimr by reedphoto.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Wed, 15 Mar 2006 23:00:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: margaretmorrison@example.net From: Kim Reed <margaretmorrison@example.net> Subject: Re: make test fails on OS X (w/fix) Date: Wed, 15 Mar 2006 21:50:16 +0000 (UTC) Lines: 25 Message-ID: <margaretmorrison@example.net> References: <margaretmorrison@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: margaretmorrison@example.net X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/417.9 (KHTML, like Gecko) Safari/417.8) Sender: news <margaretmorrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dave Vasilevsky <djvasi <at> gmail.com> writes: > > Hi there, > > Thanks for the excellent tools, I don't know what I'd do without > Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request. > > I'm packaging libapreq2 for the Fink distribution (http:// > fink.sf.net), and I ran into a small bug. It appears that the library > test 'util' fails (test 36 and 37). This appears to be a result of > bad (?) optimization by GCC, compiling util.c with -O0 works fine. > Could you please modify the CFLAGS for that target accordingly? > > Dave Vasilevsky > Hi Dave, I am currently having trouble with the same problem. Could you show how you were able to fix the problem. My experience is a bit limited and I wasn't able to get it to work. Thanks Kim Reed From apreqmargaretmorrison@example.net Thu Mar 16 20:48:03 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 73006 invoked from network); 16 Mar 2006 20:47:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 16 Mar 2006 20:47:44 -0000 Received: (qmail 25221 invoked by uid 500); 16 Mar 2006 20:47:18 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 25192 invoked by uid 500); 16 Mar 2006 20:47:17 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 25181 invoked by uid 99); 16 Mar 2006 20:47:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2006 12:47:17 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2006 12:47:16 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FJzMW-000850-Ve for margaretmorrison@example.net; Thu, 16 Mar 2006 21:46:25 +0100 Received: from reedphoto.com ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Thu, 16 Mar 2006 21:46:24 +0100 Received: from kimr by reedphoto.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <margaretmorrison@example.net>; Thu, 16 Mar 2006 21:46:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: margaretmorrison@example.net From: Kim Reed <margaretmorrison@example.net> Subject: Re: make test fails on OS X (w/fix) Date: Thu, 16 Mar 2006 20:45:26 +0000 (UTC) Lines: 42 Message-ID: <margaretmorrison@example.net> References: <margaretmorrison@example.net> <margaretmorrison@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: margaretmorrison@example.net X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/417.9 (KHTML, like Gecko) Safari/417.8) Sender: news <margaretmorrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Kim Reed <kimr <at> reedphoto.com> writes: > > Dave Vasilevsky <djvasi <at> gmail.com> writes: > > > > > Hi there, > > > > Thanks for the excellent tools, I don't know what I'd do without > > Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request. > > > > I'm packaging libapreq2 for the Fink distribution (http:// > > fink.sf.net), and I ran into a small bug. It appears that the library > > test 'util' fails (test 36 and 37). This appears to be a result of > > bad (?) optimization by GCC, compiling util.c with -O0 works fine. > > Could you please modify the CFLAGS for that target accordingly? > > > > Dave Vasilevsky > > > > Hi Dave, > I am currently having trouble with the same problem. Could you show > how you were able to fix the problem. My experience is a bit limited > and I wasn't able to get it to work. > Thanks > Kim Reed > > Hi Kim, I just added "-O0" to the end of the CFLAGS line in library/t/Makefile.in . The Fink packages that I made are currently at http://vasi.webhop.org/trac/browser/fink/trunk/finkinfo/apache2 if you just want to use those. Good luck! Dave From apreqmargaretmorrison@example.net Tue Mar 28 15:13:22 2006 Return-Path: <apreqmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 79685 invoked from network); 28 Mar 2006 15:13:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 28 Mar 2006 15:13:20 -0000 Received: (qmail 64902 invoked by uid 500); 28 Mar 2006 15:13:03 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 64879 invoked by uid 500); 28 Mar 2006 15:13:03 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:margaretmorrison@example.net> List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Id: <apreq-dev.httpd.apache.org> Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 64868 invoked by uid 99); 28 Mar 2006 15:13:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Mar 2006 07:13:03 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO anansi.isogen.nl) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Mar 2006 07:13:01 -0800 Received: from Erik ([83.161.120.155]) by anansi.isogen.nl (8.13.4/8.13.1) with ESMTP id k2SFCelE023744 for <margaretmorrison@example.net>;
{'source': 'Apache Software Foundation Public Mail Archives'}