cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt

2004-03-22 Thread hgomez
hgomez  2004/03/22 01:27:58

  Modified:jk/native2 BUILD.txt
  Log:
  Use Kurt doc.

  

  Great
  
  Revision  ChangesPath
  1.5   +64 -32jakarta-tomcat-connectors/jk/native2/BUILD.txt
  
  Index: BUILD.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/BUILD.txt,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- BUILD.txt 20 Mar 2004 15:29:40 -  1.4
  +++ BUILD.txt 22 Mar 2004 09:27:58 -  1.5
  @@ -1,36 +1,68 @@
  -Quick informations on building mod_jk2 :
  -
  -Starting with 2.0.4, APR is mandatory for jk2 so you should be
  -sure to have it installed on your system, probably because you
  -already have an Apache 2.0 installed or have apr and apr-utils
  -sources tarball ready, since jk2 will first build APR/APR-UTILS
  -for its own purpose (Apache 1.3 case).
  -
  -
  -If you want to have JNI support, add --with-jni and be sure to
  -have JAVA_HOME env var point to your Java Environment.
  -
  -* Linux distributions using Apache 2.0
  -
  -  You should have apxs, so be sure to have the Apache2 devel rpm, 
  -  httpd-devel or apache2-devel depending distributions.
  -
  -./configure --with-apxs2=/your/path/to/apxs --with-jni
  -make
  -cp ../build/jk2/apache2/mod_jk2.so /your/path/to/apache2modules 
  -
  -
  -* Linux distributions using Apache 1.3
  -
  -  You should have apxs, so be sure to have the Apache devel rpm, 
  -  httpd-devel or apache-devel depending distributions.
  -
  -./configure --with-apxs=/your/path/to/apxs   --with-apr=/your/path/to/aprsources \
  ---with-apr-util=/your/patch/to/apr-util --with-jni
  -make
  -cp ../build/jk2/apache13/mod_jk2.so /your/path/to/apache13modules 
  -
  +Information on building mod_jk2:
   
  +  Starting with 2.0.4, APR is mandatory for jk2. For Apache 2.0
  +  or greater jk2 will use APR that was used to build Apache 2.0.
  +  For Apache 1.3, jk2 must build APR and APR_UTIL from source. 
  +
  +DSO build instructions for Unix-like systems:
  +
  +  The compiler used to build jk2 must match the one used to build
  +  Apache. You may need to set an environment variable before 
  +  configuring such as CC=cc. `apxs -q CC` will tell you what 
  +  compiler was used for Apache.
  +
  +  The most straightforward way to configure jk2 is to use apxs 
  +  that comes with Apache. Linux distributions may need to have 
  +  additional rpm's installed such as Apache2 devel rpm, 
  +  httpd-devel or apache2-devel or for Apache 13, Apache devel 
  +  rpm, httpd-devel or apache-devel depending on your 
  +  distribution.
  +
  +  Example Apache2 build and install:
  +
  +cd jakarta-tomcat-connectors/jk/native2
  +./configure --with-apxs2=/your/path/to/apxs
  +make
  +cd ../build/jk2/apache2
  +apxs -n jk2 -i mod_jk2.so
  +
  +  Example Apache13 build and install:
  +
  +apr and apr-util will be configured and built for you while
  +configuring and building jk2. There is no need to separately
  +configure and build them. 
  +
  +  cd jakarta-tomcat-connectors/jk/native2
  +  ./configure --with-apxs=/your/path/to/apxs \
  +  --with-apr=/your/path/to/apr-source \
  +  --with-apr-util=/your/path/to/apr-util-source
  +  make
  +  cd ../build/jk2/apache13
  +  apxs -n jk2 -i mod_jk2.so
  +
  +NOTE: pthread support may be automatically detected and built
  +into apr. If apache13 was not built with pthread support, you
  +can either disable it by adding --disable-apr-threads while
  +configuring, or load the pthread library in httpd.conf using
  +the LoadFile directive.
  +
  +  Optional configure arguments (for 1.3 and 2.0):
  +
  +If you want to have JNI support, add --with-jni and be sure
  +to have the JAVA_HOME environment variable point to your Java
  +Environment. This will build inprocess jni support into
  +mod_jk2.so and additionally build libjkjni.so. libjkjni.so
  +can be used by tomcat to provide support for channel unix and
  +should be installed in the apache libexec dir. Use 
  +`apxs -q LIBEXECDIR` if you are unsure of its location. 
  +Libjkjni.so will be located in the same directory as 
  +mod_jk2.so after building with this option.
  +
  +If you want to have PCRE (Perl Compatible Regular
  +Expressions) support for jk2 uri directives, add --with-pcre
  +while configuring.
  +
  +Quick informations on building mod_jk2 :
   
   
   * IIS 
  
  
  

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



