----------------------------------------------------------------
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!!!
----------------------------------------------------------------


>I was able to get over the hurdle of not having JSDK 2, thanks to Steve
Adkins. However, i have run into another problem. I get to the point of
configuring Jserv for DSO support and it works. But, when I get to the
following ./configure, I hit a snag. Here is the configuration statement
for building Apache with Jserv activation:
>
>/.configure \
>    --prefix=/usr/local/apache \
>    --activate-module=src/modules/jserv/libserv.a
>
>However, no where do I see the libserv.a file. In the ensuing info that
flashes by after inputting the above configure, I see where it says that
the /src/modules/jserv is not a workign directory.
>
>What gives? Any ideas?
>
>Ben Ricker
>Essehealth, Inc.
>

Ben,

I have done several installations of Apache+Apache/JServ and I have never
needed to go
back and re-"configure" Apache.  I use a script like the following, then
edit the 
config files as per the instructions, and everything works.

Stephen

P.S. I run on a Redhat 6.0 system.

#!/bin/ksh

######################################################################
# Assume you are building in $PREFIX.
# Your current directory is $PREFIX/src.
# Your apache and jserv tar files are in $PREFIX/src/tar.
# Your JAVA_HOME is set to something like $PREFIX/jdk118_v1
# Your JSDK_JAR is set to something like $PREFIX/lib/classes/jsdk.jar
######################################################################

PREFIX=/usr/local

JAVA_HOME=$PREFIX/jdk118_v1
JSDK_JAR=$PREFIX/lib/classes/jsdk.jar

APACHE_VER=1.3.9
APACHEJSERV_VER=1.1

######################################################################
# Apache
######################################################################

# delete old copy of Apache
rm -rf apache_${APACHE_VER}

# unpack fresh copy of Apache sources
gunzip < tar/apache_${APACHE_VER}.tar.gz | tar xvf -

# configure, make, and install Apache
cd apache_${APACHE_VER}
./configure \
      --prefix=${PREFIX}/apache \
      --enable-module=most \
      --enable-shared=max
make
make install

######################################################################
# Apache JServ
######################################################################

# delete old copy of Apache JServ
rm -rf ApacheJServ-${APACHEJSERV_VER}

# unpack fresh copy of Apache JServ sources
gunzip < tar/ApacheJServ-${APACHEJSERV_VER}.tar.gz | tar xvf -

# configure, make, and install Apache JServ
cd ApacheJServ-${APACHEJSERV_VER}
./configure \
      --prefix=${PREFIX}/jserv \
      --with-apxs=${PREFIX}/apache/bin/apxs \
      --with-jdk-home=${JAVA_HOME} \
      --with-JSDK=${JSDK_JAR} \
      --disable-debugging

make
make install




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to