On 25.09.2009 00:55, Strickland, Lawrence P wrote:
> If the shared object module in not called mod_jk.so then what is it called? 
> Is it mod_jk.o?
> And, if that is the case where does it need to be? In the apache/modules 
> directory?

See the below find command. It could be mod_jk.so, mod_jk.a or
mod_jk.so.0. But please note what I also wrote below. If you use the
standard src download, even if the build works, it might not be a really
good binary, because the platform detection doesn't work with the old
config.guess and configure.

And yes: once you've got a good shared object file for AIX, you can put
it into the modules folder of httpd. Actually you can put it anywhere
you like, but if you use the relative path modules/... in the LoadModule
directive, then it has to be in the modules directory of httpd.

Regards,

Rainer

________________________________
> 
> From: Rainer Jung [mailto:rainer.j...@kippdata.de]
> Sent: Thu 9/24/2009 4:24 PM
> To: Tomcat Users List
> Subject: Re: Has anyone been successful building mod_jk on AIX 6.1 ?
> 
> 
> 
> Hi Lawrence,
> 
> On 24.09.2009 22:48, Strickland, Lawrence P wrote:
>> This is the output of my build run.
>> So apparently I am building version 1.2.28 with XLC 10.1 and Apache
>> 2.2.13
>>
>> #./httpd -v
>> Server version: Apache/2.2.13 (Unix)
>> Server built:   Sep 22 2009 13:27:47
>>
>> # gmake -v
>> GNU Make 3.80
>>
>> /home/strickll/tomcat-connectors-1.2.28-src/native
>>
>> bash-3.00# CC="cc_r -qlanglvl=extc89" ./configure
>> --with-apxs=/usr/local/apache2/bin/apxs
> 
> ...
> 
> Do the following commands find a build result:
> 
> find /home/strickll/tomcat-connectors-1.2.28-src -name "mod_jk.a" -ls
> 
> find /home/strickll/tomcat-connectors-1.2.28-src -name "mod_jk.so.*" -ls
> 
> I once did build for AIX but using an own toolchain based on gcc. One of
> the things I had to fix, was that config.guess (and also configure etc.)
> was to old to detect AIX 6. I checked 1.2.28 and unfortunately we didn't
> use the updated autotools when doing the release. I ran buildconf.sh
> once more with newer autotools, so you might want to check whether the
> archive at
> 
> http://people.apache.org/~rjung/mod_jk-dev/source/jk-1.2.28-aix/tomcat-connectors-1.2.28-new_autotools-src.tar.gz
> 
> works better for you.
> 
> But I vaguely also remember that there was also a problem with libtool.
> I don't really remember precisely, but on AIX it wanted to build shared
> libs as .a file instead of .so. It worked when applying the following
> ksh snipppet:
> 
> 
>       for f in `find . -type f -name libtool`
>       do
>          echo "Fixing $f..."
>          cp -p $f $f.aix_orig
>          sed -e 's#hardcode_action=immediate#hardcode_action=relink#' \
>              -e 's#hardcode_direct=yes#hardcode_direct=no#' \
>              -e 's#hardcode_minus_L=no#hardcode_minus_L=yes#' \
>              $f.aix_orig > $f
>       done
> 
> but maybe you won't need it using XLC.
> 
> Concerning "make install": don't really use it. You can copy over the
> mod_jk.so (or however the shared object file is called on AIX) to the
> modules directory.
> 
> Let us know your findings, so that we will at least ensure that we use
> the right autotools for the future releases.
> 
> Regards,
> 
> Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to