Re: cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt

2004-03-22 Thread Henri Gomez
Kurt Miller wrote:

Hi Henri,

I hope you don't mind, but I rewrote the build instructions
for Unix-like systems. If its OK with you I'd like to commit 
this (or something like it). Of course comments, additions or
criticisms welcome too. ;-)
Great, commited

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


Re: cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt

2004-03-22 Thread MagicDraw Support Team
Hello [EMAIL PROTECTED]:

Thank you for your inquiry. This is an automated response from MagicDraw support team. 
We have received
your message regarding cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt

We would like to offer our sincere thanks to you for emailing us!

Your message has been recorded into our customer service database.

Our staff responds to messages during regular business hours European time,
although we also attempt to answer messages in the weekends whenever
possible. Messages are normally answered within one to two business days.

For even faster assistance, you can browse our FAQ list at:
http://www.magicdraw.com/faq.php

Sincerely,

MagicDraw Support Team


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



Re: Re: cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt

2004-03-22 Thread MagicDraw Support Team
Hello Henri Gomez [EMAIL PROTECTED]:

Thank you for your inquiry. This is an automated response from MagicDraw support team. 
We have received
your message regarding Re: cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt

We would like to offer our sincere thanks to you for emailing us!

Your message has been recorded into our customer service database.

Our staff responds to messages during regular business hours European time,
although we also attempt to answer messages in the weekends whenever
possible. Messages are normally answered within one to two business days.

For even faster assistance, you can browse our FAQ list at:
http://www.magicdraw.com/faq.php

Sincerely,

MagicDraw Support Team


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



Re: cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt

2004-03-22 Thread Henri Gomez
MagicDraw Support Team wrote:
Hello [EMAIL PROTECTED]:

Thank you for your inquiry. This is an automated response from MagicDraw support team. 
We have received
your message regarding cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt
We would like to offer our sincere thanks to you for emailing us!

Your message has been recorded into our customer service database.

Our staff responds to messages during regular business hours European time,
although we also attempt to answer messages in the weekends whenever
possible. Messages are normally answered within one to two business days.
For even faster assistance, you can browse our FAQ list at:
http://www.magicdraw.com/faq.php
Could someone unsubscribe this email ?

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


cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt INSTALL.txt

2004-03-22 Thread truk
truk2004/03/22 11:51:43

  Modified:jk/native2 BUILD.txt INSTALL.txt
  Log:
  Must use absolute path to apr and apr-util source. At this time there isn't
  an install target, so replace with apxs install.
  
  Lots of redundancy between BUILD.txt and INSTALL.txt right now.
  
  Revision  ChangesPath
  1.6   +4 -4  jakarta-tomcat-connectors/jk/native2/BUILD.txt
  
  Index: BUILD.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/BUILD.txt,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- BUILD.txt 22 Mar 2004 09:27:58 -  1.5
  +++ BUILD.txt 22 Mar 2004 19:51:43 -  1.6
  @@ -34,8 +34,8 @@
   
 cd jakarta-tomcat-connectors/jk/native2
 ./configure --with-apxs=/your/path/to/apxs \
  -  --with-apr=/your/path/to/apr-source \
  -  --with-apr-util=/your/path/to/apr-util-source
  +  --with-apr=/absolute/path/to/apr-source \
  +  --with-apr-util=/absolute/path/to/apr-util-source
 make
 cd ../build/jk2/apache13
 apxs -n jk2 -i mod_jk2.so
  @@ -61,9 +61,9 @@
   If you want to have PCRE (Perl Compatible Regular
   Expressions) support for jk2 uri directives, add --with-pcre
   while configuring.
  -
  -Quick informations on building mod_jk2 :
   
  +
  +Quick information on building mod_jk2 :
   
   * IIS 
   
  
  
  
  1.5   +8 -4  jakarta-tomcat-connectors/jk/native2/INSTALL.txt
  
  Index: INSTALL.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/INSTALL.txt,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- INSTALL.txt   22 Mar 2004 11:47:50 -  1.4
  +++ INSTALL.txt   22 Mar 2004 19:51:43 -  1.5
  @@ -7,11 +7,12 @@
   
 In the following example Apache2 is installed in 
 /usr/local/apache2 and the commands are executed in the
  -  jakarta-tomcat-connectors/native2 directory. 
  +  jakarta-tomcat-connectors/jk/native2 directory. 
   
 $ ./configure --with-apxs2=PREFIX/bin/apxs
 $ make
  -  $ make install
  +  $ cd ../build/jk2/apache2
  +  $ PREFIX/bin/apxs -n jk2 -i mod_jk2.so
   
