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 2005/05/14 03:57:09 UTC

DO NOT REPLY [Bug 34915] New: - Installing Apache 2.1.5-dev using Makefile.win fails

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=34915>.
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=34915

           Summary: Installing Apache 2.1.5-dev using Makefile.win fails
           Product: Apache httpd-2.0
           Version: 2.1-HEAD
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: pencilethics@gmail.com


Errors in the _install target (which is called by installd and installr) of
Makefile.win in trunk (Revision 170110 - 2.1.5-dev) prevent a successful
install; a trivial error in the configuration copying portion causes nmake to
choke when copying httpd-dav.conf to the install location. This error is only
visible on a "fresh" install; the error-causing lines that cause nmake to choke
are behind "if not exists" clauses. Some additional flaws cause unnecessary
duplicate configuration files (which do not get processed by awk) to be copied
to $(INSTDIR)\conf\original.

The erroneous lines are 678-679, 664, 680, 696, 712, 728, 749, 766, 783, 786,
789 and 792. If you compare lines 678-679 with lines 694-695 you will notice
that they are identical, and careful analysis tells you that 678-679 should be
referring to httpd-autoindex.conf, not httpd-dav.conf (since httpd-dav.conf does
not exist when these lines are processed); the remaining lines copy the extra
configuration files to the incorrect location and as a result the following
lines look for them in the wrong place, producing unnecessary duplicates which
do not get processed with awk. Careful scrutiny should point out that the
offending lines should be copying the files to $(INSTDIR)\conf\original\extra,
not $(INSTDIR)\conf\original.

To avoid irritating Win32 users who compile and install from source, these
problems should be fixed. (However the only "critical" error which halts the
build process is present in lines 678-679.)

Steps to Reproduce:

1) Checkout trunk and APR (apr, apr-iconv, apr-util) from SVN repository
(Revision 170114 as of writing)
2) Build OpenSSL 0.9.7g (for mod_ssl) and zlib 1.2.2 (for mod_deflate) and copy
into srclib.
3) Open Apache.dsw in Visual C++ 6.0 and export makefiles.
4) nmake /f Makefile.win installr INSTDIR=C:\Somefolder
5) Error results during file copying - nmake halts with something to the effect
of "NMAKE Stop: copy returned 0x1 - httpd-dav.conf does not exist"

installd should produce the same error, since it also calls the _install target.

Using:
1) Windows Server 2003 SP1
2) Platform SDK for Windows XP SP2
3) Visual C++ 6.0 SP6

-- 
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