----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi Harsha,

I dont know about Linux,but on solaris this is what I did.

Apache Web Server (  ./configure command)

./configure \
--prefix=PREFIX \
--enable-rule=SHARED_CORE \
--enable-module=so

(where PREFIX is path under which apache should be installed), and continue
with make and make install.
Then for Jserv
./configure \
--with-apxs=<path-to-apche-installtion-directory>/bin/apxs \
--prefix=PREFIX \
--with-jdk-home=<path to jdk home> \
--enable-debugging \
--enable-compressed-jar \
--with-JSDK=<path to jsdk.jar>/jsdk.jar

Then make and make install.

This works for me
HTH
Sudhi


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 03, 2000 9:24 AM
> To: ApacheJServ Users MailingList
> Subject: Trouble installing Apache 1.3.12, ApacheJServe1.1.2 on Redhat
> Linux 6.2 with DSO
> 
> 
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
> 
> Hi,
> 
> I'm running on the following ....
> 
> Redhat Linux 6.2
> ApacheJServe1.1.2
> Apache 1.3.12
> 
> I'm trying to install Apache with ApacheJServ support, with 
> DSO support.
> Below is instructions from ApacheJServe-1.1.2's INSTALL file 
> and discription
> of my actions. Hope anybody can figure out  where I'm missing out some
> thing. I have read the FAQs and that dint help.
> 
> According to step 3 of ApacheJserv INSTALL file...
> 
>  3. Configure Apache First - IMPORTANT
> 
> This is what i did to reinstall apache in my linux system.
> 
> ./configure --prefix=/usr/local/apache --enable-shared=max
> make
> make install
> 
> =========================
> 
> According to step 4 of ApacheJserv INSTALL file...
> 
>  4. Configure Apache JServ
> 
> This is what i did to install Apache jserv. I built it with 
> DSO support, as
> I have used the option.... --with-apxs=
> 
> ./configure --prefix=/usr/local/jserv 
> --with-apxs=/usr/local/apache/bin/apxs
>  --enable-debugging 
> --with-JSDK=/usr/java/JSDK2.0/lib/jsdk.jar --enable-EAPI
>  --with-jdk-home=/usr/java/jdk1.3 --with-java-platform=2
> 
> make
> make install
> 
> =========================
> 
> According to step 5 of ApacheJserv INSTALL file... I 
> carefully followed the
> instructions. I'm pasting the entire step 5 for you. Please go thru.
> 
> ***************************
>   5. Build Apache and Apache JServ
>      -----------------------------
> 
>   Once you have configured Apache JServ you can run make.
> 
>   Run 'make install' to make a .jar file, and copy it and the 
> docs into
>   the directory you specified as --prefix. If you are building the DSO
>   version, this will compile the shared object. If you are 
> building the
>   static version, this will just build the Java classes.
> 
>   If you are using an Apache source distribution then you also have
>   to run 'make install' in the Apache source directory to build Apache
>   with Apache JServ support in it. To do this, you will need 
> to add the
>   following line to the static configure line in section 3 above:
> 
>     --activate-module=src/modules/jserv/libjserv.a
> 
>   This is an example of building a default Apache installation with
>   Apache JServ support added:
> 
>     ./configure \
>         --prefix=/usr/local/apache
>         --activate-module=src/modules/jserv/libjserv.a
>     make
>     make install
> 
>   You can see if Apache has loaded the mod_jserv module by executing
>   '/path/to/apache/installation/bin/httpd -l'.
> 
> ***************************
> 
> You can see the section "Build Apache and Apache JServ" here...
> http://java.apache.org/jserv/install/howto.unix_install.html
> 
> I have built Apache and ApacheJServ with DSO support and NOT 
> static. the
> configure line specified above
> (--activate-module=src/modules/jserv/libjserv.a) is for 
> static configure. So
> I dont have the file "src/modules/jserv/libjserv.a" under
> "/home/harsha/tarfiles/apache_1.3.12" . Instead I have a 
> different directory
> structure under 
> "/home/harsha/tarfiles/apache_1.3.12/src/modules/", which is
> probably because of DSO support configuration.
> 
> Executing httpd -l does not show mod_jserv module. The output 
> is as shown
> below...
> 
> *****************************
> 
> /usr/local/apache/bin/httpd -l
> Compiled-in modules:
>   http_core.c
>   mod_so.c
> suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
> ******************************
> 
> Q. Now to build Apache with Apache JServ support, What shall 
> I include for
> the apache configure option "--activate-module" ?
> 
> Or is there any thing else?
> 
> Sincerely,
> Harsha
> 
> 
> 
> 
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search Archives: 
> <http://www.mail-archive.com/java-apache-users%40list.working-
dogs.com/>
Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to