NOTES: * Replace PREFIX with the filesystem path under which 
 Apache should be installed.  A typical installation
  @@ -59,9 +60,12 @@
 gtar xvf apr-util-0.9.4.tar.gz
   
 Build and install mod_jk2:
  -  $ ./configure --with-apxs=PREFIX/bin/apxs --with-apr=./apr-0.9.4 
--with-apr-util=./apr-util-0.9.4
  +  $ ./configure --with-apxs=PREFIX/bin/apxs \
  +--with-apr=/absolute/path/to/apr-0.9.4 \
  +--with-apr-util=/absolute/path/to/apr-util-0.9.4
 $ make
  -  $ make install
  +  $ cd ../build/jk2/apache13
  +  $ PREFIX/bin/apxs -n jk2 -i mod_jk2.so
   
 Add the following to httpd.conf:
 LoadModule jk2_module libexec/mod_jk2.so
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt

2004-03-20 Thread mturk
mturk   2004/03/20 07:29:40

  Modified:jk/native2 BUILD.txt
  Log:
  IIS quick build info.
  
  Revision  ChangesPath
  1.4   +21 -5 jakarta-tomcat-connectors/jk/native2/BUILD.txt
  
  Index: BUILD.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/BUILD.txt,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- BUILD.txt 19 Mar 2004 15:26:57 -  1.3
  +++ BUILD.txt 20 Mar 2004 15:29:40 -  1.4
  @@ -2,13 +2,13 @@
   
   Starting with 2.0.4, APR is mandatory for jk2 so you should be
   sure to have it installed on your system, probably because you
  -allready have an Apache 2.0 installed or have apr and apr-utils
  +already have an Apache 2.0 installed or have apr and apr-utils
   sources tarball ready, since jk2 will first build APR/APR-UTILS
  -for itw own purpose (Apache 1.3 case).
  +for its own purpose (Apache 1.3 case).
   
   
   If you want to have JNI support, add --with-jni and be sure to
  -have JAVA_HOME env var point to your Java Environnement.
  +have JAVA_HOME env var point to your Java Environment.
   
   * Linux distributions using Apache 2.0
   
  @@ -37,9 +37,25 @@
   
   There is a known issue with the latest APR 1.0 and MSVC6.
   If you want to use MSVC6, please use APR 0.9.x for now.
  -MSVC7 doesnt have this issue, and could be used with APR 1.0.
  +MSVC7 doesn't have this issue, and could be used with APR 1.0.
  +
  +Isapi redirector requires the following libraries to build:
  +apr, apr-util, apr-iconv and pcre.
  +The easiest way to obtain all those libraries is to download
  +the httpd-2.0.49-win32-src.zip from http://www.apache.org/dist/httpd or
  +from any of the mirror sites.
  +You will only need the srclib part (apr, apr-util, apr-iconv and pcre)
  +Unzip the entire srclib folder to j-t-c native2 folder.
  +Now open the isapi.dsw from MSVC6 and build.
  +
  +Building using VS.NET:
  +Make sure that the required libraries are inside native2/srclib.
  +Open the idapi.dsw and select 'Yes to all' when prompted to convert the project.
  +During conversion the custom build adds extra quotations for
  +jk_logger_win32_message.mc. Right click on that file and select Properties.
  +For Custom Build Step remove all the quotations around ${InputDir}
  +and ${InputPath}.
   
  --- Mladen ?
   
   
   * Netware
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt

