|
Fwd: Re: Apache::DBI as a prerequisite: msg#00274apache.mod-perl
Could you please take a look at this problem? Thanks. ----- Forwarded message from Stas Bekman <stas@xxxxxxxxxx> ----- Date: Mon, 29 Jul 2002 09:56:05 +0800 From: Stas Bekman <stas@xxxxxxxxxx> Reply-To: Stas Bekman <stas@xxxxxxxxxx> Subject: Re: Apache::DBI as a prerequisite To: Simon Perrault <nomis80@xxxxxxxxxxxxxxx> Simon, please repost to the modperl list and we will discuss it there. Thanks. Simon Perrault wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > You wrote on 2002-04-30 to apache-modperl about Apache::DBI not being > testable > while not under mod_perl. You said this: > > >>That's normal. You cannot test modules that use mod_perl API without >>running them inside mod_perl server. I've the same problem as you've >>reported. This test suite is simple broken. >>... >>All Apache:: module authors should be moving to use the new Apache::Test >>framework soon, since it lets you test the code under running mod_perl >>server and works with both versions of httpd/mod_perl. > > > This is exactly my situation. I develop a module which requires Apache::DBI, > so I include it in my Makefile.PL like this: > > WriteMakefile( > 'PREREQ_PM' => { > 'Apache::DBI' => 0, > }, > ); > > But that prints a warning because Apache::DBI can't find Apache::module(), > which is only available under mod_perl. > > My question: > 1) Can you tell me (or guide me toward some information) how I can properly > add Apache::DBI as a prerequisite so that it doesn't print a warning (which > is the subjet of 90% of user emails)? > 2) How can I test my module running Apache::DBI with Apache::Test? > > Thanks a lot > > - -- > Simon Perreault <nomis80@xxxxxxxxxxxxxxx> > Web: http://www.linuxquebec.com/~nomis80 > PGP: $Web/nomis80.gpg > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE9QwYAqaCdwBMK2KkRAt+pAJ9knR94Tz5jmBFCyO/hL/fNWwHzmwCfZSl0 > 66Chb76wE6YcgR6JbxYpQEc= > =4xfy > -----END PGP SIGNATURE----- -- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com ----- End forwarded message ----- -- Simon Perreault <nomis80@xxxxxxxxxxxxxxx> Web: http://www.linuxquebec.com/~nomis80 PGP: $Web/nomis80.gpg |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [ANNOUNCE] Apache Hello World Benchmarks - Apache C API, HelloDB: 00274, Josh Chamas |
|---|---|
| Next by Date: | Re: make test problem error 111: 00274, Padraic Woods |
| Previous by Thread: | Subject: Re: hiding perl codei: 00274, Michael Robinton |
| Next by Thread: | Re: Fwd: Re: Apache::DBI as a prerequisite: 00274, Stas Bekman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |