Doug MacEachern wrote:

> On Sat, 22 Sep 2001, Stas Bekman wrote:
>  
> 
>>But I cannot do anything in gdb, I cannot gain gdb prompt.
>>
> 
> very odd.  is modperl built with MP_MAINTAINER=1 and apache
> --enable-maintainer-mode ?


Nope, but after doing that, there is no change.

 
> here's my build/config.pl:


it wasn't exactly the same, but I've rebuild everything using the setup 

similar to yours and the only difference we now have is the kernel. You 

use 2.2.x while gozer and I use 2.4.x. version. When do you plan on upgrading 

your kernel :)


I wrote this small utilitity to report when the server starts, so I 
won't exagerate when saying that it takes 5 minutes to start the server 
with -d. So the results are:

/home/stas/apache.org/test> perl util/ping_wait.pl
waiting for server to start: 00:44
The server has started to respond after 00:45

what's your count?

Here is the utility:

------------------------------------------
use lib qw(Apache-Test/lib);

use Apache::TestRun;
use Apache::TestConfig;

my $test_config = Apache::TestConfig->thaw;
my $start_time = time;
my $preamble = "\rwaiting for server to start: ";

while (1) {
     last if $test_config->{server}->ping;
     print $preamble, elapsed();
     sleep 1;
}
print "\nThe server has started to respond after ", elapsed(),"\n";

sub elapsed{ sprintf "%02d:%02d", (gmtime(time - $start_time))[1,0]; }
------------------------------------------

Here is the config that I've used for all 3 components (easier to 
compare than the output of build/config.pl):

httpd:
-------
make distclean
./buildconf
./configure --prefix=/home/stas/httpd/prefork                  \
--with-mpm=prefork                                             \
--enable-maintainer-mode                                       \
--enable-so --enable-shared                                    \
--enable-auth-anon  --enable-maintainer-mode                   \
--enable-auth-dbm   --enable-auth-db    --enable-auth-digest   \
--enable-file-cache --enable-echo       --enable-cache         \
--enable-mime-magic --enable-usertrack  --enable-vhost-alias   \
--enable-cern-meta  --enable-expires    --enable-headers       \
--enable-unique-id  --enable-proxy      --enable-proxy-connect \
--enable-proxy-ftp  --enable-proxy-http --enable-dav           \
--enable-suexec     --enable-cgi        --enable-dav-fs        \
--enable-rewrite    --enable-info                              \
--enable-ssl --with-ssl=/usr/include/

perl:
------
./Configure -des -Dprefix=/home/stas/perl/ithread \
-Dusethreads -Duseperlio -Doptimize='-g' -Dusedevel

mod_perl:
---------
make clean
/home/stas/perl/ithread/bin/perl5.7.2 Makefile.PL \
MP_GENERATE_XS=1                          \
MP_USE_DSO=1                              \
MP_DEBUG=1                                \
MP_TRACE=1                                \
MP_USE_GTOP=1                             \
MP_APXS=/home/stas/httpd/prefork/bin/apxs \
MP_CCOPTS='-DMP_IOBUFSIZE=16384 -Werror'  \
MP_MAINTAINER=1                           \
&& make && make test

I've tried to remove MP_USE_GTOP, but it doesn't change anything.

I wonder if I should try some other debugger that's not based on gdb. 
Which one should I try?


_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to