2004-03-19 Thread hgomez
hgomez  2004/03/19 05:32:51

  Added:   jk/native2 BUILD.txt
  Log:
  Initial build instructions.

  

  Adds welcome
  
  Revision  ChangesPath
  1.1  jakarta-tomcat-connectors/jk/native2/BUILD.txt
  
  Index: BUILD.txt
  ===
  Quick informations on building mod_jk2 :
  
  Starting with 2.0.4, APR is mandatory for jk2 so you should be
  sure to have it installed on your system, probably because you
  allready have an Apache 2.0 installed or have apr and apr-utils
  sources tarball ready, since jk2 will first build APR/APR-UTILS
  for itw own purpose (Apache 1.3 case).
  
  
  If you want to have JNI support, add --with-jni and be sure to
  have JAVA_HOME env var point to your Java Environnement.
  
  * Linux distributions using Apache 2.0
  
You should have apxs, so be sure to have the Apache2 devel rpm, 
httpd-devel or apache2-devel depending distributions.
  
  ./configure --with-apxs2=/your/path/to/apxs --with-jni
  make
  cp ../build/jk2/apache2/mod_jk2.so /your/path/to/apache2modules 
  
  
  * Linux distributions using Apache 1.3
  
You should have apxs, so be sure to have the Apache devel rpm, 
httpd-devel or apache-devel depending distributions.
  
  ./configure --with-apxs=/your/path/to/apxs--with-apr=/your/path/to/aprsources \
  --with-apr-util=/your/patch/to/apr-util --with-jni
  make
  cp ../build/jk2/apache13/mod_jk2.so /your/path/to/apache13modules 
  
  
  
  
  * IIS 
  
  -- Mladen ?
  
  
  * Netware
  
  -- Guenter / Mike ?
  
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt

2004-03-19 Thread hgomez
hgomez  2004/03/19 05:37:10

  Modified:jk/native2 BUILD.txt
  Log:
  Update to track Guenter Knauf remarks on APR and MSVC
  
  Revision  ChangesPath
  1.2   +4 -0  jakarta-tomcat-connectors/jk/native2/BUILD.txt
  
  Index: BUILD.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/BUILD.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BUILD.txt 19 Mar 2004 13:32:51 -  1.1
  +++ BUILD.txt 19 Mar 2004 13:37:10 -  1.2
  @@ -35,6 +35,10 @@
   
   * IIS 
   
  +There is a known issue with the latest APR 1.0 and MSVC6.
  +If you want to use MSVC6, please use APR 0.9.x for now.
  +MSVC7 doesnt have this issue, and could be used with APR 1.0.
  +
   -- Mladen ?
   
   
  
  
  

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



Re: cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt

2004-03-19 Thread Guenter Knauf
Hi,
   +There is a known issue with the latest APR 1.0 and MSVC6.
   +If you want to use MSVC6, please use APR 0.9.x for now.
   +MSVC7 doesnt have this issue, and could be used with APR 1.0.
   +
cool! I've just fired a message to apr list, perhaps I get this time soemthing 
back...; have an eye on it...

Guenter.





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



Re: cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt

2004-03-19 Thread Henri Gomez
Guenter Knauf wrote:

Hi,

 +There is a known issue with the latest APR 1.0 and MSVC6.
 +If you want to use MSVC6, please use APR 0.9.x for now.
 +MSVC7 doesnt have this issue, and could be used with APR 1.0.
 +
cool! I've just fired a message to apr list, perhaps I get this time soemthing back...; have an eye on it...

Well I'd like to compile this kind of informations in the BUILD.txt,
just to avoid too many questions from users when we'll release jk2
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt

2004-03-19 Thread Guenter Knauf
Hi,
additions for NetWare:

=
Buid the JK2 connector for NetWare platform.

