Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 33802 invoked from network); 25 May 2005 03:52:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 May 2005 03:52:03 -0000 Received: (qmail 76388 invoked by uid 500); 25 May 2005 03:52:03 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 76162 invoked by uid 500); 25 May 2005 03:52:02 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 76147 invoked by uid 99); 25 May 2005 03:52:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from neptun.ecos.de (HELO neptun.ecos.de) (194.95.226.11) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 24 May 2005 20:52:01 -0700 Received: from 127.0.0.1 (localhost [127.0.0.1]) by neptun.ecos.de (Postfix) with SMTP id 0B4E73CEBB; Wed, 25 May 2005 05:51:58 +0200 (MEST) Received: from lnx1.i.ecos.de (lnx1.i.ecos.de [10.11.11.102]) by neptun.ecos.de (Postfix) with ESMTP id CF07B3CEB8; Wed, 25 May 2005 05:51:57 +0200 (MEST) Received: from wingr2 (unknown [10.11.12.250]) by lnx1.i.ecos.de (Postfix) with ESMTP id C0A4BA258B; Wed, 25 May 2005 05:51:57 +0200 (CEST) From: "Gerald Richter" To: "'Stefan Cars'" Cc: Subject: RE: Embperl v. 2.0rc3 and Apache v. 2.0.54/mod_perl v. 2.0.0-RC5 Date: Wed, 25 May 2005 05:51:57 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcVcdqmGM8ttongKTfWgOEWmP3d7pAEZh95g In-Reply-To: <428C946F.8010606@snowfall.se> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 Message-Id: <20050525035157.C0A4BA258B@lnx1.i.ecos.de> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi! > > What kind of consequences does this mean for upgrading mod_perl2 and > Embperl2 on current installations ? > Inside Embperl nothing will change, but as far as you use any Apache:: objects, you have to rename Apache:: to Apache2:: all over the place. See http://perl.apache.org/docs/2.0/rename.html Gerald > /S > > > Gerald Richter wrote: > >>I have Apache v. 2.0.54 and mod_perl v. 2.0.0-RC5 running under > >>Solaris 8 and now I would like to get Embperl to run under this > >>environment as a DSO. But it won't build. > >> > > > > > > Mod_perl 2 rc4 -> rc5 has renamed the whole namespace from > Apache to > > Apache2. > > > > Embperl has been adapted for this in the current CVS version, which > > will be soon released as Embperl2rc4 > > > > Gerald > > > > > > > > > >>Note that I also have Apache v. 1.3.x installed on this system with > >>mod_perl v. 1.29 and Embperl v. 1.36. This works fine but > of course I > >>am not completely prepared to switch to Apache v. 2.x and I have it > >>installed concurrently as a test environment. > >> > >>Here is a transcript of the session. Perl is v. 5.6.1 and > gcc is v. > >>3.4.2. > >>The "perl makefile.PL" process detects that I am using mod_perl v. > >>1.29 but clearly I would like it to use the mod_perl v. 2.0.0-RC5 > >>which I am using with Apache v. 2.x. > >> > >>$ perl Makefile.PL > >>Build with support for Apache mod_perl?(y/n) [y] Searching > for Apache > >>sources... > >>Look at .. > >>Look at ../src > >>Look at ./src > >>Apache source not found, enter path name or q to quit > >>[q]/usr/local/apache2 Searching for Apache sources... > >>Look at /usr/local/apache2 > >>Use /usr/local/apache2 as Apache source(y/n) [y] Will use > >>/usr/local/apache2 for Apache Headers Apache Version Server > >>version: Apache/2.0.54 + Load dynamic module mod_perl.c > >> (/usr/local/apache2/modules/mod_perl.so) > >> + mod_perl was build with USE_DSO > >>Test start /usr/local/apache2/bin/httpd Test httpd will run as user > >>rcb and group staff Test httpd will listen on port 8531 > Found mod_perl > >>Version 1.29 Found LWP::UserAgent Version 2.003 Found > >>HTML::HeadParser Version > >>2.17 Apache::Session not installed on this system > >>-> Disable tests for persistent data storage > >>Found File::Spec Version 3.06 > >>Found CGI Version 2.752 > >>Cannot execute xml2-config (No such file or directory). > >>libxml2 and libxslt will not be linked into Embperl Enter path of > >>XALAN base directory or single dot for not using XALAN [.] > Xalan will > >>not be linked into Embperl Checking if your kit is complete... > >>Looks good > >>Writing Makefile for Embperl::App::Config Writing Makefile for > >>Embperl::App Writing Makefile for > Embperl::Component::Config Writing > >>Makefile for Embperl::Component::Output Writing Makefile for > >>Embperl::Component::Param Writing Makefile for Embperl::Component > >>Writing Makefile for Embperl::Req::Config Writing Makefile for > >>Embperl::Req::Param Writing Makefile for Embperl::Req > Writing Makefile > >>for Embperl::Syntax Writing Makefile for Embperl::Thread Writing > >>Makefile for Embperl Writing Makefile for WrapXS Writing > Makefile for > >>Embperl > >> > >>And here is the build result: > >> > >>gcc -c -I/usr/local/apache2/include > >>-I/usr/local/apache2/regex -I/usr/local/apache2/os/unix > >>-I/mnt/homes/rcb/Embperl-2.0rc3/xs > >>-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE > >>-D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.0rc3\" > >>-DXS_VERSION=\"2.0rc3\" > >>-fPIC "-I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE" > >>-DAPACHE -DEP2 -o epmain.o epmain.c > >>epmain.c: In function `DoLogError': > >>epmain.c:250: warning: passing arg 4 of `ap_log_error' > makes integer > >>from pointer without a cast > >>epmain.c:250: warning: passing arg 5 of `ap_log_error' from > >>incompatible pointer type > >>epmain.c:252: warning: passing arg 4 of `ap_log_error' > makes integer > >>from pointer without a cast > >>epmain.c:252: warning: passing arg 5 of `ap_log_error' from > >>incompatible pointer type > >>epmain.c: In function `SendHttpHeader': > >>epmain.c:886: warning: assignment makes pointer from > integer without a > >>cast > >>epmain.c:904: warning: passing arg 2 of `apr_table_add' > makes pointer > >>from integer without a cast > >>epmain.c:904: warning: passing arg 3 of `apr_table_add' > makes pointer > >>from integer without a cast > >>epmain.c:912: warning: passing arg 2 of `apr_table_set' > makes pointer > >>from integer without a cast > >>epmain.c:912: warning: passing arg 3 of `apr_table_set' > makes pointer > >>from integer without a cast > >>epmain.c:934: error: syntax error before '*' token > >>epmain.c:935: error: `table_entry' undeclared (first use in this > >>function) > >>epmain.c:935: error: (Each undeclared identifier is > reported only once > >>epmain.c:935: error: for each function it appears in.) > >>epmain.c:935: error: `hdrs' undeclared (first use in this function) > >>epmain.c:937: error: `hdrs_arr' undeclared (first use in this > >>function) > >>epmain.c:938: error: parse error before ')' token > >>*** Error code 1 > >>make: Fatal error: Command failed for target `epmain.o' > >> > >>Any ideas? > >> > >>-- > >>Roy Bixler > >>The University of Chicago Press > >>http://www.press.uchicago.edu -or- http://www.journals.uchicago.edu > >> > >>------------------------------------------------------------ > --------- > >>To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org > >>For additional commands, e-mail: embperl-help@perl.apache.org > >> > >> > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org > > For additional commands, e-mail: embperl-help@perl.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org