You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by hg...@apache.org on 2004/03/19 14:32:51 UTC

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

hgomez      2004/03/19 05:32:51

  Added:       jk/native2 BUILD.txt
  Log:
  Initial build instructions.
  
  Adds welcome
  
  Revision  Changes    Path
  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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


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

Posted by MagicDraw Support Team <bu...@magicdraw.com>.
Hello Henri Gomez <hg...@apache.org>:

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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: RE: Apache 2.0.49, windows jk and jk2

Posted by MagicDraw Support Team <bu...@magicdraw.com>.
Hello "Mladen Turk" <mt...@apache.org>:

Thank you for your inquiry. This is an automated response from MagicDraw support team. We have received
your message regarding "RE: Apache 2.0.49, windows jk and jk2"

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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


RE: Apache 2.0.49, windows jk and jk2

Posted by Mladen Turk <mt...@apache.org>.
http://www.apache.org/~mturk/mod_jk.dll
http://www.apache.org/~mturk/mod_jk2.so
 
Use the apache binaries from ASF site or any mirror like:
http://mirrors.midco.net/pub/apache.org/httpd/binaries/win32/apache_2.0.49-w
in32-x86-no_ssl.msi


> -----Original Message-----
> From: Henri Gomez [mailto:hgomez@apache.org] 
> Sent: Monday, March 22, 2004 12:17 PM
> To: Tomcat Developers List
> Subject: Re: Apache 2.0.49, windows jk and jk2
> 
> Mladen Turk wrote:
> 
> >  
> > 
> > 
> >>-----Original Message-----
> >>From: Henri Gomez
> >>
> >>Hi to all,
> >>
> >>Did some of you have Windows binaries for jk 1.2.6-dev and 
> 2.0.4-dev 
> >>and Apache 2.0.49 ?
> >>
> > 
> > 
> > Why?
> 
> Need them at works :-)
> 
> > I have.
> 
> Any URL to get them ?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Apache 2.0.49, windows jk and jk2

Posted by Henri Gomez <hg...@apache.org>.
Mladen Turk wrote:

>  
> 
> 
>>-----Original Message-----
>>From: Henri Gomez
>>
>>Hi to all,
>>
>>Did some of you have Windows binaries for jk 1.2.6-dev and 
>>2.0.4-dev and Apache 2.0.49 ?
>>
> 
> 
> Why?

Need them at works :-)

> I have.

Any URL to get them ?

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: RE: Apache 2.0.49, windows jk and jk2

Posted by MagicDraw Support Team <bu...@magicdraw.com>.
Hello "Mladen Turk" <mt...@apache.org>:

Thank you for your inquiry. This is an automated response from MagicDraw support team. We have received
your message regarding "RE: Apache 2.0.49, windows jk and jk2"

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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


RE: Apache 2.0.49, windows jk and jk2

Posted by Mladen Turk <mt...@apache.org>.
 

> -----Original Message-----
> From: Henri Gomez
> 
> Hi to all,
> 
> Did some of you have Windows binaries for jk 1.2.6-dev and 
> 2.0.4-dev and Apache 2.0.49 ?
> 

Why?
I have.

MT.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Apache 2.0.49, windows jk and jk2

Posted by Henri Gomez <hg...@apache.org>.
Hi to all,

Did some of you have Windows binaries for jk 1.2.6-dev and 2.0.4-dev and 
Apache 2.0.49 ?

Regards

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


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

Posted by Henri Gomez <hg...@apache.org>.
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


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

Posted by Guenter Knauf <ef...@gmx.net>.
> 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: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


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

Posted by Kurt Miller <tr...@apache.org>.
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org