You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Benoit Jacquemont <be...@smile.fr> on 2001/04/03 14:19:46 UTC
RE: mod_jk for MAC OS X (FreeBSD)
Hi,
You should really try to build a mod_jk, it's not that difficult, really.
Benoit
> Hi,
>
> I'm trying to configure apache to work with tomcat on Mac
> OSX, which is
> essentially FreeBSD, but cannot find mod_jk for FreeBSD. The
> only versions I
> can find are solaris and linux.
>
> I am very new to unix so I don't even have a clue how to
> build my own from
> source.
>
> If anyone has the file, please forward it to me at:
>
> darwin.buyson@btinternet.com
>
> or if anyone can give me some advice on how to get started,
> this would be
> much appreciated.
>
> Darwin Buyson
Re: mod_jk for MAC OS X (FreeBSD)
Posted by miles <mi...@openly.com>.
So, must you get Tomcat 3.2.1 source to build mod_jk??
Is it not possible to use Tomcat 4.0b3 source?
Right now it seems impossible because I cannot find the directory where
I am told by the instructions to run the apxs script. Could someone make
new mod_jk instructions reflecting the completely different directory
structure of Tomcat 4.0?
- miles
On Tuesday, April 3, 2001, at 09:17 AM, Benoit Jacquemont wrote:
> So, you've got the tomcat 3.2.1 sources, and the Apache 1.3.1x tarball
> on
> your Mac ?
>
> What command did you try to build the mod_jk.c ?
>
>> Thanks for the reply! Could you give me some pointers on how
>> I can do this?
>> I tried to follow the instructions on the tomcat website, but
>> sadly failed.
>>
>> Any help would be much appreciated.
>>
>> thanks,
>> darwin
>
Re: mod_jk for MAC OS X (FreeBSD)
Posted by Darwin Buyson <da...@ionriver.com>.
On Tuesday, April 3, 2001, at 03:21 PM, Benoit Jacquemont wrote:
>
>
>> -----Message d'origine-----
>> De : Darwin Buyson [mailto:darwin@ionriver.com]
>> Envoye : mercredi 4 avril 2001 02:04
>> A : tomcat-user@jakarta.apache.org
>> Objet : Re: mod_jk for MAC OS X (FreeBSD)
>>
>>
>> on 3/4/01 5:17 am, Benoit Jacquemont at
>> benoit.jacquemont@smile.fr wrote:
>>
>>> So, you've got the tomcat 3.2.1 sources, and the Apache
>> 1.3.1x tarball on
>>> your Mac ?
>>>
>>> What command did you try to build the mod_jk.c ?
>>>
>>>> Thanks for the reply! Could you give me some pointers on how
>>>> I can do this?
>>>> I tried to follow the instructions on the tomcat website, but
>>>> sadly failed.
>>>>
>>>> Any help would be much appreciated.
>>>>
>>>> thanks,
>>>> darwin
>>>
>>>
>> I used:
>>
>> ./usr/sbin/apxs -o mod_jk.so
>> -I../jk-I/Library/Java/include-I/Library/Java/include/freebsd -c
>> *.c../jk/*.c
>
> And what kind of errors do you get when you execute this command ?
>
> cc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -O3 -pipe
> -DHARD_SERVER_LIMIT=1024 -DEAPI -DSHARED_MODULE -I/usr/include/httpd
> -I../jk -I/Library/Java/include -I/Library/Java/include/freebsd -c
> mod_jk.c
> ../jk/jk_pool.h:116: undefined type, found `jk_pool_atom_t'
> mod_jk.c:679: undefined type, found `jk_pool_atom_t'
> cpp-precomp: warning: errors during smart preprocessing, retrying in
> basic mode
> In file included from ../jk/jk_util.h:66,
> from mod_jk.c:90:
> ../jk/jk_pool.h:116: parse error before `jk_pool_atom_t'
> mod_jk.c: In function `jk_handler':
> mod_jk.c:679: `jk_pool_atom_t' undeclared (first use in this function)
> mod_jk.c:679: (Each undeclared identifier is reported only once
> mod_jk.c:679: for each function it appears in.)
> mod_jk.c:679: parse error before `buf'
> mod_jk.c:680: `buf' undeclared (first use in this function)
> apxs:Break: Command failed with rc=1
>
> not really sure what any of this means!!
RE: mod_jk for MAC OS X (FreeBSD)
Posted by Benoit Jacquemont <be...@smile.fr>.
> -----Message d'origine-----
> De : Darwin Buyson [mailto:darwin@ionriver.com]
> Envoye : mercredi 4 avril 2001 02:04
> A : tomcat-user@jakarta.apache.org
> Objet : Re: mod_jk for MAC OS X (FreeBSD)
>
>
> on 3/4/01 5:17 am, Benoit Jacquemont at
> benoit.jacquemont@smile.fr wrote:
>
> > So, you've got the tomcat 3.2.1 sources, and the Apache
> 1.3.1x tarball on
> > your Mac ?
> >
> > What command did you try to build the mod_jk.c ?
> >
> >> Thanks for the reply! Could you give me some pointers on how
> >> I can do this?
> >> I tried to follow the instructions on the tomcat website, but
> >> sadly failed.
> >>
> >> Any help would be much appreciated.
> >>
> >> thanks,
> >> darwin
> >
> >
> I used:
>
> ./usr/sbin/apxs -o mod_jk.so
> -I../jk-I/Library/Java/include-I/Library/Java/include/freebsd -c
> *.c../jk/*.c
And what kind of errors do you get when you execute this command ?
Re: mod_jk for MAC OS X (FreeBSD)
Posted by Darwin Buyson <da...@ionriver.com>.
on 3/4/01 5:17 am, Benoit Jacquemont at benoit.jacquemont@smile.fr wrote:
> So, you've got the tomcat 3.2.1 sources, and the Apache 1.3.1x tarball on
> your Mac ?
>
> What command did you try to build the mod_jk.c ?
>
>> Thanks for the reply! Could you give me some pointers on how
>> I can do this?
>> I tried to follow the instructions on the tomcat website, but
>> sadly failed.
>>
>> Any help would be much appreciated.
>>
>> thanks,
>> darwin
>
>
I used:
./usr/sbin/apxs -o mod_jk.so
-I../jk-I/Library/Java/include-I/Library/Java/include/freebsd -c
*.c../jk/*.c
RE: mod_jk for MAC OS X (FreeBSD)
Posted by Benoit Jacquemont <be...@smile.fr>.
So, you've got the tomcat 3.2.1 sources, and the Apache 1.3.1x tarball on
your Mac ?
What command did you try to build the mod_jk.c ?
> Thanks for the reply! Could you give me some pointers on how
> I can do this?
> I tried to follow the instructions on the tomcat website, but
> sadly failed.
>
> Any help would be much appreciated.
>
> thanks,
> darwin
Re: mod_jk for MAC OS X (FreeBSD)
Posted by Darwin Buyson <da...@ionriver.com>.
on 3/4/01 4:19 am, Benoit Jacquemont at benoit.jacquemont@smile.fr wrote:
> Hi,
>
> You should really try to build a mod_jk, it's not that difficult, really.
>
> Benoit
>
>> Hi,
>>
>> I'm trying to configure apache to work with tomcat on Mac
>> OSX, which is
>> essentially FreeBSD, but cannot find mod_jk for FreeBSD. The
>> only versions I
>> can find are solaris and linux.
>>
>> I am very new to unix so I don't even have a clue how to
>> build my own from
>> source.
>>
>> If anyone has the file, please forward it to me at:
>>
>> darwin.buyson@btinternet.com
>>
>> or if anyone can give me some advice on how to get started,
>> this would be
>> much appreciated.
>>
>> Darwin Buyson
>
Thanks for the reply! Could you give me some pointers on how I can do this?
I tried to follow the instructions on the tomcat website, but sadly failed.
Any help would be much appreciated.
thanks,
darwin