Re: PerlHandler serving / ?

2004-10-11 Thread Arne Skjaerholt
Actually, the error was due to my own incompetence (I found the error after having a sleep). I thought I had sent a reply to the list saying that, but it turns out I sent it to myself (dang webmail interface *grumble*). Sorry, bout that. Arne :wq -- Report problems:

[RELEASE CANDIDATE] Apache-Test-1.14

2004-10-11 Thread Geoffrey Young
a release candidate for Apache-Test 1.14 is now available. http://perl.apache.org/~geoff/Apache-Test-1.14-dev.tar.gz worthy of note is that this version ought to play nicely with Devel::Cover 0.49 with the use of -one-process, making it possible to get coverage results for mod_perl handlers.

[mp2] Apache2: undefined symbol: PL_localizing

2004-10-11 Thread MARTIN Pierre
Hello all, I am totally new to mod_perl mailing list so maybe i am not posting in the right place. I recently installed a debian woody on a pentium based box. I also managed to install Apache 2 (with php and some others modules) and it works perfectly as i was waiting it to do :) I red

Re: [mp2] Apache2: undefined symbol: PL_localizing

2004-10-11 Thread Stas Bekman
MARTIN Pierre wrote: Hello all, I am totally new to mod_perl mailing list so maybe i am not posting in the right place. You are posting it to the right place, Martin. I recently installed a debian woody on a pentium based box. I also managed to install Apache 2 (with php and some others modules)

Re: compilation failure with mod_perl-1.99_16 on OpenBSD 3.4

2004-10-11 Thread Kristian Elof Sørensen
Stas Bekman wrote: Kristian Elof Sørensen wrote: Kristian, please try the current cvs: http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution Thanks for the tip. However the compilation fails with the same error message at nearly the same line numbers as with

Re: [mp2] Apache2: undefined symbol: PL_localizing

2004-10-11 Thread MARTIN Pierre
Hello again, Here are the needed informations, this time CCed to all the mailing list: * make test gives me no errors until here: /usr/local/apache2/bin/httpd -d /data/misc/mod_perl-1.99_16/t -f /data/misc/mod_perl-1.99_16/t/conf/httpd.conf -D APACHE2 using Apache/2.0.52 (prefork MPM)

Re: [mp2] Apache2: undefined symbol: PL_localizing