The current NWNGUmakefile uses the same build system as Apache2 self for NetWare 
target.
Simply extract the downloaded archive, and follow the guideline which describes 
compilation of Apache2 self. After you have compiled Apache2 (this is mandatory for 
now since the prebuild process must have finished) you can simply call the makefile 
with 'make -f NWGNUmakefile', this builds the connector for Apache2 in a release or 
debug subdirectory, dependent if you specify to build a debug version or not.
It is recommended to use Metrowerks CodeWarrior compiler for now; although the 
connector builds with GCC for NetWare, it is not tested yet if it works - there are 
known issues with a bitfied and alignment which have to be solved.
=

I have also another build version which I believe is more simple, but this would 
require that we add another Makefile.netware to the apache2 dir; this uses a 
ready-to-use 'apache2 sdk' which is the same as what comes with the Win32 Apache2 by 
default (include and lib dirs); so no compile of whole Apache2 mandatory. I offer this 
'apache2 sdk' on Novell Forge.

Guenter.



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



cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt

2004-03-19 Thread hgomez
hgomez  2004/03/19 07:26:57

  Modified:jk/native2 BUILD.txt
  Log:
  Update to track Guenter Knauf remarks on Netware
  
  Revision  ChangesPath
  1.3   +13 -1 jakarta-tomcat-connectors/jk/native2/BUILD.txt
  
  Index: BUILD.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/BUILD.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BUILD.txt 19 Mar 2004 13:37:10 -  1.2
  +++ BUILD.txt 19 Mar 2004 15:26:57 -  1.3
  @@ -44,5 +44,17 @@
   
   * Netware
   
  --- Guenter / Mike ?
  +Buid the JK2 connector for NetWare platform.
  +
  +The current NWNGUmakefile uses the same build system as Apache2 self for NetWare 
target.
  +Simply extract the downloaded archive, and follow the guideline which describes 
compilation of Apache2 self. 
  +
  +After you have compiled Apache2 (this is mandatory for now since the prebuild 
process must have finished) 
  +you can simply call the makefile with 'make -f NWGNUmakefile', this builds the 
connector for Apache2 in a 
  +release or debug subdirectory, dependent if you specify to build a debug version or 
not.
  +
  +It is recommended to use Metrowerks CodeWarrior compiler for now; although the 
connector builds with GCC 
  +for NetWare, it is not tested yet if it works - there are known issues with a 
bitfied and alignment which 
  +have to be solved.
  +
   
  
  
  

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



Re: cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt

2004-03-19 Thread Kurt Miller
Hi Henri,

I hope you don't mind, but I rewrote the build instructions
for Unix-like systems. If its OK with you I'd like to commit 
this (or something like it). Of course comments, additions or
criticisms welcome too. ;-)

-Kurt

Information on building mod_jk2:

  Starting with 2.0.4, APR is mandatory for jk2. For Apache 2.0
  or greater jk2 will use APR that was used to build Apache 2.0.
  For Apache 1.3, jk2 must build APR and APR_UTIL from source. 

DSO build instructions for Unix-like systems:

  The compiler used to build jk2 must match the one used to build
  Apache. You may need to set an environment variable before 
  configuring such as CC=cc. `apxs -q CC` will tell you what 
  compiler was used for Apache.

  The most straightforward way to configure jk2 is to use apxs 
  that comes with Apache. Linux distributions may need to have 
  additional rpm's installed such as Apache2 devel rpm, 
  httpd-devel or apache2-devel or for Apache 13, Apache devel 
  rpm, httpd-devel or apache-devel depending on your 
  distribution.

  Example Apache2 build and install:

cd jakarta-tomcat-connectors/jk/native2
./configure --with-apxs2=/your/path/to/apxs
make
cd ../build/jk2/apache2
apxs -n jk2 -i mod_jk2.so

  Example Apache13 build and install:

apr and apr-util will be configured and built for you while
configuring and building jk2. There is no need to separately
configure and build them. 

  cd jakarta-tomcat-connectors/jk/native2
  ./configure --with-apxs=/your/path/to/apxs \
  --with-apr=/your/path/to/apr-source \
  --with-apr-util=/your/path/to/apr-util-source
  make
  cd ../build/jk2/apache13
  apxs -n jk2 -i mod_jk2.so

