You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Tobias Wunden <wu...@mail.com> on 2002/07/23 01:09:53 UTC
Connectors on MacOS X
Hi all,
I am currently trying to get the JK/JK2 connectors working on MacOS X
(with little success so far, but that's another thing). Trouble already
starts compiling the native sources using the provided ant buildfiles.
To make life easier for other mac users, would you mind making the
following additional statements to your buildfiles in
jk/native/build.xml and jk/native2/build.xml?
1) Detect MacOS X hosts:
<condition property="macosx">
<and>
<os family="mac" />
<os family="unix" />
</and>
</condition>
2) Add the native java header files:
Everywhere you include the native header files of the java
distribution to include jni.h, insert one of the following lines, they
both work, since ${java.home}/include is a symbolic link to
${java.home}/../Headers:
<include name="${java.home}/include" if="macosx" />
or
<include name="${java.home}/../Headers" if="macosx" />
3) Provide Information on dlopen
MacOS X doesn't provide dlopen. But a kind person (Jorge Acereda
<ja...@users.sourceforge.net>) wrote a wrapper for it, consisting of
the headerfile dlfcn.h and an implementation which IMHO should at least
be mentioned in the README if not included somewhere in your
src-distribution. The link to the files is as followed:
http://http://download.sourceforge.net/fink/dlcompat-20020709.tar.gz
Thanks for your help!
Greetings,
Tobias
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Connectors on MacOS X
Posted by Pier Fumagalli <pi...@betaversion.org>.
Tobias Wunden <wu...@mail.com> wrote:
> 3) Provide Information on dlopen
Build on top of APR and that problem goes away. That's why APR is the way to
go, right?
Pier
--
I love introducing bug: "Floating Point Exception this is Access Violation,
Access Violation, this is Floating Point Exception". Eric Prud'Hommeaux
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>