IDependOn-Set: 1
IDependOn-Set: 13
IDependOn-Set: 15
IDependOn-Set: 2
IDependOn-Set: 65
IDependOn-Set: 66
IDependOn-Set: 67
LastModifiedSecs: 922991317
Parent: 15
SequenceNumber: 4
Title: Compiling Apache 1.2.6 with JServ 1.0
Part: 0
Author-Set: ryan@accrue.com
LastModifiedSecs: 921786600
Type: 
Lines: 39
If you need to compile Apache 1.2.6 for use with JServ (this is written
using 1.0b3), there are several extra steps you will need to take.

The starting point here is after you've tried the obvious things - 
you have unpacked JServ and Apache, and run JServ configuration according
to the instructions.  The extra steps are:
1) Create a Makefile
2) Get a missing c source file
3) Modify one of the header files

Step 1:
In Apache's */src/modules/jserv, you will need a make file.  The one
in */src/modules/proxy is a good starting point.  The key things are
to change libproxy.a to libjserv.a and change SRC to something like
OBJS=mod_jserv.o \
        jserv_protocols.o jserv_status.o jserv_utils.o jserv_ajpv11.o \
        jserv_balance.o jserv_compat.o \
        jserv_wrapper.o jserv_wrapper_unix.o jserv_image.o

Step 2:
jserv_compat.c is missing.  You can get it from
http://www.working-dogs.com/cvsweb/index.cgi/~checkout~/jserv/src/c/jserv_compat.c?rev=1.4

Step 3:
jserv_compat.h is missing two lines.  Add to the other defines:
#define ap_getword_conf_nc              getword_conf_nc
#define ap_palloc                       palloc

Now you are ready to make.  In my case, running make directly in the
src/modules/jserv directory didn't work, but running it in src allowed
all the correct environment variables to be picked up.

This is based on a single build on a single system.  There is every chance
that you will need to do a few other things (especially to the Makefile
you made) depending on local conditions.

NOTE:  Credit for the content of this answer goes almost entirely to 
Matt Feiszli, whose March 1, 1999 email on java-apache-users helped me
get my build working.  I just took the information and posted it here.
EndPart: 0
Part: 1
Author-Set: anonymous
HideAttributions: 1
LastModifiedSecs: 922991280
Type: 
Lines: 4
Subcategories:


Answers in this category:
EndPart: 1
