>Number:         2139
>Category:       config
>Synopsis:       The configure-script doesn't build ap_config.h right
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Apr 26 07:20:01 PDT 1998
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3b6
>Environment:
SunOS 5.6 Generic i86pc i386 i86pc
gcc 2.8.1
>Description:
When not using GNU versions of awk and sed the configure-script
produces the following ap_config.h (in the src/include directory):

  /* Automatically generated file - do not edit */

  #ifndef
  #define
  #endif

instead of :

  /* Automatically generated file - do not edit */

  #ifndef SOLARIS2
  #define SOLARIS2 260
  #endif

Thus, mod_php can't compile:

  # make
  gcc -O3 -m486 -DSYSV -DSVR4 -w -s -I/usr/openwin/include -I/usr/dt/include -  
I/usr/local/include -fpic  -I. -I.   -I/usr/local/apache_1.3b6/src/include -  
I/usr/local/apache_1.3b6/src/os/unix      -I/usr/local/include/mysql      -  
I/usr/local/lib/include -g -Wall     -c language-parser.tab.c -o 
language-parser.tab.o
  In file included from parser.h:167,
                   from ./language-parser.y:51:
  /usr/local/apache_1.3b6/src/include/ap_config.h:4: invalid macro name
  make: *** [language-parser.tab.o] Error 1
>How-To-Repeat:
By using the standard versions of awk and sed.
>Fix:
GNU versions of awk and sed
>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