httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45773] New: pcre build generates sources to srcdir rather than builddir
Date Wed, 10 Sep 2008 00:39:52 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45773

           Summary: pcre build generates sources to srcdir rather than
                    builddir
           Product: Apache httpd-2
           Version: 2.0.63
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: Eric.D.Friedman@wellsfargo.com


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


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message