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 43033] New: - apxs does not correctly detect module name (w/o -n) when passing a .so module file
Date Sat, 04 Aug 2007 15:55:47 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=43033>.
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=43033

           Summary: apxs does not correctly detect module name (w/o -n) when
                    passing a .so module file
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: support
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: eddie@omegaware.com


when running apxs -i on an already compiled module, apxs fails to detect the
module name. 
example:
 apxs -i mod_mymodule.so
 apxs:Error: Sorry, cannot determine bootstrap symbol name.
 apxs:Error: Please specify one with option `-n'.

however if you do a compile
 apxs -ci mod_mymodule.c
it works correctly.

The issue seems to be w/ the detection code circa line 513 in support/apxs.in (SVN)

if the ".c" check for the module fails, then it tries to detect from the module
filename stripping off the trailing extension. However, the ".c" check already
stripped off the extension so the regular expression
 if ($base =~ m|.*mod_([a-zA-Z0-9_]+)\..+|) {
fails as $base == "mod_mymodule";  at this point
the Reg expression should be changed to 
 if ($base =~ m|.*mod_([a-zA-Z0-9_]+)|) {

-- 
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