I've been trying to install JServ on a Unix box for a number of days
now. 

All went well installing Apache, and JServ itself built okay. 

When I tried to rebuild Apache to incorporate the new JServ module
things started to go wrong. A large number of warnings started to
appear:

    cc  -DSOLARIS2=260 `../../apaci`     jserv_mkimg.c   -o
jserv_mkimg             "jserv_mkimg.c", line 63: warning: initializer
does not fit or is out of 
    range: -1
    cc jserv_mkimg.c -o jserv_mkimg "jserv_mkimg.c", line 63: warning: 
    initializer does not fit or is out of range: -1 
    ./jserv_mkimg jserv.gif jserv_image.c rm -f ./jserv_mkimg
    cc -c  -I../../os/unix -I../../include   -DSOLARIS2=260
`../../apaci`
    jserv_image.c
    "jserv_image.c", line 4: warning: initializer does not fit or is out
of 
    range: 213
    "jserv_image.c", line 8: warning: initializer does not fit or is out
of 
    range: 183
    "jserv_image.c", line 9: warning: initializer does not fit or is out
of 
    range: 255

etc.

As these are just warnings I would have just ignored them (as you do!).
The problem is that the "apachectl start" command refuses to run, giving
the error message:

    Invalid command 'ApJServManual', perhaps mis-spelled or defined by a
    module not included in the server configuration

Running the command "httpd -l" shows that the mod_jserv.c module has not
been compiled in to my Apache build, hence the failure to recognise the
'ApJServManual' command I guess.

I am using 

    Solaris 2.6
    JDK 1.1.3
    JSDK 2.0
    JServ 1.0b3

and the Sun cc compiler and make program.

A question almost identical to this one was posted to the list in early
January by Greg Gruz:

<http://list.working-dogs.com/lists/Java-Apache-Users/java-apache-users%20Di%2001-07-99>

I have mailed Greg directly to see if he ever got an answer or resolved
the problem. Unfortunately he hasn't been able to fix it. 

Any help very gratefully accepted.
-- 
Noel McNulty


----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://www.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to