www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Saccoccio <r...@InfiniteTechnology.com>
Subject config/2289: TestCompile fails because make assumes its running in the Makefile directory
Date Tue, 26 May 1998 22:06:02 GMT

>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:     robs@InfiniteTechnology.com
>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 <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Mime
View raw message