[Bug 191471] [patch] www/mod_perl2 does not build against apache24

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 21 04:28:11 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191471

--- Comment #23 from kovert at omniscient.com ---
Once built, it seems to work fine on FreeBSD 10 STABLE/amd64 against:

apache24-2.4.10_1              Version 2.4.x of Apache web server
perl5-5.20.0_3                 Practical Extraction and Report Language

I did notice that when building it, Mk/bsd.apache.mk around line 281 has:

.if exists(${HTTPD})
_APACHE_VERSION!=       ${HTTPD} -V | ${SED} -ne 's/^Server version:
Apache\/\([
0-9]\)\.\([0-9]*\).*/\1\2/p'
.elif defined(APACHE_PORT)
_APACHE_VERSION!=       ${ECHO_CMD} ${APACHE_PORT} | ${SED} -ne
's,.*/apache\([0
-9]*\).*,\1,p'
.endif

On a machine that would normally have mod_perl installed but does not because I
am rebuilding it, httpd fails to run due to configuration syntax errors and
thus the build fails.

A quick test shows that httpd -v will work regardless of if the server will
start, where -V requires it, so I would suggest switching to -v.  Please let me
know if that should be in another bugzilla ticket.

-Todd

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-apache mailing list