Re: Problem in compiling mod_ssl + apache in HP-UX

1999-11-09 Thread Kari Savolainen

On Mon, 8 Nov 1999, EXT Ralf S. Engelschall wrote:
> 
> > I get strange error when trying to compile mod_ssl+apache in HP-UX 11.00.
> > This is the whole process that I have done plus the error message:
> > 
> > [...]
> > flex -Pssl_expr_yy -s -B ssl_expr_scan.l
> > "ssl_expr_scan.l", line 89: bad character: %
> > "ssl_expr_scan.l", line 90: unknown error processing section 1
> > "ssl_expr_scan.l", line 90: bad character: %
> > "ssl_expr_scan.l", line 91: unknown error processing section 1
> > *** Error exit code 1
> 
> 2. ssl_expr_scan.l:89 is fine. I don't know what brain-dead
>flex you've installed, but the source is correct and should pass flex
>successfully. Try upgrading or re-installing your flex.  Or forget this
>issue and fix 1) by doing "touch ssl_expr_scan.c ssl_expr_parse.c
>ssl_expr_parse.h".

Yeap, the problem was that flex which was found first in my PATH was
an old version (2.4.7), there was flex 2.5.3 in the system as well and
using that fixed my problem, thanks for everyone who replied. 

// kari

# Kari Savolainen, Software Engineer, Nokia Networks. 
# [EMAIL PROTECTED]
# Phone/work: +358-3-2577644 GSM: +358-40-7472650

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



RE: Problem in compiling mod_ssl + apache in HP-UX

1999-11-08 Thread Hansknecht, Deborah A

Isn't your error coming from the flex command? Perhaps you need a newer
version of flex. I (just yesterday) compiled fine on HPUX V10.20 after I
grabbed a new copy of GNU flex (V2.5.4) from ftp.gnu.org/gnu/flex. 

Deborah Hansknecht
Sandia National Labs
[EMAIL PROTECTED]

-Original Message-
From: Kari Savolainen [mailto:[EMAIL PROTECTED]]
Sent: November 08, 1999 6:10 AM
To: [EMAIL PROTECTED]
Subject: Problem in compiling mod_ssl + apache in HP-UX



I get strange error when trying to compile mod_ssl+apache in HP-UX 11.00.
This is the whole process that I have done plus the error message:

% setenv CC cc 
% setenv CFLAGS '-D_HPUX_SOURCE -DOPVERSION=1100 +DAportable \
+DSPA7100LC -DSYSV -Ae -I/usr/local/ssl/include/openssl'

% tar xf apache_1.3.9.tar
% tar xf mod_ssl-2.4.8-1.3.9.tar
% tar xf openssl-0.9.4.tar
% cd openssl-0.9.4; ./config; make 
 -> OpenSSL compiles without warnings

% cd ../mod_ssl-2.4.8-1.3.9
% ./configure --with-apache=../apache_1.3.9 --with-ssl=../openssl-0.9.4 \
--prefix=/local/apache
% cd ../apache_1.3.9
% make
  -> Seems to compile OK until...

cc -c  -I../../os/unix -I../../include   -DHPUX11 -Aa
-D_HPUX_SOURCE -DMOD_SSL=204108 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT
-I../../lib/expat-lite -D_HPUX_SOURCE -DOPVERSION=1100 +DAportable
+DSPA7100LC -DSYSV -Ae -I/usr/local/ssl/include/openssl `../../apaci`
-DSSL_COMPAT -I/users/kvsavola/p3mozila/openssl-0.9.4/include
-DMOD_SSL_VERSION=\"2.4.8\" ssl_expr.c
flex -Pssl_expr_yy -s -B ssl_expr_scan.l
"ssl_expr_scan.l", line 89: bad character: %
"ssl_expr_scan.l", line 90: unknown error processing section 1
"ssl_expr_scan.l", line 90: bad character: %
"ssl_expr_scan.l", line 91: unknown error processing section 1
*** Error exit code 1

Stop.

Now, what is my problem?? Am I missing some compiler flag or have I
configured mod_ssl or openssl packages wrong? I'd very much appreciate any
help you can give me, thanks. 

// kari


# Kari Savolainen, Software Engineer, Nokia Networks. 
# [EMAIL PROTECTED]
# Phone/work: +358-3-2577644 GSM: +358-40-7472650

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Re: Problem in compiling mod_ssl + apache in HP-UX

1999-11-08 Thread Ralf S. Engelschall

On Mon, Nov 08, 1999, Kari Savolainen wrote:

> I get strange error when trying to compile mod_ssl+apache in HP-UX 11.00.
> This is the whole process that I have done plus the error message:
> 
> [...]
> flex -Pssl_expr_yy -s -B ssl_expr_scan.l
> "ssl_expr_scan.l", line 89: bad character: %
> "ssl_expr_scan.l", line 90: unknown error processing section 1
> "ssl_expr_scan.l", line 90: bad character: %
> "ssl_expr_scan.l", line 91: unknown error processing section 1
> *** Error exit code 1
> 
> Stop.
> Now, what is my problem?? Am I missing some compiler flag or have I
> configured mod_ssl or openssl packages wrong? I'd very much appreciate any
> help you can give me, thanks. 

1. Your filesystem timestamps seem to be messed up, because
   the lex and yacc targets should never be triggered for
   end users (as long as they haven't messed up timestamps
   in src/modules/ssl/).

2. ssl_expr_scan.l:89 is fine. I don't know what brain-dead
   flex you've installed, but the source is correct and should pass flex
   successfully. Try upgrading or re-installing your flex.  Or forget this
   issue and fix 1) by doing "touch ssl_expr_scan.c ssl_expr_parse.c
   ssl_expr_parse.h".

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]