httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43561] New: - apxs -q anomaly
Date Fri, 05 Oct 2007 15:27:53 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43561>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43561

           Summary: apxs -q anomaly
           Product: Apache httpd-2
           Version: 2.2.6
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: PatchAvailable
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: md.mirzar@gmail.com


Executing apxs (from httpd 2.2.6) -q LIBEXEC returns an empty string. This was
discovered during building of php-5.2.4 against httpd-2.2.6. It was caused by
the variable libexecdir in config_vars.mk being assigned to ${libdir}/httpd.
Changing the variable assignment to ${exec_prefix}/lib/httpd provides the
expected result. Upon further investigation of the apxs script, apparently the
get_vars() function was unable to perform proper variable substitution and
adding the following modifications to the apxs script provides the solution:

my $libdir = get_vars("libdir")
my $CFG_LIBDIR = eval qq("$libdir")

my %internal_vars = map {$_ => 1}
    qw(TARGET .. LIBDIR .. SYSCONFDIR);
                 ^^^^^^

Can someone please check the modifications as I am not proficient in perl and
was only guessing.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message