|
|
Compiling Apache 1.2.6 with JServ 1.0 |
| 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.4Step 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. ryanATaccrueDOTcom | |
| Subcategories:
Answers in this category:
| |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||||