https://issues.apache.org/bugzilla/show_bug.cgi?id=46409
Summary: Apache 2.2.11 - Solaris 10 - Compile failure at SSL due
to dependency on Flex
Product: Apache httpd-2
Version: 2.2.11
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: [email protected]
ReportedBy: [email protected]
Compilation of Apache 2.2.11 on Solaris 10 fails due to dependency on flex in
the SSL module.
The Configuration option used is:
./configure --with-mpm=worker --prefix=/usr/local/apache2
--enable-mods-shared=all --enable-ssl --with-ssl=/usr/local/ssl --enable-proxy
--enable-proxy-http
When i run make, the compilation will eventually get the following error:
Building shared: mod_ssl.la
make[4]: Entering directory `/usr/share/src/httpd-2.2.11/modules/ssl'
flex -Pssl_expr_yy -s -B /usr/src/httpd-2.2.11/modules/ssl/ssl_expr_scan.l
/bin/bash: flex: command not found
make[4]: *** [ssl_expr_scan.c] Error 127
make[4]: Leaving directory `/usr/share/src/httpd-2.2.11/modules/ssl'
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory `/usr/share/src/httpd-2.2.11/modules/ssl'
make[2]: *** [shared-build-recursive] Error 1
make[2]: Leaving directory `/usr/share/src/httpd-2.2.11/modules'
make[1]: *** [shared-build-recursive] Error 1
make[1]: Leaving directory `/usr/share/src/httpd-2.2.11'
make: *** [all-recursive] Error 1
This same configure and compile command works fine in http 2.2.10. Checking
the Makefile in /usr/src/httpd-2.2.11/modules/ssl, i can see the following:
#
# developer stuff
# (we really don't expect end users to use these targets!)
#
ssl_expr_scan.c: $(top_srcdir)/modules/ssl/ssl_expr_scan.l ssl_expr_parse.h
flex -Pssl_expr_yy -s -B $(top_srcdir)/modules/ssl/ssl_expr_scan.l
sed -e '/$$Header:/d' -e "s|\"`pwd`/|\"|g" <lex.ssl_expr_yy.c
>ssl_expr_scan.c && rm -f lex.ssl_expr_yy.c
Assuming that the comment is correct and end users should not use those
targets, then why did flex run in the first place?
Compilation on a Linux server (Debian build) is successful, even without flex.
On Solaris 10, manually removing those "developer stuff" targets produce a
successful compile and fully running server.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]