Bug 45773

Summary: pcre build generates sources to srcdir rather than builddir
Product: Apache httpd-2 Reporter: Eric Friedman <Eric.D.Friedman>
Component: BuildAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: RESOLVED LATER    
Severity: normal Keywords: MassUpdate
Priority: P2    
Version: 2.0.63   
Target Milestone: ---   
Hardware: All   
OS: Linux   

Description Eric Friedman 2008-09-09 17:39:51 UTC
It's common practice with the automake tools to run configure and make in a different directory than the one in which the sources are kept.  It's also common in such scenarios to use a read-only source repository.

The sub-build for pcre does not work in this configuration.  The reason is that the build includes a generated source file called "chartables.c"  The build process writes that file out to the $(srcdir) and then reads it from there.

Changing the two references to $(srcdir)/chartables.c to $(builddir)chartables.c resolves the problem and allows apache to (again) work in the build scenario described above.  

This is as simple as editing Makefile.in in srclib/pcre
Comment 1 William A. Rowe Jr. 2018-11-07 21:08:44 UTC
Please help us to refine our list of open and current defects; this is a mass update of old and inactive Bugzilla reports which reflect user error, already resolved defects, and still-existing defects in httpd.

As repeatedly announced, the Apache HTTP Server Project has discontinued all development and patch review of the 2.2.x series of releases. The final release 2.2.34 was published in July 2017, and no further evaluation of bug reports or security risks will be considered or published for 2.2.x releases. All reports older than 2.4.x have been updated to status RESOLVED/LATER; no further action is expected unless the report still applies to a current version of httpd.

If your report represented a question or confusion about how to use an httpd feature, an unexpected server behavior, problems building or installing httpd, or working with an external component (a third party module, browser etc.) we ask you to start by bringing your question to the User Support and Discussion mailing list, see [https://httpd.apache.org/lists.html#http-users] for details. Include a link to this Bugzilla report for completeness with your question.

If your report was clearly a defect in httpd or a feature request, we ask that you retest using a modern httpd release (2.4.33 or later) released in the past year. If it can be reproduced, please reopen this bug and change the Version field above to the httpd version you have reconfirmed with.

Your help in identifying defects or enhancements still applicable to the current httpd server software release is greatly appreciated.