NOTE: pthread support may be automatically detected and built
into apr. If apache13 was not built with pthread support, you
can either disable it by adding --disable-apr-threads while
configuring, or load the pthread library in httpd.conf using
the LoadFile directive.

  Optional configure arguments (for 1.3 and 2.0):

If you want to have JNI support, add --with-jni and be sure
to have the JAVA_HOME environment variable point to your Java
Environment. This will build inprocess jni support into
mod_jk2.so and additionally build libjkjni.so. libjkjni.so
can be used by tomcat to provide support for channel unix and
should be installed in the apache libexec dir. Use 
`apxs -q LIBEXECDIR` if you are unsure of its location. 
Libjkjni.so will be located in the same directory as 
mod_jk2.so after building with this option.

If you want to have PCRE (Perl Compatible Regular
Expressions) support for jk2 uri directives, add --with-pcre
while configuring.


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



RE: cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt

2004-03-19 Thread Adam Fowler
Ah excellent. I was wondering why my build was failing miserably.

Adam
(formerly [EMAIL PROTECTED], not been on in a year or so)

-Original Message-
From: Kurt Miller [mailto:[EMAIL PROTECTED]
Sent: 19 March 2004 17:22
To: Tomcat Developers List
Subject: Re: cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt


Hi Henri,

I hope you don't mind, but I rewrote the build instructions
for Unix-like systems. If its OK with you I'd like to commit 
this (or something like it). Of course comments, additions or
criticisms welcome too. ;-)

-Kurt

Information on building mod_jk2:

  Starting with 2.0.4, APR is mandatory for jk2. For Apache 2.0
  or greater jk2 will use APR that was used to build Apache 2.0.
  For Apache 1.3, jk2 must build APR and APR_UTIL from source. 

DSO build instructions for Unix-like systems:

  The compiler used to build jk2 must match the one used to build
  Apache. You may need to set an environment variable before 
  configuring such as CC=cc. `apxs -q CC` will tell you what 
  compiler was used for Apache.

  The most straightforward way to configure jk2 is to use apxs 
  that comes with Apache. Linux distributions may need to have 
  additional rpm's installed such as Apache2 devel rpm, 
  httpd-devel or apache2-devel or for Apache 13, Apache devel 
  rpm, httpd-devel or apache-devel depending on your 
  distribution.

  Example Apache2 build and install:

cd jakarta-tomcat-connectors/jk/native2
./configure --with-apxs2=/your/path/to/apxs
make
cd ../build/jk2/apache2
apxs -n jk2 -i mod_jk2.so

  Example Apache13 build and install:

apr and apr-util will be configured and built for you while
configuring and building jk2. There is no need to separately
configure and build them. 

  cd jakarta-tomcat-connectors/jk/native2
  ./configure --with-apxs=/your/path/to/apxs \
  --with-apr=/your/path/to/apr-source \
  --with-apr-util=/your/path/to/apr-util-source
  make
  cd ../build/jk2/apache13
  apxs -n jk2 -i mod_jk2.so

NOTE: pthread support may be automatically detected and built
into apr. If apache13 was not built with pthread support, you
can either disable it by adding --disable-apr-threads while
configuring, or load the pthread library in httpd.conf using
the LoadFile directive.

  Optional configure arguments (for 1.3 and 2.0):

If you want to have JNI support, add --with-jni and be sure
to have the JAVA_HOME environment variable point to your Java
Environment. This will build inprocess jni support into
mod_jk2.so and additionally build libjkjni.so. libjkjni.so
can be used by tomcat to provide support for channel unix and
should be installed in the apache libexec dir. Use 
`apxs -q LIBEXECDIR` if you are unsure of its location. 
Libjkjni.so will be located in the same directory as 
mod_jk2.so after building with this option.

If you want to have PCRE (Perl Compatible Regular
Expressions) support for jk2 uri directives, add --with-pcre
while configuring.


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



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



Re: cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt

2004-03-19 Thread Guenter Knauf
 Hi Henri,

 I hope you don't mind, but I rewrote the build instructions
 for Unix-like systems. If its OK with you I'd like to commit
 this (or something like it). Of course comments, additions or
 criticisms welcome too. ;-)

 -Kurt
