>Number:         4701
>Category:       config
>Synopsis:       compiler cannot find mod_rewrite.h if it was included using 
>--add-module="..."
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Jul  5 17:10:00 PDT 1999
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.6
>Environment:
Linux fusion 2.0.35 #6 Tue Jul 14 22:03:23 SAT 1998 i586 unknown
>Description:
When I run the APACI configuration script, and use the --add-module parameter 
to manually add "mod_rewrite.c" to the configuration, the configure script will 
not copy mod_rewrite.h from the "src/modules/standard" directory to the 
"src/modules/extra" directory. 

This will cause a fatal error (obviously) during the compilation of the 
mod_rewrite module. This can be fixed by copying the mod_rewrite.h file to the 
"src/modules/extra" directory manually before calling "make".

This should be fixed :)
>How-To-Repeat:
Run the following code:

./configure --prefix="/usr/local/apache" --add-module="./src/modules/standard/mo
d_rewrite.c"

Then run "make". During configuration everything goes fine, but during compile 
mod_rewrite causes an error which aborts the compile.
>Fix:
Copy mod_rewrite.h into the extra directory as well, not just mod_rewrite.c. 
Once I did that, I had no problems compiling.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <[EMAIL PROTECTED]> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]



Reply via email to