Could you please take a look at this problem? Thanks.

----- Forwarded message from Stas Bekman <[EMAIL PROTECTED]> -----
    Date: Mon, 29 Jul 2002 09:56:05 +0800
    From: Stas Bekman <[EMAIL PROTECTED]>
Reply-To: Stas Bekman <[EMAIL PROTECTED]>
 Subject: Re: Apache::DBI as a prerequisite
      To: Simon Perrault <[EMAIL PROTECTED]>

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 <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

----- End forwarded message -----


-- 
Simon Perreault <[EMAIL PROTECTED]>
Web: http://www.linuxquebec.com/~nomis80
PGP: $Web/nomis80.gpg

Reply via email to