www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andromeda <androm...@htmlworkshop.com>
Subject config/4701: compiler cannot find mod_rewrite.h if it was included using --add-module="..."
Date Mon, 05 Jul 1999 22:56:39 GMT

>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
>Originator:     andromeda@htmlworkshop.com
>Release:        1.3.6
Linux fusion 2.0.35 #6 Tue Jul 14 22:03:23 SAT 1998 i586 unknown
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 :)
Run the following code:

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

Then run "make". During configuration everything goes fine, but during compile mod_rewrite
causes an error which aborts the compile.
Copy mod_rewrite.h into the extra directory as well, not just mod_rewrite.c. Once I did that,
I had no problems compiling.
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> 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!     ]

View raw message