GOMEZ Henri wrote:
> 
> I've done a RPM for tomcat-connectors which include :
> 
> mod_jk  for Apache 1.3
> mod_jk  for Apache 2.0
> mod_jk2 for Apache 2.0
> 
> I still can't build mod_webapp since the APR_DIR/APR_VARS
> are mandatory and I want/need to use instead APR_INCLUDE
> and APR_LIBS.
> 
> Today you have 2 choices to have APR :
> 
> 1) Get an APR tarball (tagged against latest Apache 2.0),
>    built in on your system (alone without Apache 2.0).
>    You get the shared libs in /usr/lib/libapr.so and includes in
>    /usr/include/apr/

I am thinking of adding a tarball containing the APR tagged for APACHE-2.0.32
for this.
The APR way to do the thing seems to release the APR sources in the
jakarta-tomcat-connectors-4.0.2-01-src.* files.
But I prefer a tarball in our Jakarta tree: we could update it more easy.

> 
> 2) You build the latest Apache 2.0 Beta28 (didn't try the
>    latest alpha), and you could have APR still as shared libs
>    in /usr/lib/ and includes in /usr/include/apache2 for example
> 
> In both case we need to be able to build mod_webapp for 1.3/2.0
> against theses libs and includes. Ditto for jk2 for Apache 1.3...
> 
> Could somebody take a look at configure.in and update it to
> make APR_DIR/APR_VARS optionals ?

That is no possible...

> 
> Or may be convert jkant/build.xml to mod_webapp since jk2 works
> great in this configuration :

That is a good idea.

> 
> Here is part of my RPM spec file :
> 
> cd util
> ant
> cd ../webapp
> 
> # build webapp for Apache 1.3
> %if %{buildwa13}
> %endif
> 
> # build webapp for Apache 2.0
> %if %{buildwa20}
> %endif
> 
> cd ../jk
> 
> # build jkant
> ant -Dservlet.jar=%{tomcat4dir}/common/lib/servlet.jar 
>-Djunit.jar=%{javadir}/junit.jar -Dtomcat33.home=%{tomcat3dir} 
>-Dtomcat40.home=%{tomcat4dir} -Dapache13.home=/usr -Dapache2.home=/usr
> 
> cd native
> 
> # build jk for Apache 1.3
> %if %{buildjk13}
> ant -Dapxs13=/usr/sbin/apxs -Dapache13.home=/usr -Dapache13.include=%{ap13incdir}
> %endif
> 
> # build jk for Apache 2.0
> %if %{buildjk20}
> ant -Dapxs20=/usr/sbin/apxs2 -Dapache2.home=/usr -Dapache2.include=%{ap20incdir}
> %endif
> 
> cd ../native2
> 
> # build jk2 for Apache 1.3
> %if %{buildjk213}
> ant -Dapxs13=/usr/sbin/apxs -Dapache13.home=/usr -Dapache13.include=%{ap13incdir}
> %endif
> 
> # build jk2 for Apache 2.0
> %if %{buildjk220}
> ant -Dapxs20=/usr/sbin/apxs2 -Dapache2.home=/usr -Dapache2.include=%{ap20incdir} 
>-Dapr.include=%{ap20incdir}
> %endif
> 
> cd ..
> 
> -
> Henri Gomez                 ___[_]____
> EMAIL : [EMAIL PROTECTED]        (. .)
> PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
> PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to