You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/08/04 17:55:47 UTC
DO NOT REPLY [Bug 43033] New: - apxs does not correctly detect module name (w/o -n) when passing a .so module file
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
DO NOT REPLY [Bug 43033] - apxs does not correctly detect module name (w/o -n) when passing a .so module file
Posted by bu...@apache.org.
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
------- Additional Comments From eddie@omegaware.com 2007-08-04 08:56 -------
Created an attachment (id=20598)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20598&action=view)
patch for apxs.in from SVN trunk as of 5 minutes ago
--
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
DO NOT REPLY [Bug 43033] - apxs does not correctly detect module name (w/o -n) when passing a .so module file
Posted by bu...@apache.org.
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
davi@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
--
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