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: [email protected] ReportedBy: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
