Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 46548 invoked from network); 16 Jun 2009 20:05:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jun 2009 20:05:34 -0000 Received: (qmail 96404 invoked by uid 500); 16 Jun 2009 20:05:44 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 96365 invoked by uid 500); 16 Jun 2009 20:05:44 -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 96357 invoked by uid 99); 16 Jun 2009 20:05:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 20:05:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 20:05:35 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MGeuA-0006W1-GW for modperl@perl.apache.org; Tue, 16 Jun 2009 13:05:14 -0700 Message-ID: <24061845.post@talk.nabble.com> Date: Tue, 16 Jun 2009 13:05:14 -0700 (PDT) From: ArthurG To: modperl@perl.apache.org Subject: Re: compiling problems with mod_perl 2.0.3 and Apache 2.2.6 In-Reply-To: <200801230057.m0N0vbGa020398@stevens.arl.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: artg@cs.nyu.edu References: <4795B023020000C100047478@agrippa.hbz-nrw.de> <200801230057.m0N0vbGa020398@stevens.arl.psu.edu> X-Virus-Checked: Checked by ClamAV on apache.org I have encountered the same mod_perl make problem working with these releases: Perl 5.8.9 Apache 2.2.3 mod_perl 2.0.4 artg@arthur-desktop:~/Downloads/mod_perl-2.0.4$ make cd "src/modules/perl" && make make[1]: Entering directory `/home/artg/Downloads/mod_perl-2.0.4/src/modules/perl' cc -I/home/artg/Downloads/mod_perl-2.0.4/src/modules/perl -I/home/artg/Downloads/mod_perl-2.0.4/xs -I/home/artg/Downloads/httpd-2.2.3/include -I/home/artg/Downloads/httpd-2.2.3/srclib/apr/include -I/home/artg/Downloads/httpd-2.2.3/srclib/apr-util/include -I/home/artg/Downloads/httpd-2.2.3/os/unix -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/lib/perl5/5.8.9/i686-linux/CORE -DMOD_PER= L -DMP_COMPAT_1X -O2 -c mod_perl.c In file included from /home/artg/Downloads/httpd-2.2.3/include/ap_config.h:25, from /home/artg/Downloads/httpd-2.2.3/include/httpd.h:43, from modperl_apache_includes.h:27, from mod_perl.h:20, from mod_perl.c:17: /home/artg/Downloads/httpd-2.2.3/srclib/apr/include/apr.h:270: error: expected =E2=80=98=3D=E2=80=99, =E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, = =E2=80=98asm=E2=80=99 or =E2=80=98__attribute__=E2=80=99 before =E2=80=98ap= r_off_t=E2=80=99 Making apr via pushd ../httpd-2.2.3/srclib/apr make sudo make install proceeds without problems. John D Groenveld-2 wrote: >=20 > In message <4795B023020000C100047478@agrippa.hbz-nrw.de>, "Heiko Jansen" > writes > : >>No - at least not for me (Solaris 10, 64Bit, Sun cc): 2.0.3 won't build >=20 > Working for me so far. >=20 > $ cd /tmp/httpd-2.2.8 > $ env PATH=3D/usr/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/usr/sfw/bin \ > CC=3Dcc CFLAGS=3D"-m64 -xO3" LDFLAGS=3D"-m64 -L/usr/sfw/lib/64 > -R/usr/sfw/lib/64" \ > ./configure --with-expat=3D/usr/sfw --with-ssl=3D/usr/sfw --enable-ssl \ > --enable-proxy --enable-rewrite --enable-modules=3Dall > --enable-mods-shared=3Dall \ > --prefix=3D/opt/apache2 > # make install > Edit apr_rules.mk and config_vars.mk in /opt/apache2/build and add "-m64" > to EXTRA_LDFLAGS > Add "-m64" to LDFLAGS in /opt/apache2/bin/apr-1-config >=20 > $ cd /tmp/perl-5.10.0 > $ env PATH=3D/usr/bin:/usr/ccs/bin:/opt/SUNWspro/bin \ > ./Configure -Dprefix=3D/opt/apache2/perl-5.10.0 -Dcc=3Dcc -Duseshrplib \ > -Uusemymalc -Duselargefiles -Ubincompat5005 -Doptimize=3D-xO3 -Duse64bita= ll > # make install >=20 > $ cd /tmp/mod_perl-2.0.3 > $ env PATH=3D/usr/bin:/usr/ccs/bin:/opt/SUNWspro/bin \ > /opt/apache2/perl-5.10.0/bin/perl Makefile.PL > MP_APXS=3D/opt/apache2/bin/apxs > # make install >=20 > John > groenveld@acm.org >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/compiling-problems-with= -mod_perl-2.0.3-and-Apache-2.2.6-tp14946923p24061845.html Sent from the mod_perl - General mailing list archive at Nabble.com.