How to APR for JTC ? WAS: Native Connector Builds - When?

2002-02-15 Thread GOMEZ Henri

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/ 

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 ?

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

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]




Re: How to APR for JTC ? WAS: Native Connector Builds - When?

2002-02-15 Thread jean-frederic clere

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]




RE: Native Connector Builds - When?

2002-02-13 Thread Kevin Seguin

i have builds of the iis connector and the netscape connector on solaris (built on 
2.6) for jk1.

if somebody can tell me what i need to do - how to sign the binaries, where to upload 
files to - i can provide these.

-kevin.

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




Re: Native Connector Builds - When?

2002-02-13 Thread jean-frederic clere

Kevin Seguin wrote:
 
 i have builds of the iis connector and the netscape connector on solaris (built on 
2.6) for jk1.
 
 if somebody can tell me what i need to do - how to sign the binaries, where to 
upload files to - i can provide these.

The file are in daedalus.apache.org under
/x2/www/jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.2/bin/solaris6/sparc
if sparc
/x2/www/jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.2/bin/solaris6/i386
if intel

To sign the files you can use gpg -sba file 
Then use scp to copy the file and file.asc files.
Add you pub key to the
/x2/www/jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.2/KEYS file.

A nice document is available at http://httpd.apache.org/dev/binaries.html about
releasing.

I have prepared  mod_jk.so for solaris8/sparc - I will test  it and make it
available tomorrow -

 
 -kevin.
 
 --
 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]




Native Connector Builds - When?

2002-02-12 Thread Jonathan Pierce


Note: RPMs and binaries of native connectors will be made available shortly.

When can we expect to see builds of native connectors? 

I'm waiting for the build of the iisapi native connector for IIS. My attempts to
build it from the 4.0.2 connector source required me to copy some missing files
from the cvs.

Jonathan


This email and any files transmitted with it are for the named person's use
only.  It may contain confidential, proprietary or legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistransmission.  If you receive this message in error, please immediately
delete it and all copies of it from your system, destroy any hard copies
of it and notify the sender.  You must not, directly or indirectly, use,
disclose, distribute, print, or copy any part of this message if you
are not the intended recipient.

This email message has been swept by a virus software product for the
presence of computer viruses.
*

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