You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1997/07/24 23:31:13 UTC

Change in WANTHSREGEX (fwd)

---------- Forwarded message ----------
Date: Thu, 24 Jul 1997 14:13:44 -0500
From: Claudia Saldana <cs...@usl.com.mx>
To: apache-bugs@apache.org
Subject: Change in WANTHSREGEX

Apache team:

I had to change the WANTHSREGEX = yes for my SO wich is:
       HP-UX usl B.10.01 C 9000/807 360687231 32-user license

I executed one more time the Configure shell and the make but I got the
next errors:

# make
        (cd regex; make lib CC=cc AUX_CFLAGS=' -DHPUX10 -D_HPUX_SOURCE '
RANLIB=
'ranlib')
        rm -f *.o
        sh ./mkh  -i _REGEX_H_ regex2.h regcomp.c regerror.c regexec.c
regfree.c
 >regex.tmp
        cmp -s regex.tmp regex.h 2>/dev/null || cp regex.tmp regex.h
        rm -f regex.tmp
        cc -I. -DPOSIX_MISTAKE -DHPUX10 -D_HPUX_SOURCE  -c regcomp.c

(Bundled) cc: "regex.h", line 13: warning 5: "const" will become a
keyword.
(Bundled) cc: "regex.h", line 13: error 1000: Unexpected symbol:
"const".
(Bundled) cc: "regex.h", line 23: error 1000: Unexpected symbol: "*".
(Bundled) cc: "regex.h", line 23: warning 5: "const" will become a
keyword.
(Bundled) cc: "regex.h", line 23: error 1000: Unexpected symbol: "char".

(Bundled) cc: "regex.h", line 53: error 1000: Unexpected symbol:
"regerror".
(Bundled) cc: "regex.h", line 53: warning 5: "const" will become a
keyword.
(Bundled) cc: error 2017: Cannot recover from earlier errors,
terminating.

*** Error exit code 1

Stop.
*** Error exit code 1


Can you help me ????
What need I do ?



Re: Change in WANTHSREGEX (fwd)

Posted by Dean Gaudet <dg...@arctic.org>.
+1 on any patch which detects the default lame-ass cc on HP/UX and tells
the user to install gcc.

You could probably just do this:

cat >hpux-cc-test.c <<EOF
int foo ( const char *c )
{
return 0;
}
EOF

$CC -c hpux-cc-test.c 2>&1 | grep '"const" will become a keyword'

Dean

On Thu, 24 Jul 1997, Rob Hartill wrote:

> 
> ---------- Forwarded message ----------
> Date: Thu, 24 Jul 1997 14:13:44 -0500
> From: Claudia Saldana <cs...@usl.com.mx>
> To: apache-bugs@apache.org
> Subject: Change in WANTHSREGEX
> 
> Apache team:
> 
> I had to change the WANTHSREGEX = yes for my SO wich is:
>        HP-UX usl B.10.01 C 9000/807 360687231 32-user license
> 
> I executed one more time the Configure shell and the make but I got the
> next errors:
> 
> # make
>         (cd regex; make lib CC=cc AUX_CFLAGS=' -DHPUX10 -D_HPUX_SOURCE '
> RANLIB=
> 'ranlib')
>         rm -f *.o
>         sh ./mkh  -i _REGEX_H_ regex2.h regcomp.c regerror.c regexec.c
> regfree.c
>  >regex.tmp
>         cmp -s regex.tmp regex.h 2>/dev/null || cp regex.tmp regex.h
>         rm -f regex.tmp
>         cc -I. -DPOSIX_MISTAKE -DHPUX10 -D_HPUX_SOURCE  -c regcomp.c
> 
> (Bundled) cc: "regex.h", line 13: warning 5: "const" will become a
> keyword.
> (Bundled) cc: "regex.h", line 13: error 1000: Unexpected symbol:
> "const".
> (Bundled) cc: "regex.h", line 23: error 1000: Unexpected symbol: "*".
> (Bundled) cc: "regex.h", line 23: warning 5: "const" will become a
> keyword.
> (Bundled) cc: "regex.h", line 23: error 1000: Unexpected symbol: "char".
> 
> (Bundled) cc: "regex.h", line 53: error 1000: Unexpected symbol:
> "regerror".
> (Bundled) cc: "regex.h", line 53: warning 5: "const" will become a
> keyword.
> (Bundled) cc: error 2017: Cannot recover from earlier errors,
> terminating.
> 
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> 
> Can you help me ????
> What need I do ?
> 
> 
> 


Re: Change in WANTHSREGEX (fwd)

Posted by Marc Slemko <ma...@worldgate.com>.
You can't use HPUX's bundled cc to compile Apache.  You either need their
$$$ compiler or gcc.

> 
> ---------- Forwarded message ----------
> Date: Thu, 24 Jul 1997 14:13:44 -0500
> From: Claudia Saldana <cs...@usl.com.mx>
> To: apache-bugs@apache.org
> Subject: Change in WANTHSREGEX
> 
> Apache team:
> 
> I had to change the WANTHSREGEX = yes for my SO wich is:
>        HP-UX usl B.10.01 C 9000/807 360687231 32-user license
> 
> I executed one more time the Configure shell and the make but I got the
> next errors:
> 
> # make
>         (cd regex; make lib CC=cc AUX_CFLAGS=' -DHPUX10 -D_HPUX_SOURCE '
> RANLIB=
> 'ranlib')
>         rm -f *.o
>         sh ./mkh  -i _REGEX_H_ regex2.h regcomp.c regerror.c regexec.c
> regfree.c
>  >regex.tmp
>         cmp -s regex.tmp regex.h 2>/dev/null || cp regex.tmp regex.h
>         rm -f regex.tmp
>         cc -I. -DPOSIX_MISTAKE -DHPUX10 -D_HPUX_SOURCE  -c regcomp.c
> 
> (Bundled) cc: "regex.h", line 13: warning 5: "const" will become a
> keyword.
> (Bundled) cc: "regex.h", line 13: error 1000: Unexpected symbol:
> "const".
> (Bundled) cc: "regex.h", line 23: error 1000: Unexpected symbol: "*".
> (Bundled) cc: "regex.h", line 23: warning 5: "const" will become a
> keyword.
> (Bundled) cc: "regex.h", line 23: error 1000: Unexpected symbol: "char".
> 
> (Bundled) cc: "regex.h", line 53: error 1000: Unexpected symbol:
> "regerror".
> (Bundled) cc: "regex.h", line 53: warning 5: "const" will become a
> keyword.
> (Bundled) cc: error 2017: Cannot recover from earlier errors,
> terminating.
> 
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> 
> Can you help me ????
> What need I do ?
> 
>