jiesheng zhang wrote:
I am using the SuSE 9.1 which has apache 2.0 and mod_perl 1.99_12.
I did not see any Apache::DBI debug information in the apache error log.

jiesheng, please read the module's manpage: http://search.cpan.org/dist/Apache-DBI/DBI.pm

  To enable debugging the variable $Apache::DBI::DEBUG must be set.
  This can either be done in startup.pl or in the user script. Setting
  the variable to 1, just reports about a new connect. Setting the
  variable to 2 enables full debug output.

I guessED the the mod_perl is not complied with the
EVERYTHING=1 option. I then tried to compile the mod_perl to support Apache::DBI
The perl configuration command is like


perl Makefile.PL MP_APXS=/usr/sbin/apxs2 MP_CCOPTS="-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -Wall -fno-strict-aliasing -D_LARGEFILE_SOURCE" EVERYTHING=1

However, I got this error
------------------------------------------------------
Reading Makefile.PL args from @ARGV
MP_APXS = /usr/sbin/apxs2
MP_CCOPTS = -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -Wall -fno-strict-aliasing -D_LARGEFILE_SOURCE
Configuring Apache/2.0.49 mod_perl/1.99_13-dev Perl/v5.8.3
'EVERYTHING' is not a known MakeMaker parameter name.
-----------------------------------------------------------------------------


I also checked the mod_perl build instruction for mod_perl 2.0. It does not mention anything about the option "EVERYTHING".

Because it doesn't exist and not needed in mp2. Why were you trying to do that?


--
__________________________________________________________________
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

Reply via email to