>Number: 3374
>Category: mod_jserv
>Synopsis: Cannot compile JServ with Apache
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: jserv
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Tue Nov 10 15:10:00 PST 1998
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.3.3+19981110
>Environment:
Solaris 2.6
JDK 1.1.5
JSDK 2.0
>Description:
I am trying to install JServ-19981110 on Solaris 2.6.x with Apache
1.3.3. I get the following error,
ranlib libstandard.a
<=== src/modules/standard
===> src/modules/jserv
Makefile:106: warning: overriding commands for target `libjserv.a'
Makefile:58: warning: ignoring old commands for target `libjserv.a'
gcc -c -I../../os/unix -I../../include -DSOLARIS2=260 `../../apaci`
mod_jserv.c
gcc -c -I../../os/unix -I../../include -DSOLARIS2=260 `../../apaci`
jserv_protocols.c
gcc -c -I../../os/unix -I../../include -DSOLARIS2=260 `../../apaci`
jserv_status.c
gcc -c -I../../os/unix -I../../include -DSOLARIS2=260 `../../apaci`
jserv_utils.c
gcc -c -I../../os/unix -I../../include -DSOLARIS2=260 `../../apaci`
jserv_ajpv11.c
gcc -c -I../../os/unix -I../../include -DSOLARIS2=260 `../../apaci`
jserv_wrapper.c
gcc -c -I../../os/unix -I../../include -DSOLARIS2=260 `../../apaci`
jserv_wrapper_unix.c
gcc jserv_mkimg.c -o jserv_mkimg
./jserv_mkimg
./jserv_mkimg: usage: "./jserv_mkimg image_file c_file"
gmake[4]: *** [jserv_image.c] Error 1
gmake[3]: *** [all] Error 1
gmake[2]: *** [subdirs] Error 1
gmake[2]: Leaving directory `/home/web/src/apache_1.3.3/src'
gmake[1]: *** [build-std] Error 2
gmake[1]: Leaving directory `/home/web/src/apache_1.3.3'
gmake: *** [build] Error 2
>How-To-Repeat:
>Fix:
The apache_1.3.3/src/modules/jserv/Makefile looks like:
jserv_image.c: jserv_mkimg
$(CC) jserv_mkimg.c -o jserv_mkimg
./jserv_mkimg
rm -f ./jserv_mkimg
But I think it should be,
jserv_image.c: jserv_mkimg
$(CC) jserv_mkimg.c -o jserv_mkimg
./jserv_mkimg jserv.gif jserv_image.c
rm -f ./jserv_mkimg
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request ]
[from a developer. ]
[Reply only with text; DO NOT SEND ATTACHMENTS! ]