tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Rossbach ...@objektpark.de>
Subject Re: mod_jk for OS X PPC
Date Thu, 01 Nov 2007 09:51:59 GMT
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


Mime
View raw message