Return-Path: X-Original-To: apmail-perl-modperl-archive@www.apache.org Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 85A9A18BA0 for ; Sat, 9 May 2015 03:37:27 +0000 (UTC) Received: (qmail 30769 invoked by uid 500); 9 May 2015 03:37:21 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 30732 invoked by uid 500); 9 May 2015 03:37:21 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 30716 invoked by uid 99); 9 May 2015 03:37:21 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 May 2015 03:37:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0C6A31828DC for ; Sat, 9 May 2015 03:37:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.816 X-Spam-Level: * X-Spam-Status: No, score=1.816 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RDNS_DYNAMIC=0.363, SPF_NEUTRAL=0.652, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id QsC5FSVQhov8 for ; Sat, 9 May 2015 03:37:11 +0000 (UTC) Received: from 3dnetpro.com (173-12-118-73-miami.hfc.comcastbusiness.net [173.12.118.73]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 43CD724E3A for ; Sat, 9 May 2015 03:37:11 +0000 (UTC) Received: from NetBook ([10.1.10.130]) by 3dnetpro.com (8.14.9/8.14.9) with ESMTP id t49BWUW8068159; Sat, 9 May 2015 10:32:31 -0100 (CVT) (envelope-from info@3dnetproductions.com) Reply-To: From: "GLG" To: "'Jie Gao'" , "'mod_perl list'" References: <044a01d07850$c5331340$4f9939c0$@com> <20150417012111.GA19553@inforich.ucc.usyd.edu.au> <03d201d08379$e5a7b840$b0f728c0$@com> <554295E1.1060202@ice-sa.com> <043a01d08464$3068b970$913a2c50$@com>,<02c601d089f2$ce7242b0$6b56c810$@com> <08D27CF97F04F946A3B4B72E376E94BF0130697F45@ex-mbx-pro-04> In-Reply-To: <08D27CF97F04F946A3B4B72E376E94BF0130697F45@ex-mbx-pro-04> Subject: RE: mod_perl and apache 2.4 Date: Fri, 8 May 2015 23:36:56 -0400 Organization: 3DNetProductions.com Message-ID: <02c701d08a09$69a9f870$3cfde950$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdB4ULPzcqNn2/HdSNeKieeE9JTzoQACEQ6AArNGCwAAA2V8gAA3LRuAAWOnloAAFxckbAAC0wlg Content-Language: en-us Well, it does in version 2.0.8. They are functions you can see clearly = in 'modperl_io.h' and 'modperl_io.c'. But I wasn't exactly planning on learning the intricacies of mod_perl so = I can try fixing this for myself. Rather, I was really hoping of getting = some help from someone who would know first-hand how to deal with it. Better = yet get an upgrade, but I am seriously running out of time. Several websites = I manage are depending on this to work, as I am forced to switch servers. -----Original Message----- From: Jie Gao [mailto:j.gao@sydney.edu.au]=20 Sent: Friday, May 08, 2015 9:59 PM To: info@3dnetproductions.com; 'mod_perl list' Subject: RE: mod_perl and apache 2.4 mod_perl.so indeed does not have "modperl_io_perlio_restore_stdout", nor "modperl_io_perlio_restore_stdin"; it does have "modperl_io_perlio_restore", which does not seem to be = defined anywhere in the source. Not sure why. -JIie ________________________________________ From: GLG [info@3dnetproductions.com] Sent: Saturday, May 09, 2015 10:55 AM To: 'mod_perl list' Subject: RE: mod_perl and apache 2.4 It doesn't matter how I install mod_perl (dynamic or static. Also tried = via Webmin), the end result is always the same. This on FreeBSD 10.1 As soon as I add this line to httpd.conf LoadModule perl_module libexec/apache22/mod_perl.so and attempt to restart Apache, I get this... ------------------------------------ apachectl restart Now reading network conf in.. /etc/rc.conf Now reading network conf in.. /etc/rc.conf Performing sanity check on apache22 configuration: httpd: Syntax error on line 107 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_perl.so into server: /usr/local/libexec/apache22/mod_perl.so: Undefined symbol "modperl_io_perlio_restore_stdout" ------------------------------------- I have verified that mod_perl.so is in place. What on Earth is 'Undefined symbol "modperl_io_perlio_restore_stdout"'??? Is this really a mod_perl list? Thank you, -----Original Message----- From: GLG [mailto:info@3dnetproductions.com] Sent: Friday, May 01, 2015 7:12 PM To: 'mod_perl list' Subject: RE: mod_perl and apache 2.4 Thanks Andr=E9. Your info was useful. I can't say that I solved this = yet, but I did find something strange. But first, I no longer think there's an issue with libtool. It looks = like there's a fix running. Secondly, I had to 'pkg install p5-BSD-Resource' dependency manually, because the automatic installation by mod_perl2 didn't work. And third, Can't really do 'make test' either because it has to run as a priviledged user, and then Apache wants a non-priviledged user for the = test suite. Can't have both. So no dice. But see below for where the real problem seems to be: Short version: Notice how gmake is installing mod_perl in ../ ../mach/5.18/ <--- = correct but later tries to read from ../ ../5.18/mach/ <--- = incorrect Something is backward??? What is the right way to resolve this? I have = been at it way too long. Thanks, -------------------------------------------------- Longer version: [root@xxxxx /usr/ports/www/mod_perl2]# make install clean =3D=3D=3D> Staging for ap22-mod_perl2-2.0.8_2,3 =3D=3D=3D> ap22-mod_perl2-2.0.8_2,3 depends on package: = p5-BSD-Resource>=3D0 - found =3D=3D=3D> ap22-mod_perl2-2.0.8_2,3 depends on file: = /usr/local/sbin/apxs - found =3D=3D=3D> ap22-mod_perl2-2.0.8_2,3 depends on file: = /usr/local/bin/perl5.18.4 - found =3D=3D=3D> Generating temporary packing list gmake[1]: Entering directory = '/usr/ports/www/mod_perl2/work/mod_perl-2.0.8' ... more stuff here Installing /usr/ports/www/mod_perl2/work/stage/usr/local/lib/perl5/site_perl/mach/5.= 18/ ... more of the same here find: /usr/ports/www/mod_perl2/work/stage/usr/local/lib/perl5/site_perl/5.18/ma= ch/ auto: No such file or directory =3D=3D=3D=3D> Compressing man pages (compress-man) =3D=3D=3D> Installing for ap22-mod_perl2-2.0.8_2,3 =3D=3D=3D> Checking if ap22-mod_perl2 already installed =3D=3D=3D> Registering installation for ap22-mod_perl2-2.0.8_2,3 pkg-static: Unable to access file /usr/ports/www/mod_perl2/work/stage/usr/local/=3D=3D=3D> ap24-mod_perl2-2.0.8_2,3 depends on package: p5-BSD-Resource>=3D0 - not = found: No such file or directory pkg-static: Unable to access file /usr/ports/www/mod_perl2/work/stage/usr/local/=3D=3D=3D> Verifying = install for p5-BSD-Resource>=3D0 in /usr/ports/devel/p5-BSD-Resource: No such file = or directory pkg-static: Unable to access file /usr/ports/www/mod_perl2/work/stage/usr/local/=3D=3D=3D> Installing for p5-BSD-Resource-1.2907: No such file or directory ... more of the same here