Operating System - HP-UX
1833756 Members
2541 Online
110063 Solutions
New Discussion

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.

3 REPLIES 3
Kent Ostby
Honored Contributor

Re: apache+mod_ssl+openssl question~

I've seen something similar if different compiler versions are used or options for one compiler are used for part of a build which isn't available for this part of the build.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Steven E. Protter
Exalted Contributor

Re: apache+mod_ssl+openssl question~

Is there a reason why you've not just downloaded the depots from software.hp.com and swinstalled them?

HP's distribution allows for 64 bit apache and 32 bit app's to run correctly on platform.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
rick jones
Honored Contributor

Re: apache+mod_ssl+openssl question~

The _specific_ problem is that the makefile path in the first case it tyring to find the GNU lexical parser called "flex" which is a replacement for the traditional lexical parser called "lex"

So, one way to resolve this problem with the code being non-portable is to locate and install flex. Likely as not, if the makefile wants flex, it may also want "bison" which is a replacement for the traditional tool called "yacc"

Or, as suggested, you might install the Apache etc that HP already provides. Heck, if secure webserving performance is a concern for you, you might consider Zeus Web Server - www.zeus.com
there is no rest for the wicked yet the virtuous have no pillows