2.2.15-win32 compile failure (config-win.h)

2.2.15-win32 compile failure (config-win.h)

am 15.03.2010 23:41:22 von Andy Wang

Hi all,
Just trying to build httpd 2.2.15 on Windows and I'm running into error:

NMAKE : fatal error U1073: don't know how to make '"config-win.h"'
Stop.

This worked fine in 2.2.14, and I did a comparison between the two trees
and it looks like in 2.2.15, alot of the dep entries were moved into the
top level of apr-util (libaprutil.dep and aprutil.dep).

Is this to be expected? I ended up googling and finding this thread:
http://www.mail-archive.com/users@httpd.apache.org/msg37255. html
which suggested:
NO_EXTERNAL_DEPS=1
which worked.

Was this an intentional change in 2.2.15? Just wondering if I should
incorporate NO_EXTERNAL_DEPS=1 permanently into my build scripts.

Thanks,
Andy

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: 2.2.15-win32 compile failure (config-win.h)

am 16.03.2010 00:06:00 von wrowe

On 3/15/2010 5:41 PM, Andy Wang wrote:
> Hi all,
> Just trying to build httpd 2.2.15 on Windows and I'm running into error:
>
> NMAKE : fatal error U1073: don't know how to make '"config-win.h"'
> Stop.

If you are building the "NT" targets, they no longer exist. I wasn't paying
attention when we moved the sources from apr 1.3.x to apr 1.4.x, where NT
became the default (e.g. Release Win32), and "Release Win9x" was added for
legacy support. Can you make sure you are trying to build 'generic' Win32?

Or can you point to the particular file and I'll fix the .mak files.

I hope to eliminate the dep problems, and then committing them for posterity,
since the source files aren't likely to be rearranged again in 2.2 (or 2.0,
or released apr flavors).

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: 2.2.15-win32 compile failure (config-win.h)

am 16.03.2010 15:44:18 von Andy Wang

On 03/15/2010 06:06 PM, William A. Rowe Jr. wrote:
>
> If you are building the "NT" targets, they no longer exist. I wasn't paying
> attention when we moved the sources from apr 1.3.x to apr 1.4.x, where NT
> became the default (e.g. Release Win32), and "Release Win9x" was added for
> legacy support. Can you make sure you are trying to build 'generic' Win32?
>
> Or can you point to the particular file and I'll fix the .mak files.
>
> I hope to eliminate the dep problems, and then committing them for posterity,
> since the source files aren't likely to be rearranged again in 2.2 (or 2.0,
> or released apr flavors).
>
>
I've got the Apache build process scripted so that instead of using the
visual studio gui to do the builds, everything is done via nmake. I
usually use the _apacher nmake target first, and installr to install it.

Looking at the aprutil.mak, it looks like the default target is the
generic Win32 Release target.
The config-win.h failure is from aprutil.dep referenced by aprutil.mak
(line 425 under the .\dbd\apr_dbd_mysql target):
{$(INCLUDE)}"config-win.h"\

I'm not that saavy with Makefiles, especially on Windows, so I don't
quite understand a couple of things, but I haven't
explicity told Apache to build the mysql dbd. Why is it trying to
process this target?

Thanks,
Andy


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: 2.2.15-win32 compile failure (config-win.h)

am 16.03.2010 18:22:06 von wrowe

On 3/16/2010 9:44 AM, Andy Wang wrote:
>
> Looking at the aprutil.mak, it looks like the default target is the
> generic Win32 Release target.
> The config-win.h failure is from aprutil.dep referenced by aprutil.mak
> (line 425 under the .\dbd\apr_dbd_mysql target):
> {$(INCLUDE)}"config-win.h"\

That's strange that it was picked up, when I export[ed] .dep's I just drop
the include paths for the DB layers, to prevent those from being resolved.

Hacking this away now; will probably tweak apr/build/fixwin32mak.pl to simply
strip off all 'generic' $(INCLUDE)'s which really shouldn't be dependencies.

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org