You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Jim Patterson <Ji...@Cognos.COM> on 2000/12/13 20:43:47 UTC

build/6976: Windows makefile does not build completely

>Number:         6976
>Category:       build
>Synopsis:       Windows makefile does not build completely
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Dec 13 11:50:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jim.Patterson@Cognos.COM
>Release:        2.0a9
>Organization:
apache
>Environment:
Windows 2000 SP1
Microsoft Visual C++ 6.0
>Description:
This is a Windows-specific problem with makefile.win

When I try to build Apache using the supplied makefile.win file, it fails when it reaches the line
   cd srclib\sdbm

The Apache 2.0a9 source archive does not have this directory.

There is another problem later on, when "perl" is invoked to create the config files. A syntax error is encountered on line 10 when $_ is expanded. It appears that this is being expanded by NMAKE and not being passed through literally to Perl.
>How-To-Repeat:
Pick up the apache_2.0a9.tar.gz archive and extract it into a clean directory.
Run Developer Studio, open up the workspace Apache.dsw, and export makefiles for all projects.
Now, from a command shell, run "nmake /f makefile.win installr".
The invocation of nmake will fail at the line noted above.
>Fix:
Comment out the line "cd srclib\sdbm" and the two following, or else include the missing directory.
In the "perl" input script, change $_ to $$_
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@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!     ]