This is a discussion on Compiling Apache2 fails within the Windows Web Servers forums, part of the Web Server and Related Forums category; ,----[ compiling Apache2 - Error ] | D:\httpd\httpd-2.0.48>nmake /f makefile.win INSTDIR="D:\Webserver\Apache2" | ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
,----[ compiling Apache2 - Error ]
| D:\httpd\httpd-2.0.48>nmake /f makefile.win INSTDIR="D:\Webserver\Apache2" | 80 SERVERNAME="localhost" SHORT=R LONG=Release_install | | Microsoft (R) Program Maintenance Utility Version 1.50 | Copyright (c) Microsoft Corp 1988-94. All rights reserved. | | | Microsoft (R) Program Maintenance Utility Version 1.50 | Copyright (c) Microsoft Corp 1988-94. All rights reserved. | | echo Building Win32 Release targets (R suffixes) | Building Win32 Release targets (R suffixes) | cd srclib\apr | nmake -f apr.mak CFG="apr - Win32 Release" RECURSE=0 | | Microsoft (R) Program Maintenance Utility Version 1.50 | Copyright (c) Microsoft Corp 1988-94. All rights reserved. | | apr.mak(112) : fatal error U1088: invalid separator '::' on inference rule | Stop. | NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x2' | Stop. | NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x2' | Stop. `---- I've tried to compile(Microsoft Visual Studio .NET 2003) Apache2, but it fails :-/ How do I get rid of this error? -- Johannes Lichtenberger · http://www.nabooisland.com |
|
|||
|
> | echo Building Win32 Release targets (R suffixes)
> | Building Win32 Release targets (R suffixes) > | cd srclib\apr > | nmake -f apr.mak CFG="apr - Win32 Release" RECURSE=0 > | > | Microsoft (R) Program Maintenance Utility Version 1.50 > | Copyright (c) Microsoft Corp 1988-94. All rights reserved. > | > | apr.mak(112) : fatal error U1088: invalid separator '::' on inference rule > | Stop. > | NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x2' > | Stop. > | NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x2' > | Stop. > `---- > > I've tried to compile(Microsoft Visual Studio .NET 2003) Apache2, but it > fails :-/ > > How do I get rid of this error? Apache2 win32 build requires several additional tools: awk, sed, flex, bison, Perl Also, Apache 2.0.48 has a problem with the build process, were a config file is missing. Though it looks like your problem is before this. It could be an environment issue, or something else. Check out the instructions under http://www.devside.net |
|
|||
|
TowerOfPower wrote:
> > I've tried to compile(Microsoft Visual Studio .NET 2003) Apache2, but it > > fails :-/ > > > > How do I get rid of this error? > > Apache2 win32 build requires several additional tools: awk, sed, flex, > bison, Perl The only thing required for compiling Apache on win32 is awk. He'll also need Perl though, if he plans on using SSL because OpenSSL requires Perl. |
|
|||
|
Anonymous <nobody@nowhere.com> wrote:
> TowerOfPower wrote: > >> > I've tried to compile(Microsoft Visual Studio .NET 2003) Apache2, but it >> > fails :-/ >> > >> > How do I get rid of this error? >> >> Apache2 win32 build requires several additional tools: awk, sed, flex, >> bison, Perl > > The only thing required for compiling Apache on win32 is awk. He'll also > need Perl though, if he plans on using SSL because OpenSSL requires > Perl. I have got the GnuUtils and awk resides in my system32 folder. What does .... apr.mak(112) : fatal error U1088: invalid separator '::' on inference rule Stop. .... mean? Why does it fail to compile? -- Johannes Lichtenberger · http://www.nabooisland.com |
|
|||
|
Johannes Lichtenberger wrote:
> >> > I've tried to compile(Microsoft Visual Studio .NET 2003) Apache2, but it > >> > fails :-/ > >> > > >> > How do I get rid of this error? > >> > >> Apache2 win32 build requires several additional tools: awk, sed, flex, > >> bison, Perl > > > > The only thing required for compiling Apache on win32 is awk. He'll also > > need Perl though, if he plans on using SSL because OpenSSL requires > > Perl. > > I have got the GnuUtils and awk resides in my system32 folder. What does > > ... > apr.mak(112) : fatal error U1088: invalid separator '::' on inference rule > Stop. > ... > > mean? Why does it fail to compile? Try to compile using this command: nmake /f Makefile.win installr INSTDIR=c:\Apache Does your compiler still give you the same error? |
|
|||
|
Anonymous <nobody@nowhere.com> wrote:
[Compiling Apache2 - Error] > nmake /f Makefile.win installr INSTDIR=c:\Apache > > Does your compiler still give you the same error? Yes, the same. -- Johannes Lichtenberger · http://www.nabooisland.com |
|
|||
|
On Fri, 05 Dec 2003 15:13:46 +0100, Johannes Lichtenberger wrote:
> Anonymous <nobody@nowhere.com> wrote: > > [Compiling Apache2 - Error] > >> nmake /f Makefile.win installr INSTDIR=c:\Apache >> >> Does your compiler still give you the same error? > > Yes, the same. Strange. I also use VS .NET (not the 2003 version though) and have never seen that error. But since 2.0.48 can't be successfully compiled on win32 anyway (It will bail out of the compilation process closer at the end.) have a go at 2.0.47, perhaps you have more luck with that. |
|
|||
|
Anonymous <nobody@nowhere.com> wrote:
> On Fri, 05 Dec 2003 15:13:46 +0100, Johannes Lichtenberger wrote: > >> Anonymous <nobody@nowhere.com> wrote: >> >> [Compiling Apache2 - Error] >> >>> nmake /f Makefile.win installr INSTDIR=c:\Apache >>> >>> Does your compiler still give you the same error? >> >> Yes, the same. > > Strange. I also use VS .NET (not the 2003 version though) and have never > seen that error. Hmm, it's .NET Framework SDK version 1.1 (2003). > But since 2.0.48 can't be successfully compiled on win32 anyway (It will > bail out of the compilation process closer at the end.) have a go at > 2.0.47, perhaps you have more luck with that. Shouldn't it work? (http://www.devside.net/web/server/win32/apache) Maybe they can help me -- <http://forums.devside.net/viewforum.php?f=2> Well, I now have installed their binary with mod_perl, CGI-PHP... and it works fine. -- Johannes Lichtenberger · http://www.nabooisland.com |
|
|||
|
Johannes Lichtenberger wrote:
> > But since 2.0.48 can't be successfully compiled on win32 anyway (It will > > bail out of the compilation process closer at the end.) have a go at > > 2.0.47, perhaps you have more luck with that. > > Shouldn't it work? (http://www.devside.net/web/server/win32/apache) > Maybe they can help me -- <http://forums.devside.net/viewforum.php?f=2> > > Well, I now have installed their binary with mod_perl, CGI-PHP... and it > works fine. It exits with an error when creating the default SSL configfile, close before finishing compilation. See <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24329>. Since most of the release has already been built it is easily possible that what has been created works as expected. But then again, maybe it wont. I prefer to work with software that compiles without errors, so I'll wait for the next version and stick with .47 in the meanwhile. |
|
|||
|
>Anonymous (nobody@nowhere.com)
> >But since 2.0.48 can't be successfully compiled >on win32 anyway (It will bail out of the compilation >process closer at the end.) >.... >I prefer to work with software that compiles without >errors, so I'll wait for the next version and stick >with .47 in the meanwhile. The point was, we know exactly why it happens, -->where in the process this happens<--, and what the effects are. To correct this minor oversight (someone forgot to place a new raw ssl conf file into the package and write the new processor from that new config file) you simply add the one over from 2.0.47 which gets processed just fine. And if you do not? ssl.default.conf ssl.conf dbmmanage.pl ....are never created. That is the only effect, at least from my limited POV. >It exits with an error when creating the default >SSL configfile, close before finishing compilation. The compilation process is done and over with quite a while before that point. The processing of the above three files is what is left to be done. Everything else has already been build, processed, and copied over to the new Apache2 dir. This is a very trivial matter, if you are not comfortable with it, fine, but no need to blow this way out of proportion. If you know otherwise, please share. I could be mistaken. And am allot of times. As for the problem at hand, at http://www.devside.net, right under... GnuWin32 : http://gnuwin32.sourceforge.net/packages/gawk.htm Cygwin : http://cygwin.com/ ....it says [DO NOT USE UnxUtils]. This could be your problem, as the few people that did, and e-mailed us, could not get their Apache to build, no matter what we tried. This was a while ago, and maybe UnxUtils have changes a few things, but I would suggest you try the other two. |