From users-return-171672-apmail-tomcat-users-archive=tomcat.apache.org@tomcat.apache.org Thu Nov 01 09:52:46 2007 Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 52495 invoked from network); 1 Nov 2007 09:52:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Nov 2007 09:52:46 -0000 Received: (qmail 47153 invoked by uid 500); 1 Nov 2007 09:52:22 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 47132 invoked by uid 500); 1 Nov 2007 09:52:22 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 47121 invoked by uid 99); 1 Nov 2007 09:52:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 02:52:22 -0700 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=FB_WORD1_END_DOLLAR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [217.160.178.142] (HELO p15122102.pureserver.info) (217.160.178.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 09:52:26 +0000 Received: from [192.168.1.4] (dslb-084-060-104-014.pools.arcor-ip.net [84.60.104.14]) by p15122102.pureserver.info (Postfix) with ESMTP id CC1A53AC226 for ; Thu, 1 Nov 2007 10:57:20 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <1A75FB3C-89F7-46F3-88E3-B616800870D2@daleenterprise.com> References: <95DD8EA4-6CE8-4057-8976-2ABA1E74CA25@mac.com> <13486972.post@talk.nabble.com> <9A57728A-6D4C-483C-B305-6FA708A47CF0@mac.com> <13488681.post@talk.nabble.com> <13488683.post@talk.nabble.com> <6B5E3FD0-6C46-4A32-B457-A502E8D7A5D7@mac.com> <1A75FB3C-89F7-46F3-88E3-B616800870D2@daleenterprise.com> X-Gpgmail-State: !signed Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <013B4003-5B2F-47B4-9242-3882C5BEB73C@objektpark.de> Content-Transfer-Encoding: 7bit From: Peter Rossbach Subject: Re: mod_jk for OS X PPC Date: Thu, 1 Nov 2007 10:51:59 +0100 To: Tomcat Users List X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org Hi, this is not true. I have build a mod_jk ppc65 only binary and runit successfull at my G5 with standard Leopard apache2.2.6 installation. Peter Am 30.10.2007 um 17:28 schrieb BuildSmart: > > On Oct 30, 2007, at 10:37:13, Richard Doust wrote: > >> Alex, >> >> QuadG5:native jboss$ ./configure CFLAGS='arch ppc64' >> APXSLDFLAGS='arch ppc64' --with-apxs=/usr/sbin/apxs >> >> . >> . >> . >> checking for gcc... gcc >> checking for C compiler default output file name... configure: >> error: C compiler cannot create executables >> See `config.log' for more details. >> >> I also tried ppc_64. I'm looking for the right value now. >> I looked in the configure.log file and did a man on gcc and came >> to the understanding that: >> >> Ah, okay, -arch ppc64 is a valid parameter to the compiler, so I did: >> >> ./configure cflags='-arch ppc64' APXSLDFLAGS='-arch ppc64' --with- >> apxs=/usr/sbin/apxs >> >> and that made some makefiles which I then used to compile mod_jk.so. >> >> Now I'm dealing with some apache configuration parameters in my >> old config that are apparently no longer valid (AddModule). I'll >> take it from here. >> Thanks an awful lot for the help! >> >> This also explains why the old mod_jk.so generated the same error. >> It's looking at 32-bit vs. 64-bit before it gets to the api. > > Not likely, that isn't how it works, apache isn't compiled for > ppc64 only and it's not recommended to generate a ppc64 only module > unless you strip all of the 32bit architecture from all of the > binaries and force it to run in 64bit only which wont happen if you > examine some of the libraries in /usr/lib. > >> >> Richard >> >> On Oct 30, 2007, at 9:44 AM, Alex Fuller wrote: >> >>> >>> >>> >>> Alex Fuller wrote: >>>> >>>> >>>> it should come back with (for a G5): >>>> >>>> /usr/libexec/apache2/mod_alias.so (for architecture ppc64): Mach- >>>> O 64-bit >>>> bundle ppc64 >>>> >>>> Whereas I suspect on the one you're currently building you'd get: >>>> >>>> /usr/libexec/apache2/mod_alias.so (for architecture ppc7400): >>>> Mach-O >>>> bundle ppc >>>> >>>> >>> >>> >>> Ha ha - obviously you would see a different path to the mod_jk.so >>> file, I >>> was using the Apple-built mod_alias.so as an example to check the >>> reported >>> architecture key.... :-/ >>> >>> Alex >>> -- > > > -- Dale > > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org