looks very good!
+1

Guenter.


 Information on building mod_jk2:

   Starting with 2.0.4, APR is mandatory for jk2. For Apache 2.0
   or greater jk2 will use APR that was used to build Apache 2.0.
   For Apache 1.3, jk2 must build APR and APR_UTIL from source.

 DSO build instructions for Unix-like systems:

   The compiler used to build jk2 must match the one used to build
   Apache. You may need to set an environment variable before
   configuring such as CC=cc. `apxs -q CC` will tell you what
   compiler was used for Apache.

   The most straightforward way to configure jk2 is to use apxs
   that comes with Apache. Linux distributions may need to have
   additional rpm's installed such as Apache2 devel rpm,
   httpd-devel or apache2-devel or for Apache 13, Apache devel
   rpm, httpd-devel or apache-devel depending on your
   distribution.

   Example Apache2 build and install:

 cd jakarta-tomcat-connectors/jk/native2
 ./configure --with-apxs2=/your/path/to/apxs
 make
 cd ../build/jk2/apache2
 apxs -n jk2 -i mod_jk2.so

   Example Apache13 build and install:

 apr and apr-util will be configured and built for you while
 configuring and building jk2. There is no need to separately
 configure and build them.

   cd jakarta-tomcat-connectors/jk/native2
   ./configure --with-apxs=/your/path/to/apxs \
   --with-apr=/your/path/to/apr-source \
   --with-apr-util=/your/path/to/apr-util-source
   make
   cd ../build/jk2/apache13
   apxs -n jk2 -i mod_jk2.so

 NOTE: pthread support may be automatically detected and built
 into apr. If apache13 was not built with pthread support, you
 can either disable it by adding --disable-apr-threads while
 configuring, or load the pthread library in httpd.conf using
 the LoadFile directive.

   Optional configure arguments (for 1.3 and 2.0):

 If you want to have JNI support, add --with-jni and be sure
 to have the JAVA_HOME environment variable point to your Java
 Environment. This will build inprocess jni support into
 mod_jk2.so and additionally build libjkjni.so. libjkjni.so
 can be used by tomcat to provide support for channel unix and
 should be installed in the apache libexec dir. Use
 `apxs -q LIBEXECDIR` if you are unsure of its location.
 Libjkjni.so will be located in the same directory as
 mod_jk2.so after building with this option.

 If you want to have PCRE (Perl Compatible Regular
 Expressions) support for jk2 uri directives, add --with-pcre
 while configuring.


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



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



Re: cvs commit: jakarta-tomcat-connectors/jk/native2 BUILD.txt

2004-03-19 Thread Mike Anderson
Looks good.

Mike Anderson

 [EMAIL PROTECTED] 3/19/2004 8:26:57 AM 
hgomez  2004/03/19 07:26:57

  Modified:jk/native2 BUILD.txt
  Log:
  Update to track Guenter Knauf remarks on Netware
  
  Revision  ChangesPath
  1.3   +13 -1 jakarta-tomcat-connectors/jk/native2/BUILD.txt
  
  Index: BUILD.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/BUILD.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BUILD.txt 19 Mar 2004 13:37:10 -  1.2
  +++ BUILD.txt 19 Mar 2004 15:26:57 -  1.3
  @@ -44,5 +44,17 @@
   
   * Netware
   
  --- Guenter / Mike ?
  +Buid the JK2 connector for NetWare platform.
  +
  +The current NWNGUmakefile uses the same build system as Apache2 self
for NetWare target.
  +Simply extract the downloaded archive, and follow the guideline
which describes compilation of Apache2 self. 
  +
  +After you have compiled Apache2 (this is mandatory for now since the
prebuild process must have finished) 
  +you can simply call the makefile with 'make -f NWGNUmakefile', this
builds the connector for Apache2 in a 
  +release or debug subdirectory, dependent if you specify to build a
debug version or not.
  +
  +It is recommended to use Metrowerks CodeWarrior compiler for now;
although the connector builds with GCC 
  +for NetWare, it is not tested yet if it works - there are known
issues with a bitfied and alignment which 
  +have to be solved.
  +
   
  
  
  

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


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