>Number:         2289
>Category:       config
>Synopsis:       TestCompile fails because make assumes its running in the 
>Makefile directory
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue May 26 15:10:06 PDT 1998
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3b7
>Environment:
> uname -a
QNX 23 G 424 PCI 32

Watcom compiler
>Description:
TestCompile cd into the helpers directory, creates the Makefile, executes
make, but the Makefile changes directory back up to src.  Theres really no
reason to do this and it breaks make's default rule.
>How-To-Repeat:

>Fix:
*** TestCompile.orig    Sat Apr 11 11:45:59 1998
--- TestCompile Tue May 26 17:52:36 1998
***************
*** 111,120 ****
  LDFLAGS=\$(LDFLAGS1) \$(EXTRA_LDFLAGS)
  
  dummy:
!       cd ..; \$(CC) \$(CFLAGS) \$(INCLUDES) \$(LDFLAGS) helpers/dummy.c -o 
helpers/dummy $TLIB \$(LIBS)
  
  testfunc:
!       cd ..; \$(CC) \$(CFLAGS) \$(INCLUDES) \$(LDFLAGS) helpers/testfunc.c -o 
helpers/testfunc $TLIB \$(LIBS)
  EOF
  
  # Now run that Makefile
--- 111,120 ----
  LDFLAGS=\$(LDFLAGS1) \$(EXTRA_LDFLAGS)
  
  dummy:
!       \$(CC) \$(CFLAGS) \$(INCLUDES) \$(LDFLAGS) dummy.c -o dummy $TLIB 
\$(LIBS)
  
  testfunc:
!       \$(CC) \$(CFLAGS) \$(INCLUDES) \$(LDFLAGS) testfunc.c -o testfunc $TLIB 
\$(LIBS)
  EOF
  
  # Now run that Makefile
>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. ]



Reply via email to