2004-10-11 Thread Stas Bekman
MARTIN Pierre wrote: Hello again, Here are the needed informations, this time CCed to all the mailing list: [one more tip: when you reply on the top (which is not the best thing to do) please don't quote the whole previous email. The best technique is to remove all irrelevant parts of the

[MP2] Apache 2.0.52 + Net::LDAP (perl-ldap-0.3202) + Perl 5.6.1 = Segmentation fault (11)

2004-10-11 Thread Samuel Tran
Hi everybody, I am using: - mod_perl-1.99_16 / mod_perl-1.99_17-dev - Apache 2.0.52 (prefork MPM) - Net::LDAP (perl-ldap-0.3202) - Perl 5.6.1 (hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef

Re: [mp2] Apache2: undefined symbol: PL_localizing

2004-10-11 Thread MARTIN Pierre
Hmm, can you please paste the arguments you passed to perl Makefile.PL? I can't figure out why the above output doesn't show a link to libperl.so To configure i just did: perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 MP_INST_APACHE2=1 Is there a step before that i forgot?

Re: [mp2] Apache2: undefined symbol: PL_localizing

2004-10-11 Thread Stas Bekman
MARTIN Pierre wrote: Hmm, can you please paste the arguments you passed to perl Makefile.PL? I can't figure out why the above output doesn't show a link to libperl.so To configure i just did: perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 MP_INST_APACHE2=1 Is there a step before that i forgot?

Re: [MP2] Apache 2.0.52 + Net::LDAP (perl-ldap-0.3202) + Perl 5.6.1 = Segmentation fault (11)

2004-10-11 Thread Stas Bekman
Samuel Tran wrote: Hi everybody, I am using: - mod_perl-1.99_16 / mod_perl-1.99_17-dev - Apache 2.0.52 (prefork MPM) - Net::LDAP (perl-ldap-0.3202) - Perl 5.6.1 (hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef

Re: [mp2] Apache2: undefined symbol: PL_localizing

2004-10-11 Thread MARTIN Pierre
what happens if you do: nm src/modules/perl/mod_perl.so | grep PL_ U PL_curcop U PL_curinterp U PL_curpad U PL_curstack U PL_curstackinfo U PL_curstash U PL_defoutgv U PL_defstash U PL_diehook U PL_egid

Re: [mp2] Apache2: undefined symbol: PL_localizing

2004-10-11 Thread Stas Bekman
MARTIN Pierre wrote: what happens if you do: nm src/modules/perl/mod_perl.so | grep PL_ U PL_curcop OK, so we now know that perl wasn't linked statically. If it was it'd have been shown as resolved (usually T instead of U) and this: ldd -r src/modules/perl/mod_perl.so OUCH Output is

Re: [MP2] Apache 2.0.52 + Net::LDAP (perl-ldap-0.3202) + Perl 5.6.1 = Segmentation fault (11)

2004-10-11 Thread Sam T.
I recompiled Apache with --enable-maintainer-mode and mod_perl with MP_DEBUG=1. Perl was installed using the Debian packages. So I haven't recompiled it yet. However the logs are not much different when I try an LDAP bind again: [Mon Oct 11 16:44:36 2004] [notice] Apache/2.0.52 (Unix)

Re: [MP2] Apache 2.0.52 + Net::LDAP (perl-ldap-0.3202) + Perl 5.6.1 = Segmentation fault (11)

2004-10-11 Thread Stas Bekman
Sam T. wrote: I recompiled Apache with --enable-maintainer-mode and mod_perl with MP_DEBUG=1. Perl was installed using the Debian packages. So I haven't recompiled it yet. should be fine to start with. may be need to recompile it later. first get the core dump. However the logs are not much

Re: [mp2] Apache2: undefined symbol: PL_localizing

2004-10-11 Thread MARTIN Pierre
Please do: cd src/modules/perl/ rm mod_perl.so make -f Makefile.modperl Here we go: /data/misc/mod_perl-1.99_16/src/modules/perl# rm mod_perl.so /data/misc/mod_perl-1.99_16/src/modules/perl# make -f Makefile.modperl rm -f mod_perl.so cc -shared -L/usr/local/lib \ \ mod_perl.lo

Re: [mp2] Apache2: undefined symbol: PL_localizing

2004-10-11 Thread Stas Bekman
MARTIN Pierre wrote: Please do: cd src/modules/perl/ rm mod_perl.so make -f Makefile.modperl Here we go: /data/misc/mod_perl-1.99_16/src/modules/perl# rm mod_perl.so /data/misc/mod_perl-1.99_16/src/modules/perl# make -f Makefile.modperl rm -f mod_perl.so cc -shared -L/usr/local/lib \ [...]

Re: [mp2] Apache2: undefined symbol: PL_localizing

2004-10-11 Thread MARTIN Pierre
I think your linker is broken. I say that because it included the linking directives: -L/usr/lib/perl/5.6.1/CORE -lperl but the resulting mod_perl.so doesn't show it up. It should have complained if it didn't find it. Try upgrading your linker (cc) and try rebuilding mod_perl again.

Re: [mp2] Apache2: undefined symbol: PL_localizing

2004-10-11 Thread Stas Bekman
MARTIN Pierre wrote: I think your linker is broken. I say that because it included the linking directives: -L/usr/lib/perl/5.6.1/CORE -lperl but the resulting mod_perl.so doesn't show it up. It should have complained if it didn't find it. Try upgrading your linker (cc) and try rebuilding

Re: [mp2] Apache2: undefined symbol: PL_localizing

2004-10-11 Thread Nick Phillips
On 12/10/2004, at 11:46 AM, MARTIN Pierre wrote: I think your linker is broken. I say that because it included the linking directives: -L/usr/lib/perl/5.6.1/CORE -lperl but the resulting mod_perl.so doesn't show it up. It should have complained if it didn't find it. Try upgrading your linker

Re: [mp2] Apache 2.0.52 + Net::LDAP (perl-ldap-0.3202) + Perl 5.6.1 = Segmentation fault (11)

2004-10-11 Thread Sam T.
I've been reading the following doc on how to get a core dump file: http://perl.apache.org/docs/2.0/devel/debug/c.html#Analyzing_Dumped_Core_Files I followed the section: Getting the core File Dumped Then I run Apache as described: /usr/local/apache2/bin/httpd -DONE_PROCESS -DNO_DETACH Issue a

Re: [mp2] Apache 2.0.52 + Net::LDAP (perl-ldap-0.3202) + Perl 5.6.1 = Segmentation fault (11)

2004-10-11 Thread Stas Bekman
Sam T. wrote: I've been reading the following doc on how to get a core dump file: http://perl.apache.org/docs/2.0/devel/debug/c.html#Analyzing_Dumped_Core_Files I followed the section: Getting the core File Dumped Then I run Apache as described: /usr/local/apache2/bin/httpd -DONE_PROCESS

[mp2] Apache 2.0.52 + Net::LDAP (perl-ldap-0.3202) + Perl 5.6.1 = Segmentation fault (11)

2004-10-11 Thread Sam T.
-8-- Start Bug Report 8-- 1. Problem Description: Hi all, When I try to do a simple anonymous LDAP bind using Net::LDAP (perl-ldap-0.3202): my $ldap = Net::LDAP-new('myldapserver', port = '389') or die Unable to connect: $!\n; I get a Connection to host

Re: [mp2] Apache 2.0.52 + Net::LDAP (perl-ldap-0.3202) + Perl 5.6.1 = Segmentation fault (11)

2004-10-11 Thread Stas Bekman
That's better :) Now we know you aren't solaris :) Please read: http://perl.apache.org/docs/2.0/devel/debug/c.html#Getting_the_core_File_Dumped -- __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/

cvs commit: modperl-2.0/xs/APR/Bucket APR__Bucket.h

2004-10-11 Thread gozer
gozer 2004/10/11 15:54:07 Modified:xs/APR/Bucket APR__Bucket.h Log: Fix warning on SvUPGRADE() in void context: value computed is not used Revision ChangesPath 1.17 +1 -1 modperl-2.0/xs/APR/Bucket/APR__Bucket.h Index: APR__Bucket.h

cvs commit: modperl-2.0/xs/APR/OS APR__OS.h

2004-10-11 Thread gozer
gozer 2004/10/11 15:55:22 Modified:xs/APR/OS APR__OS.h Log: Make a proper case to U32 to avoid a warning Revision ChangesPath 1.5 +1 -1 modperl-2.0/xs/APR/OS/APR__OS.h Index: APR__OS.h

cvs commit: modperl-2.0/xs/APR/aprext Makefile.PL

2004-10-11 Thread gozer
gozer 2004/10/11 15:59:14 Modified:xs/APR/aprext Makefile.PL Log: BSD make needs an empty target, even if the target is specified as .PHONY Revision ChangesPath 1.6 +4 -0 modperl-2.0/xs/APR/aprext/Makefile.PL Index: Makefile.PL

cvs commit: modperl-2.0 Changes

2004-10-11 Thread gozer
gozer 2004/10/11 16:10:59 Modified:.Changes Log: BSD make needs an empty target, even if the target is specified as .PHONY Revision ChangesPath

Re: cvs commit: modperl-2.0 Changes

2004-10-11 Thread Philippe M. Chiasson
Dunno what happened to the rest of that email, but here is the diff: Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.510 retrieving revision 1.511 diff -u -I$Id -r1.510 -r1.511 --- Changes 6 Oct