This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
From modperl-return-8548-doom=kzsu.stanford.edu@apache.org Wed May 22 14:03:51 2002 Delivery-Date: Thu Aug 31 09:16:31 2000 Return-Path: <modperl-return-8548-doom=kzsu.stanford.edu@apache.org> Received: from locus.apache.org (locus.apache.org [63.211.145.10]) by kzsu.stanford.edu (8.9.3/8.9.3) with SMTP id JAA65473 for <doom@kzsu.stanford.edu>; Thu, 31 Aug 2000 09:16:30 -0700 (PDT) (envelope-from modperl-return-8548-doom=kzsu.stanford.edu@apache.org) Received: (qmail 26228 invoked by uid 500); 31 Aug 2000 16:15:33 -0000 Mailing-List: contact modperl-help@apache.org; run by ezmlm Precedence: bulk list-help: <mailto:modperl-help@apache.org> list-unsubscribe: <mailto:modperl-unsubscribe@apache.org> list-post: <mailto:modperl@apache.org> Delivered-To: mailing list modperl@apache.org Received: (qmail 26212 invoked from network); 31 Aug 2000 16:15:31 -0000 Message-ID: <39AE8437.FABEDA1F@eli.net> Date: Thu, 31 Aug 2000 09:13:43 -0700 From: "Todd Caine" <todd_caine@eli.net> Organization: Electric Lightwave, Inc. X-Mailer: Mozilla 4.61 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: mod_perl <modperl@apache.org> Subject: statically linked Perl Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi, folks. I'm having a problem building a statically linked perl (yes, I know, but I need it for XS debugging). MakeMaker is trying to link the static binary with libapreq.a, which is okay, but libapreq.a doesn't export a bootstrap symbol boot_libapreq(). The perlmain.c generated by by Makefile.aperl contains a call to the boot_libapreq() function. I assume this is because libapreq.a is found in the 5.6.0/auto directory. A quick check shows this is the only .a file in that directory. libapreq appears to be related to Apache and/or mod_perl (APache REQuest). I can build the static perl successfully if I manually delete the call in perlmain.c to boot_libapreq(). However, it's inconvenient and clearly bogus to have to do this every time. Any ideas? rat@sandbox ~/work/lib/vended/SNMP 913% make perl make -f Makefile.aperl perl Writing perlmain.c cd . && gcc -c -I/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE \ -DDEBUGGING -O -DVERSION=\"3.1.0_eli_bulkwalk\" \ -DXS_VERSION=\"3.1.0_eli_bulkwalk\" \ -I/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE perlmain.c make[1]: Entering directory `/home/rat/work/lib/vended/SNMP' gcc -L/usr/local/lib -L/usr/lib -L/usr/ccs/lib -o perl -O ./perlmain.o -R/usr/local/lib -R/usr/lib blib/arch/auto/SNMP/SNMP.a /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/libapreq/libapreq.a /usr/local/lib/perl5/5.6.0/sun4-solaris/auto/DynaLoader/DynaLoader.a /usr/local/lib/perl5/5.6.0/sun4-solaris/CORE/libperl.a `cat blib/arch/auto/SNMP/extralibs.all` -lsfio -lsocket -lnsl -ldl -lm -lc -lcrypt -lsec Undefined first referenced symbol in file boot_libapreq ./perlmain.o ld: fatal: Symbol referencing errors. No output written to perl collect2: ld returned 1 exit status make[1]: *** [perl] Error 1 make[1]: Leaving directory `/home/rat/work/lib/vended/SNMP' make: *** [perl] Error 2 rat@sandbox ~/work/lib/vended/SNMP 919% find /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/ -name '*.a' -print /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/libapreq/libapreq.a From modperl-return-9080-doom=kzsu.stanford.edu@apache.org Wed May 22 14:03:51 2002 Delivery-Date: Fri Sep 15 03:52:05 2000 Return-Path: <modperl-return-9080-doom=kzsu.stanford.edu@apache.org> Received: from locus.apache.org (locus.apache.org [63.211.145.10]) by kzsu.stanford.edu (8.9.3/8.9.3) with SMTP id DAA16325 for <doom@kzsu.stanford.edu>; Fri, 15 Sep 2000 03:52:05 -0700 (PDT) (envelope-from modperl-return-9080-doom=kzsu.stanford.edu@apache.org) Received: (qmail 15169 invoked by uid 500); 15 Sep 2000 10:51:36 -0000 Mailing-List: contact modperl-help@apache.org; run by ezmlm Precedence: bulk list-help: <mailto:modperl-help@apache.org> list-unsubscribe: <mailto:modperl-unsubscribe@apache.org> list-post: <mailto:modperl@apache.org> Delivered-To: mailing list modperl@apache.org Received: (qmail 14696 invoked from network); 15 Sep 2000 10:51:14 -0000 Date: Fri, 15 Sep 2000 13:50:40 +0300 (EEST) From: Antti Linno <alligator@all.ee> To: modperl@apache.org Subject: Static mod_perl+modules Message-ID: <Pine.LNX.4.04.10009151348270.15502-100000@all.ee> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hallo. As I was having problems with mod_perl as module and mysql+dbi, I was told to install mod_perl statically to apache and php as a module. I looked at install instructions and found static install or module install. But with static install how and when do I install PHP as a module. Any instructions, examples would help. Thanking in advance, Antti From modperl-return-9086-doom=kzsu.stanford.edu@apache.org Wed May 22 14:03:51 2002 Delivery-Date: Fri Sep 15 06:36:23 2000 Return-Path: <modperl-return-9086-doom=kzsu.stanford.edu@apache.org> Received: from locus.apache.org (locus.apache.org [63.211.145.10]) by kzsu.stanford.edu (8.9.3/8.9.3) with SMTP id GAA16722 for <doom@kzsu.stanford.edu>; Fri, 15 Sep 2000 06:36:23 -0700 (PDT) (envelope-from modperl-return-9086-doom=kzsu.stanford.edu@apache.org) Received: (qmail 98073 invoked by uid 500); 15 Sep 2000 13:35:49 -0000 Mailing-List: contact modperl-help@apache.org; run by ezmlm Precedence: bulk list-help: <mailto:modperl-help@apache.org> list-unsubscribe: <mailto:modperl-unsubscribe@apache.org> list-post: <mailto:modperl@apache.org> Delivered-To: mailing list modperl@apache.org Received: (qmail 98014 invoked from network); 15 Sep 2000 13:35:47 -0000 Date: Fri, 15 Sep 2000 06:35:00 -0700 From: Paul Lindner <plindner@redhat.com> To: Antti Linno <alligator@all.ee> Cc: modperl@apache.org Subject: Re: Static mod_perl+modules Message-ID: <20000915063500.D26055@redhat.com> Reply-To: plindner@redhat.com Mail-Followup-To: Antti Linno <alligator@all.ee>, modperl@apache.org References: <Pine.LNX.4.04.10009151348270.15502-100000@all.ee> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <Pine.LNX.4.04.10009151348270.15502-100000@all.ee>; from alligator@all.ee on Fri, Sep 15, 2000 at 01:50:40PM +0300 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Fri, Sep 15, 2000 at 01:50:40PM +0300, Antti Linno wrote: > Hallo. > As I was having problems with mod_perl as module and mysql+dbi, I was > told to install mod_perl statically to apache and php as a module. I > looked at install instructions and found static install or module install. > But with static install how and when do I install PHP as a module. > Any instructions, examples would help. > Thanking in advance, We have what we call the apache-heavy src RPM. It's 1.3.12 + php 4.0.2 + mod_perl 1.24 + oracle, all static. If anyone is interested I can put it up for ftp.. -- Paul Lindner plindner@redhat.com Red Hat Inc. From modperl-return-9110-doom=kzsu.stanford.edu@apache.org Wed May 22 14:03:51 2002 Delivery-Date: Fri Sep 15 17:38:22 2000 Return-Path: <modperl-return-9110-doom=kzsu.stanford.edu@apache.org> Received: from locus.apache.org (locus.apache.org [63.211.145.10]) by kzsu.stanford.edu (8.9.3/8.9.3) with SMTP id RAA21784 for <doom@kzsu.stanford.edu>; Fri, 15 Sep 2000 17:38:22 -0700 (PDT) (envelope-from modperl-return-9110-doom=kzsu.stanford.edu@apache.org) Received: (qmail 69277 invoked by uid 500); 16 Sep 2000 00:37:54 -0000 Mailing-List: contact modperl-help@apache.org; run by ezmlm Precedence: bulk list-help: <mailto:modperl-help@apache.org> list-unsubscribe: <mailto:modperl-unsubscribe@apache.org> list-post: <mailto:modperl@apache.org> Delivered-To: mailing list modperl@apache.org Received: (qmail 69265 invoked from network); 16 Sep 2000 00:37:52 -0000 Sender: legolas Message-ID: <39C22CEC.3F24D095@akio-solutions.com> Date: Fri, 15 Sep 2000 16:06:36 +0200 From: Nouguier <olivier@akio-solutions.com> X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i686) X-Accept-Language: en MIME-Version: 1.0 To: Antti Linno <alligator@all.ee> CC: modperl@apache.org Subject: Re: Static mod_perl+modules References: <Pine.LNX.4.04.10009151348270.15502-100000@all.ee> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Antti Linno wrote: > Hallo. > As I was having problems with mod_perl as module and mysql+dbi, I was > told to install mod_perl statically to apache and php as a module. I > looked at install instructions and found static install or module install. > But with static install how and when do I install PHP as a module. > Any instructions, examples would help. > Thanking in advance, > Antti Hi, When you use configure for your httpd and share core and php module As example my command to add include module ./configure \ --prefix=/usr/local/httpd_keyfactor \ --enable-module=so --enable-module=include \ --enable-module=ssl --activate-module=src/modules/perl/libperl.a \ --enable-module=perl --datadir=/home/httpd_keyfactor Hope it's help you... From modperl-return-9101-doom=kzsu.stanford.edu@apache.org Wed May 22 14:03:51 2002 Delivery-Date: Fri Sep 15 13:31:21 2000 Return-Path: <modperl-return-9101-doom=kzsu.stanford.edu@apache.org> Received: from locus.apache.org (locus.apache.org [63.211.145.10]) by kzsu.stanford.edu (8.9.3/8.9.3) with SMTP id NAA19868 for <doom@kzsu.stanford.edu>; Fri, 15 Sep 2000 13:31:21 -0700 (PDT) (envelope-from modperl-return-9101-doom=kzsu.stanford.edu@apache.org) Received: (qmail 22203 invoked by uid 500); 15 Sep 2000 20:31:01 -0000 Mailing-List: contact modperl-help@apache.org; run by ezmlm Precedence: bulk list-help: <mailto:modperl-help@apache.org> list-unsubscribe: <mailto:modperl-unsubscribe@apache.org> list-post: <mailto:modperl@apache.org> Delivered-To: mailing list modperl@apache.org Received: (qmail 22187 invoked from network); 15 Sep 2000 20:31:01 -0000 Date: Fri, 15 Sep 2000 13:30:30 -0700 From: Paul Lindner <plindner@redhat.com> To: Antti Linno <alligator@all.ee>, modperl@apache.org Subject: Re: Static mod_perl+modules Message-ID: <20000915133030.M20347@redhat.com> Reply-To: plindner@redhat.com Mail-Followup-To: Antti Linno <alligator@all.ee>, modperl@apache.org References: <Pine.LNX.4.04.10009151348270.15502-100000@all.ee> <20000915063500.D26055@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000915063500.D26055@redhat.com>; from plindner@redhat.com on Fri, Sep 15, 2000 at 06:35:00AM -0700 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Fri, Sep 15, 2000 at 06:35:00AM -0700, Paul Lindner wrote: > On Fri, Sep 15, 2000 at 01:50:40PM +0300, Antti Linno wrote: > > Hallo. > > As I was having problems with mod_perl as module and mysql+dbi, I was > > told to install mod_perl statically to apache and php as a module. I > > looked at install instructions and found static install or module install. > > But with static install how and when do I install PHP as a module. > > Any instructions, examples would help. > > Thanking in advance, > > We have what we call the apache-heavy src RPM. It's 1.3.12 + php > 4.0.2 + mod_perl 1.24 + oracle, all static. If anyone is interested I > can put it up for ftp.. Okay, since there is interest out there, see http://people.redhat.com/plindner/apache-heavy-1.3.12-1.src.rpm Cheers. Then install it; you might want to play around with the spec file, I have a few defines in there to turn on/off some options in PHP etc... I can say that it's been working pretty well for our site. We haven't pushed the PHP end to it's limit though. -- Paul Lindner plindner@redhat.com Red Hat Inc. From modperl-return-9173-doom=kzsu.stanford.edu@apache.org Wed May 22 14:03:51 2002 Delivery-Date: Tue Sep 19 14:46:32 2000 Return-Path: <modperl-return-9173-doom=kzsu.stanford.edu@apache.org> Received: from locus.apache.org (locus.apache.org [63.211.145.10]) by kzsu.stanford.edu (8.9.3/8.9.3) with SMTP id OAA52889 for <doom@kzsu.stanford.edu>; Tue, 19 Sep 2000 14:46:32 -0700 (PDT) (envelope-from modperl-return-9173-doom=kzsu.stanford.edu@apache.org) Received: (qmail 64285 invoked by uid 500); 19 Sep 2000 21:45:29 -0000 Mailing-List: contact modperl-help@apache.org; run by ezmlm Precedence: bulk list-help: <mailto:modperl-help@apache.org> list-unsubscribe: <mailto:modperl-unsubscribe@apache.org> list-post: <mailto:modperl@apache.org> Delivered-To: mailing list modperl@apache.org Received: (qmail 64274 invoked from network); 19 Sep 2000 21:45:28 -0000 Date: 19 Sep 2000 15:45:28 -0600 Message-ID: <20000919214528.14971.qmail@gorn.americom.com> From: rwk@americom.com To: modperl@apache.org Subject: Core Dump on "use DBI" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I am running Apache/1.3.9 (Unix) (Red Hat/Linux 6.2) and DBI-1.14. When I include a "use DBI" in the startup.pl file, Apache code dumps. A "use DBI" in cgi scripts works OK. However, as I need to pre-load a few arrays with data to be shared by the child processes, I need to do it in the startup file. Note: httpd only code dumps when run with -X. Without -X, it runs the startup file ok, but seems to die before spawning any files, but in this case, it does not print "Segmentation fault (core dumped)" and there is no core file. Has anyone else experienced this? Thanks, Dick P.S. Is there a DBI mail-list where I can also post this? From modperl-return-9184-doom=kzsu.stanford.edu@apache.org Wed May 22 14:03:51 2002 Delivery-Date: Wed Sep 20 10:30:57 2000 Return-Path: <modperl-return-9184-doom=kzsu.stanford.edu@apache.org> Received: from locus.apache.org (locus.apache.org [63.211.145.10]) by kzsu.stanford.edu (8.9.3/8.9.3) with SMTP id KAA59020 for <doom@kzsu.stanford.edu>; Wed, 20 Sep 2000 10:30:57 -0700 (PDT) (envelope-from modperl-return-9184-doom=kzsu.stanford.edu@apache.org) Received: (qmail 78381 invoked by uid 500); 20 Sep 2000 17:20:21 -0000 Mailing-List: contact modperl-help@apache.org; run by ezmlm Precedence: bulk list-help: <mailto:modperl-help@apache.org> list-unsubscribe: <mailto:modperl-unsubscribe@apache.org> list-post: <mailto:modperl@apache.org> Delivered-To: mailing list modperl@apache.org Delivered-To: moderator for modperl@apache.org Received: (qmail 65573 invoked from network); 20 Sep 2000 07:08:10 -0000 Message-ID: <000701c022d2$2dc362f0$6401a8c0@nabakismet> From: "Kyle Dawkins" <kyle@centralparksoftware.com> To: <rwk@americom.com> Cc: <modperl@apache.org> References: <20000919214528.14971.qmail@gorn.americom.com> <001e01c022a9$763b0250$6401a8c0@nabakismet> <20000920052150.28630.qmail@gorn.americom.com> Subject: Re: Core Dump on "use DBI" Date: Wed, 20 Sep 2000 03:12:46 -0400 Organization: Central Park Software.com MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Dick et al. Sorry for the longish multi-quoted post but I wanted to just say for anyone interested that 1) Dick is not the only one having this problem, 2) Many search results on geocrawler for DBI and segfault or SEGV or SIGSEGV or "core dump" show that the problem is widespread 3) I couldn't find a decent posting anywhere outlining what to do to solve it. So I took a look at my system. I was using a LinuxPPC 2000 install on a PowerBook (I can't recommend this config more highly!), and had apache 1.3.12 and mod_perl 1.21, both installed as RPMs. I figured that mod_perl as an RPM might not be such a hot idea (remember reading about problems with mod_perl and DSO) so I downloaded fresh sources for apache 1.3.12, mod_perl 1.24 and whatever the latest perl is that ISN'T 5.6 (something like 5.005003, I recall). First I built perl and installed it, then apache, then mod_perl (which re-built Apache for me with mod_perl statically linked in). Everything works perfectly. And, strangely enough, a LOT faster. Weird. Anyway, to Dick and anyone else having this problem, I hope this helps. Kyle kyle@centralparksoftware.com > > Hey > > > > It's so weird that I read your post this morning and then > > this afternoon I immediately started having the same problem. > > > > I try to preload Apache::DBI at startup and it core dumps if I run with -X. > > > > Please, if someone emails you the solution, could you pass it along to me > > too? > > > > Many thanks > > > > Kyle > > kyle@hbe.ca > > > > ----- Original Message ----- > > From: <rwk@americom.com> > > To: <modperl@apache.org> > > Sent: Tuesday, September 19, 2000 17:45 > > Subject: Core Dump on "use DBI" > > > > > > > I am running Apache/1.3.9 (Unix) (Red Hat/Linux 6.2) and DBI-1.14. > > > > > > When I include a "use DBI" in the startup.pl file, Apache code dumps. > > > > > > A "use DBI" in cgi scripts works OK. However, as I need to pre-load a > > > few arrays with data to be shared by the child processes, I need to do > > > it in the startup file. > > > > > > Note: httpd only code dumps when run with -X. Without -X, it runs the > > > startup file ok, but seems to die before spawning any files, but in this > > > case, it does not print "Segmentation fault (core dumped)" and there is > > > no core file. > > > > > > Has anyone else experienced this? > > > > > > Thanks, > > > Dick > > > > > > P.S. Is there a DBI mail-list where I can also post this? > > > > > > > > > > > From modperl-return-9180-doom=kzsu.stanford.edu@apache.org Wed May 22 14:03:51 2002 Delivery-Date: Wed Sep 20 02:02:59 2000 Return-Path: <modperl-return-9180-doom=kzsu.stanford.edu@apache.org> Received: from locus.apache.org (locus.apache.org [63.211.145.10]) by kzsu.stanford.edu (8.9.3/8.9.3) with SMTP id CAA57215 for <doom@kzsu.stanford.edu>; Wed, 20 Sep 2000 02:02:59 -0700 (PDT) (envelope-from modperl-return-9180-doom=kzsu.stanford.edu@apache.org) Received: (qmail 23806 invoked by uid 500); 20 Sep 2000 09:01:53 -0000 Mailing-List: contact modperl-help@apache.org; run by ezmlm Precedence: bulk list-help: <mailto:modperl-help@apache.org> list-unsubscribe: <mailto:modperl-unsubscribe@apache.org> list-post: <mailto:modperl@apache.org> Delivered-To: mailing list modperl@apache.org Received: (qmail 23778 invoked from network); 20 Sep 2000 09:01:51 -0000 Date: 20 Sep 2000 03:01:50 -0600 Message-ID: <20000920090150.31113.qmail@gorn.americom.com> From: rwk@americom.com To: kyle@centralparksoftware.com CC: modperl@apache.org In-reply-to: <000701c022d2$2dc362f0$6401a8c0@nabakismet> (kyle@centralparksoftware.com) Subject: Re: Core Dump on "use DBI" References: <20000919214528.14971.qmail@gorn.americom.com> <001e01c022a9$763b0250$6401a8c0@nabakismet> <20000920052150.28630.qmail@gorn.americom.com> <000701c022d2$2dc362f0$6401a8c0@nabakismet> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I did the same thing (static linking) and it now also works. FYI, I was using the Apache httpd out of the box from Redhat. It had been compiled with http_core, mod_so and no other modules. All modules (including mod_perl) were dynamically loaded in the httpd.conf file. I have a feeling that the bug only exists with DSO's. Dick > Dick et al. > > Sorry for the longish multi-quoted post but I wanted to just say for anyone > interested that > > 1) Dick is not the only one having this problem, > 2) Many search results on geocrawler for DBI and segfault or SEGV or SIGSEGV > or > "core dump" show that the problem is widespread > 3) I couldn't find a decent posting anywhere outlining what to do to solve > it. > > So I took a look at my system. I was using a LinuxPPC 2000 install on a > PowerBook (I can't recommend this config more highly!), and had apache > 1.3.12 and mod_perl 1.21, both installed as RPMs. I figured that mod_perl as > an RPM might not be such a hot idea (remember reading about problems with > mod_perl and DSO) so I downloaded fresh sources for apache 1.3.12, mod_perl > 1.24 and whatever the latest perl is that ISN'T 5.6 (something like > 5.005003, I recall). First I built perl and installed it, then apache, then > mod_perl (which re-built Apache for me with mod_perl statically linked in). > > Everything works perfectly. And, strangely enough, a LOT faster. Weird. It only supposed to be 5% faster (at run-time). > Anyway, to Dick and anyone else having this problem, I hope this helps. > > Kyle > kyle@centralparksoftware.com > > > > > Hey > > > > > > It's so weird that I read your post this morning and then > > > this afternoon I immediately started having the same problem. > > > > > > I try to preload Apache::DBI at startup and it core dumps if I run > with -X. > > > > > > Please, if someone emails you the solution, could you pass it along to > me > > > too? > > > > > > Many thanks > > > > > > Kyle > > > kyle@hbe.ca > > > > > > ----- Original Message ----- > > > From: <rwk@americom.com> > > > To: <modperl@apache.org> > > > Sent: Tuesday, September 19, 2000 17:45 > > > Subject: Core Dump on "use DBI" > > > > > > > > > > I am running Apache/1.3.9 (Unix) (Red Hat/Linux 6.2) and DBI-1.14. > > > > > > > > When I include a "use DBI" in the startup.pl file, Apache code dumps. > > > > > > > > A "use DBI" in cgi scripts works OK. However, as I need to pre-load a > > > > few arrays with data to be shared by the child processes, I need to do > > > > it in the startup file. > > > > > > > > Note: httpd only code dumps when run with -X. Without -X, it runs the > > > > startup file ok, but seems to die before spawning any files, but in > this > > > > case, it does not print "Segmentation fault (core dumped)" and there > is > > > > no core file. > > > > > > > > Has anyone else experienced this? > > > > > > > > Thanks, > > > > Dick > > > > > > > > P.S. Is there a DBI mail-list where I can also post this? > > > > > > > > > > > > > > > > > From modperl-return-9384-doom=kzsu.stanford.edu@apache.org Wed May 22 14:03:51 2002 Delivery-Date: Wed Sep 27 11:27:56 2000 Return-Path: <modperl-return-9384-doom=kzsu.stanford.edu@apache.org> Received: from locus.apache.org (locus.apache.org [63.211.145.10]) by kzsu.stanford.edu (8.9.3/8.9.3) with SMTP id LAA20519 for <doom@kzsu.stanford.edu>; Wed, 27 Sep 2000 11:27:56 -0700 (PDT) (envelope-from modperl-return-9384-doom=kzsu.stanford.edu@apache.org) Received: (qmail 14399 invoked by uid 500); 27 Sep 2000 18:27:27 -0000 Mailing-List: contact modperl-help@apache.org; run by ezmlm Precedence: bulk list-help: <mailto:modperl-help@apache.org> list-unsubscribe: <mailto:modperl-unsubscribe@apache.org> list-post: <mailto:modperl@apache.org> Delivered-To: mailing list modperl@apache.org Received: (qmail 14333 invoked from network); 27 Sep 2000 18:27:25 -0000 X-Authentication-Warning: mojo.covalent.net: dougm owned process doing -bs Date: Wed, 27 Sep 2000 11:27:12 -0700 (PDT) From: Doug MacEachern <dougm@covalent.net> To: Todd Caine <todd_caine@eli.net> cc: mod_perl <modperl@apache.org> Subject: Re: statically linked Perl In-Reply-To: <39AE8437.FABEDA1F@eli.net> Message-ID: <Pine.LNX.4.10.10009271126040.3328-100000@mojo.covalent.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Thu, 31 Aug 2000, Todd Caine wrote: > Hi, folks. > > I'm having a problem building a statically linked perl (yes, > I know, but I > need it for XS debugging). MakeMaker is trying to link the > static binary > with libapreq.a, which is okay, but libapreq.a doesn't > export a bootstrap > symbol boot_libapreq(). The perlmain.c generated by by > Makefile.aperl > contains a call to the boot_libapreq() function. > > I assume this is because libapreq.a is found in the > 5.6.0/auto directory. > A quick check shows this is the only .a file in that > directory. libapreq > appears to be related to Apache and/or mod_perl (APache > REQuest). > > I can build the static perl successfully if I manually > delete the call in > perlmain.c to boot_libapreq(). However, it's inconvenient > and clearly > bogus to have to do this every time. you either have to do that or just delete: > /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/libapreq/libapreq.a it's only installed for C modules to link against, but the next version of libapreq will probably not do that, since there is autoconf support in place for C module authors. From modperl-return-9804-doom=kzsu.stanford.edu@apache.org Wed May 22 14:03:51 2002 Delivery-Date: Tue Oct 10 11:43:18 2000 Return-Path: <modperl-return-9804-doom=kzsu.stanford.edu@apache.org> Received: from locus.apache.org (locus.apache.org [63.211.145.10]) by kzsu.stanford.edu (8.9.3/8.9.3) with SMTP id LAA51743 for <doom@kzsu.stanford.edu>; Tue, 10 Oct 2000 11:43:18 -0700 (PDT) (envelope-from modperl-return-9804-doom=kzsu.stanford.edu@apache.org) Received: (qmail 42381 invoked by uid 500); 10 Oct 2000 18:42:24 -0000 Mailing-List: contact modperl-help@apache.org; run by ezmlm Precedence: bulk list-help: <mailto:modperl-help@apache.org> list-unsubscribe: <mailto:modperl-unsubscribe@apache.org> list-post: <mailto:modperl@apache.org> Delivered-To: mailing list modperl@apache.org Delivered-To: moderator for modperl@apache.org Received: (qmail 7467 invoked from network); 10 Oct 2000 12:20:43 -0000 Date: Tue, 10 Oct 2000 14:20:22 +0200 (CEST) From: Peter Gebauer <peter@restamus.org> X-Sender: peter@coke.restamus To: modperl@apache.org Subject: Compiling apache staticly with mod_perl. Message-ID: <Pine.LNX.4.21.0010101410560.9230-100000@coke.restamus> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hey! I've been trying to compile apache together with mod_perl using this configuration: ./configure --prefix=/home/httpd --activate-module=src/modules/perl/libperl.a I get several errors during the make where the compiler complains about mod_perl reffering to undefined functions. The INSTALL and README's for mod_perl are not easy to follow and I've been trying to do them step by step, which is not easy when the document is written poorly. It's hard to know what is "by-hand-installation" and what is done automaticly. I have compiled a lot of stuff staticly with Apache and they all work fine, only mod_perl has given me problems. Since I have these other modules I need as well, I can't use the Makefiles for Apache that mod_perl creates when answering YES on the "Create httpd" question. I do not have LWP installed, but the configuration files said it wasn't needed. Did anybody compile Apache + mod_perl + other modules or have documentation that is written for this specific purpouse (since the INSTALL file that comes with mod_perl is totally insufficient)? Thanks! From modperl-return-9805-doom=kzsu.stanford.edu@apache.org Wed May 22 14:03:51 2002 Delivery-Date: Tue Oct 10 11:47:01 2000 Return-Path: <modperl-return-9805-doom=kzsu.stanford.edu@apache.org> Received: from locus.apache.org (locus.apache.org [63.211.145.10]) by kzsu.stanford.edu (8.9.3/8.9.3) with SMTP id LAA51765 for <doom@kzsu.stanford.edu>; Tue, 10 Oct 2000 11:47:01 -0700 (PDT) (envelope-from modperl-return-9805-doom=kzsu.stanford.edu@apache.org) Received: (qmail 46080 invoked by uid 500); 10 Oct 2000 18:46:26 -0000 Mailing-List: contact modperl-help@apache.org; run by ezmlm Precedence: bulk list-help: <mailto:modperl-help@apache.org> list-unsubscribe: <mailto:modperl-unsubscribe@apache.org> list-post: <mailto:modperl@apache.org> Delivered-To: mailing list modperl@apache.org Received: (qmail 46057 invoked from network); 10 Oct 2000 18:46:22 -0000 Message-ID: <A14A9ADE3BEAD311AF95009027B6FBE0860B2E@corpex.laserlink.net> From: Geoffrey Young <gyoung@laserlink.net> To: "'Peter Gebauer'" <peter@restamus.org>, modperl@apache.org Subject: RE: Compiling apache staticly with mod_perl. Date: Tue, 10 Oct 2000 14:43:36 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Peter Gebauer [mailto:peter@restamus.org] > Sent: Tuesday, October 10, 2000 8:20 AM > To: modperl@apache.org > Subject: Compiling apache staticly with mod_perl. > [snip] > > Did anybody compile Apache + mod_perl + other modules or have > documentation that is written for this specific purpouse (since the > INSTALL file that comes with mod_perl is totally insufficient)? http://perl.apache.org/guide/install.html in general, the guide full of lots of good information for mod_perl users... HTH --Geoff > > Thanks! > From modperl-return-9806-doom=kzsu.stanford.edu@apache.org Wed May 22 14:03:51 2002 Delivery-Date: Tue Oct 10 11:56:55 2000 Return-Path: <modperl-return-9806-doom=kzsu.stanford.edu@apache.org> Received: from locus.apache.org (locus.apache.org [63.211.145.10]) by kzsu.stanford.edu (8.9.3/8.9.3) with SMTP id LAA51820 for <doom@kzsu.stanford.edu>; Tue, 10 Oct 2000 11:56:54 -0700 (PDT) (envelope-from modperl-return-9806-doom=kzsu.stanford.edu@apache.org) Received: (qmail 53142 invoked by uid 500); 10 Oct 2000 18:55:44 -0000 Mailing-List: contact modperl-help@apache.org; run by ezmlm Precedence: bulk list-help: <mailto:modperl-help@apache.org> list-unsubscribe: <mailto:modperl-unsubscribe@apache.org> list-post: <mailto:modperl@apache.org> Delivered-To: mailing list modperl@apache.org Received: (qmail 53115 invoked from network); 10 Oct 2000 18:55:33 -0000 Date: Tue, 10 Oct 2000 11:54:57 -0700 From: Paul Lindner <plindner@redhat.com> To: Geoffrey Young <gyoung@laserlink.net> Cc: "'Peter Gebauer'" <peter@restamus.org>, modperl@apache.org Subject: Re: Compiling apache staticly with mod_perl. Message-ID: <20001010115457.N10463@redhat.com> Reply-To: plindner@redhat.com Mail-Followup-To: Geoffrey Young <gyoung@laserlink.net>, 'Peter Gebauer' <peter@restamus.org>, modperl@apache.org References: <A14A9ADE3BEAD311AF95009027B6FBE0860B2E@corpex.laserlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <A14A9ADE3BEAD311AF95009027B6FBE0860B2E@corpex.laserlink.net>; from gyoung@laserlink.net on Tue, Oct 10, 2000 at 02:43:36PM -0400 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Tue, Oct 10, 2000 at 02:43:36PM -0400, Geoffrey Young wrote: > > > > -----Original Message----- > > From: Peter Gebauer [mailto:peter@restamus.org] > > Sent: Tuesday, October 10, 2000 8:20 AM > > To: modperl@apache.org > > Subject: Compiling apache staticly with mod_perl. > > > [snip] > > > > Did anybody compile Apache + mod_perl + other modules or have > > documentation that is written for this specific purpouse (since the > > INSTALL file that comes with mod_perl is totally insufficient)? > > http://perl.apache.org/guide/install.html > > in general, the guide full of lots of good information for mod_perl users... Also see the following URLs http://people.redhat.com/plindner/apache/apache-heavy-1.3.12-3.i386.rpm http://people.redhat.com/plindner/apache/apache-heavy-1.3.12-3.src.rpm For a statically linked RPM. -- Paul Lindner plindner@redhat.com Red Hat Inc. From modperl-return-9821-doom=kzsu.stanford.edu@apache.org Wed May 22 14:03:51 2002 Delivery-Date: Wed Oct 11 04:10:35 2000 Return-Path: <modperl-return-9821-doom=kzsu.stanford.edu@apache.org> Received: from locus.apache.org (locus.apache.org [63.211.145.10]) by kzsu.stanford.edu (8.9.3/8.9.3) with SMTP id EAA59240 for <doom@kzsu.stanford.edu>; Wed, 11 Oct 2000 04:10:34 -0700 (PDT) (envelope-from modperl-return-9821-doom=kzsu.stanford.edu@apache.org) Received: (qmail 53916 invoked by uid 500); 11 Oct 2000 10:54:25 -0000 Mailing-List: contact modperl-help@apache.org; run by ezmlm Precedence: bulk list-help: <mailto:modperl-help@apache.org> list-unsubscribe: <mailto:modperl-unsubscribe@apache.org> list-post: <mailto:modperl@apache.org> Delivered-To: mailing list modperl@apache.org Received: (qmail 53877 invoked from network); 11 Oct 2000 10:54:24 -0000 Date: Wed, 11 Oct 2000 12:54:02 +0200 (CEST) From: Peter Gebauer <peter@restamus.org> X-Sender: peter@coke.restamus To: Paul Lindner <plindner@redhat.com> cc: modperl@apache.org Subject: Re: Compiling apache staticly with mod_perl. In-Reply-To: <20001010115457.N10463@redhat.com> Message-ID: <Pine.LNX.4.21.0010111252040.8270-100000@coke.restamus> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Tue, 10 Oct 2000, Paul Lindner wrote: > On Tue, Oct 10, 2000 at 02:43:36PM -0400, Geoffrey Young wrote: > > > > > > > -----Original Message----- > > > From: Peter Gebauer [mailto:peter@restamus.org] > > > Sent: Tuesday, October 10, 2000 8:20 AM > > > To: modperl@apache.org > > > Subject: Compiling apache staticly with mod_perl. > > > > > [snip] > > > > > > Did anybody compile Apache + mod_perl + other modules or have > > > documentation that is written for this specific purpouse (since the > > > INSTALL file that comes with mod_perl is totally insufficient)? > > > > http://perl.apache.org/guide/install.html > > > > in general, the guide full of lots of good information for mod_perl users... > > Also see the following URLs > > http://people.redhat.com/plindner/apache/apache-heavy-1.3.12-3.i386.rpm > http://people.redhat.com/plindner/apache/apache-heavy-1.3.12-3.src.rpm > > For a statically linked RPM. Thank's to everybody who helped me! I have modperl activated and I still have my PHP and SSL support. (yeah!) I use Slackware so RPM's aren't that fun to use in a system solely based on tarballs and source codes :-) Regards Peter From modperl-return-23570-doom=kzsu.stanford.edu@perl.apache.org Wed May 22 14:03:51 2002 Delivery-Date: Thu Mar 14 00:26:32 2002 Return-Path: <modperl-return-23570-doom=kzsu.stanford.edu@perl.apache.org> Received: from apache.org (daedalus.apache.org [63.251.56.142]) by kzsu.stanford.edu (8.11.6/8.11.4) with SMTP id g2E8QVU72021 for <doom@kzsu.stanford.edu>; Thu, 14 Mar 2002 00:26:31 -0800 (PST) (envelope-from modperl-return-23570-doom=kzsu.stanford.edu@perl.apache.org) Received: (qmail 70184 invoked by uid 500); 14 Mar 2002 08:26:04 -0000 Mailing-List: contact modperl-help@apache.org; run by ezmlm Precedence: bulk list-help: <mailto:modperl-help@perl.apache.org> list-unsubscribe: <mailto:modperl-unsubscribe@perl.apache.org> list-post: <mailto:modperl@apache.org> Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 70168 invoked from network); 14 Mar 2002 08:26:03 -0000 Subject: Problem comping mod_perl and mod_dav statically at same time... From: simran <simran@cse.unsw.edu.au> To: modperl@perl.apache.org In-Reply-To: <3C8E3D5B.7000509@stason.org> References: <005101c1c9eb$f603db70$160a0a0a@ws13> <3C8E3D5B.7000509@stason.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 14 Mar 2002 19:29:38 +1100 Message-Id: <1016094578.8913.75.camel@pingu.sitesuite.ss> Mime-Version: 1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi All, I am trying to compile the following things together: * apache_1.3.23 * mod_dav-1.0.3-1.3.6 * mod_perl-1.26 If i compile apache with mod_dav OR mod_perl it works fine. However, if i compile them both in then httpd always segfaults as soon as i pass it any request. The way i configure before compiling is: ./configure --enable-module=all --activate-module=src/modules/perl/libperl.a --activate-module=src/modules/dav/libdav.a --------------------------------------------------------------------- My actual issue is that i want mod_perl working and mod_dav working properly - i don't really care about how they are linked (static is preferable but not necessary). If i compile only mod_perl in statically and then compile mod_dav as a DSO (.so) file. Then the server stats up, but unfortunately a: OPTION /dav/ HTTP/1.1 Host: my.host.com:80 Gives me the following response HTTP/1.1 200 OK Date: Thu, 14 Mar 2002 08:01:49 GMT Server: Apache/1.3.23 (Unix) DAV/1.0.3 mod_perl/1.26 Content-Length: 0 MS-Author-Via: DAV Allow: OPTIONS, MKCOL, PUT, LOCK DAV: 1,2,<http://apache.org/dav/propset/fs/1> Content-Type: text/plain BUT the response i really want is one that includes the header: Allow: OPTIONS, GET, HEAD, POST, DELETE, TRACE, PROPFIND, PROPPATCH, COPY, MOVE, LOCK, UNLOCK Otherwise of course WebDav will not work properly... --------------------------------------------------------- The relevant section in my httpd.conf file is: # # Web Dav Stuff... # DAVLockDB /tmp/DAVLock DAVMinTimeout 600 <Location /dav> AuthName "DAV Realm" AuthType Basic AuthUserFile /home/simran/netchant/www/pa/conf/.htpasswd DAV On Options Indexes AllowOverride All #<Limit GET POST PUT DELETE CONNECT OPTIONS PATCH PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK> # Order allow,deny # Allow from all # #Order deny,allow # #Deny from all #</Limit> <LimitExcept GET HEAD OPTIONS> require valid-user </LimitExcept> </Location> ---------------------------------------------------------- Can anyone please help me with the following: ------------------------------------------------------- * Compiling mod_perl and mod_dav staticaly together and ensuring apache does not die on any request or * Compiling mod_perl statically and mod_dav dynamically but getting apache to return the right "Allow:" headers so webdav actually works. Your help would be so very very much appreciated, i have been playing with this for over 3 full days and have not gotten very far at all. thanks, simran. From modperl-return-23572-doom=kzsu.stanford.edu@perl.apache.org Wed May 22 14:03:51 2002 Delivery-Date: Thu Mar 14 00:55:56 2002 Return-Path: <modperl-return-23572-doom=kzsu.stanford.edu@perl.apache.org> Received: from apache.org (daedalus.apache.org [63.251.56.142]) by kzsu.stanford.edu (8.11.6/8.11.4) with SMTP id g2E8tuU72098 for <doom@kzsu.stanford.edu>; Thu, 14 Mar 2002 00:55:56 -0800 (PST) (envelope-from modperl-return-23572-doom=kzsu.stanford.edu@perl.apache.org) Received: (qmail 98673 invoked by uid 500); 14 Mar 2002 08:55:27 -0000 Mailing-List: contact modperl-help@apache.org; run by ezmlm Precedence: bulk list-help: <mailto:modperl-help@perl.apache.org> list-unsubscribe: <mailto:modperl-unsubscribe@perl.apache.org> list-post: <mailto:modperl@apache.org> Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 98660 invoked from network); 14 Mar 2002 08:55:27 -0000 Subject: Re: Problem comping mod_perl and mod_dav statically at same time... From: simran <simran@cse.unsw.edu.au> To: modperl@perl.apache.org In-Reply-To: <1016094578.8913.75.camel@pingu.sitesuite.ss> References: <005101c1c9eb$f603db70$160a0a0a@ws13> <3C8E3D5B.7000509@stason.org> <1016094578.8913.75.camel@pingu.sitesuite.ss> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 14 Mar 2002 19:59:31 +1100 Message-Id: <1016096371.8976.78.camel@pingu.sitesuite.ss> Mime-Version: 1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi All, To all those that read the message and were about to reply, a big thankyou. I *think* i have it working :-) The problem was that the 'dav' directory (as specificied in the Location field in my httpd.conf) did not exist on the filesystem!!! Once i created that, all the options seem to be available, and the Allow headers is perfect. cheers, simran. On Thu, 2002-03-14 at 19:29, simran wrote: > Hi All, > > I am trying to compile the following things together: > > * apache_1.3.23 > * mod_dav-1.0.3-1.3.6 > * mod_perl-1.26 > > If i compile apache with mod_dav OR mod_perl it works fine. However, if > i compile them both in then httpd always segfaults as soon as i pass it > any request. > > The way i configure before compiling is: > > ./configure --enable-module=all > --activate-module=src/modules/perl/libperl.a > --activate-module=src/modules/dav/libdav.a > > --------------------------------------------------------------------- > > My actual issue is that i want mod_perl working and mod_dav working > properly - i don't really care about how they are linked (static is > preferable but not necessary). > > If i compile only mod_perl in statically and then compile mod_dav as a > DSO (.so) file. Then the server stats up, but unfortunately a: > > OPTION /dav/ HTTP/1.1 > Host: my.host.com:80 > > Gives me the following response > > HTTP/1.1 200 OK > Date: Thu, 14 Mar 2002 08:01:49 GMT > Server: Apache/1.3.23 (Unix) DAV/1.0.3 mod_perl/1.26 > Content-Length: 0 > MS-Author-Via: DAV > Allow: OPTIONS, MKCOL, PUT, LOCK > DAV: 1,2,<http://apache.org/dav/propset/fs/1> > Content-Type: text/plain > > BUT the response i really want is one that includes the header: > > Allow: OPTIONS, GET, HEAD, POST, DELETE, TRACE, PROPFIND, PROPPATCH, > COPY, MOVE, LOCK, UNLOCK > > Otherwise of course WebDav will not work properly... > > --------------------------------------------------------- > The relevant section in my httpd.conf file is: > > # > # Web Dav Stuff... > # > DAVLockDB /tmp/DAVLock > DAVMinTimeout 600 > > <Location /dav> > AuthName "DAV Realm" > AuthType Basic > AuthUserFile /home/simran/netchant/www/pa/conf/.htpasswd > > DAV On > Options Indexes > AllowOverride All > > #<Limit GET POST PUT DELETE CONNECT OPTIONS PATCH PROPFIND PROPPATCH > MKCOL COPY MOVE LOCK UNLOCK> > # Order allow,deny > # Allow from all > # #Order deny,allow > # #Deny from all > #</Limit> > > <LimitExcept GET HEAD OPTIONS> > require valid-user > </LimitExcept> > > </Location> > > > ---------------------------------------------------------- > > > Can anyone please help me with the following: > ------------------------------------------------------- > * Compiling mod_perl and mod_dav staticaly together and ensuring apache > does not die on any request > > or > > * Compiling mod_perl statically and mod_dav dynamically but getting > apache to return the right "Allow:" headers so webdav actually works. > > > Your help would be so very very much appreciated, i have been playing > with this for over 3 full days and have not gotten very far at all. > > thanks, > > simran.