On Tuesday, April 3, 2001, at 03:21 PM, Benoit Jacquemont wrote:
>
>
>> -----Message d'origine-----
>> De : Darwin Buyson [mailto:[EMAIL PROTECTED]]
>> Envoye : mercredi 4 avril 2001 02:04
>> A : [EMAIL PROTECTED]
>> Objet : Re: mod_jk for MAC OS X (FreeBSD)
>>
>>
>> on 3/4/01 5:17 am, Benoit Jacquemont at
>> [EMAIL PROTECTED] 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!!