Operating System - HP-UX
1845906 Members
5070 Online
110250 Solutions
New Discussion

Re: apache+mod_ssl+openssl question~

 
전태용
Occasional Contributor

apache+mod_ssl+openssl question~

dear all , have a good time~~

i wanted to install apache+mod_ssl+openssl but i ve an error when i do next~


----------------------------------------------1.Fetch and extract the distributions of Apache, mod_ssl and OpenSSL
apache_1.3.33.tar.gz
mod_ssl-2.8.24-1.3.33.tar.gz
openssl-0.9.8.tar.gz


2.Build OpenSSL
$ cd openssl-0.9.8
$ ./config
$ make
$ cd ..
*** success***

3.Build and install the SSL-aware Apache
$ cd mod_ssl-2.8.24-1.3.33
$ ./configure \
--with-apache=../apache_1.3.33 \
--with-ssl=../openssl-0.9.8 \
--prefix=/usr/local/apache
$ cd ..
$ cd apache_1.3.33
$ make
cc -c -I../../os/unix -I../../include -DHPUX11 -Aa -Ae -D_HPUX_SOURCE
-DMOD_SSL=208124 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED
`../../apaci` -DSSL_COMPAT -DSSL_ENGINE -I/home/src/openssl-0.9.8/include -DMOD_SSL_VERS
ION=\"2.8.24\" ssl_expr.c
cpp: "../../include/ap_config.h", line 65: warning 2002: Redefinition of param names for
macro __attribute__.flex -Pssl_expr_yy -s -B ssl_expr_scan.l
Make: Cannot load flex. Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1
----------------------------------------------

my hpux system is B.11.11 and 64bit.
Why does present state ?

I try apache compile with no option.

$ rm -rf apache_1.3.33
$ tar zxvf apache_1.3.33.tar
$ cd apache_1.3.33
$ make <---*** success ***--->
$ make install <---*** success ***--->



In my opinion this error is "mod_ssl and apache" problems.

help me!!!!!
2 REPLIES 2
Derek Whigham_1
Trusted Contributor

Re: apache+mod_ssl+openssl question~

Download GCC , I from here

http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.0.2/

And then try the rebuild , the CC complier is not a good complier
Divide and Conquer
전태용
Occasional Contributor

Re: apache+mod_ssl+openssl question~

yeah I resolve this problem

flex problem~~

install flex-2.5.4a-hppa-11.11.depot.gz
(http://hpux.connect.org.uk)

after install, don't forget flex PATH~

#vi /etc/PATH

add~~~