>Number:         4220
>Category:       general
>Synopsis:       JServ1.0b3 build fails if srcdir != builddir
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Apr  9 18:10:01 PDT 1999
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.0b3
>Environment:
Any
>Description:

It appears as though the Makefile.am are buggy in that they do not
prefix .deps with the source directory.  As a result, make shows:

Making all in src
make[1]: Entering directory `/opt/Apache-JServ-1.0b3/obj/src'
Making all in c
make[2]: Entering directory `/opt/Apache-JServ-1.0b3/obj/src/c'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/Apache-JServ-1.0b3/obj/src/c'
Making all in java
make[2]: Entering directory `/opt/Apache-JServ-1.0b3/obj/src/java'
Makefile:192: .deps: No such file or directory
make[2]: *** No rule to make target `.deps'.  Stop.
make[2]: Leaving directory `/opt/Apache-JServ-1.0b3/obj/src/java'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/Apache-JServ-1.0b3/obj/src'
make: *** [all-recursive] Error 1

>How-To-Repeat:
Simply configure and make, like so
mkdir obj
cd obj
../configure --with-jsdk=...
make
>Fix:
Prefix references to files in the source tree with the source tree prefix.
>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!         ]



Reply via email to