apache_1.3.31 & Solaris 9

From: Ralf Wiegand (rwiegand_at_tmltechnologies.com)
Date: 06/24/04


Date: Thu, 24 Jun 2004 11:58:31 GMT

Hello -
I got the following problem.
Solaris 9 04/04 w/ gcc3.4.0/ latest:
curl
php
mysql
openssl.0.9.7c
apache 1.3.31

Final apache compile error message:

pat-lite `../../apaci` -fPIC -DSHARED_MODULE -DSSL_COMPAT -DSSL_ENGINE
-I/opt/op
enssl-0.9.7c/include -DMOD_SSL_VERSION=\"2.8.18\" ssl_expr_scan.c && mv
ssl_expr
_scan.o ssl_expr_scan.lo
lex.ssl_expr_yy.c:1900: error: parse error before numeric constant
lex.ssl_expr_yy.c: In function `ssl_expr_yy_scan_string':
lex.ssl_expr_yy.c:1901: error: number of arguments doesn't match prototype
lex.ssl_expr_yy.c:293: error: prototype declaration
lex.ssl_expr_yy.c:1903: warning: passing arg 1 of `strlen' makes pointer
from in
teger without a cast
lex.ssl_expr_yy.c:1903: warning: passing arg 1 of
`ssl_expr_yy_scan_bytes' makes
  pointer from integer without a cast
*** Error code 1
make: Fatal error: Command failed for target `ssl_expr_scan.lo'
Current working directory /opt/apache_1.3.31/src/modules/ssl
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /opt/apache_1.3.31/src/modules
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /opt/apache_1.3.31/src
*** Error code 1
make: Fatal error: Command failed for target `build-std'
Current working directory /opt/apache_1.3.31
*** Error code 1
make: Fatal error: Command failed for target `build'

I ran:
./configure --enable-module=ssl \
--enable-module=so --activate-module=src/modules/php4/libphp4.a \
--enable-module=php4 \
--prefix=/usr/local/apache \
--enable-shared=ssl

Can anybody help or point me in the right direction.

Thank YOU
Ralf Wiegand
E-mail: rwiegand@tmltechnologies.com