Compiling Apache2 fails

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


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-03-2003
Johannes Lichtenberger
 
Posts: n/a
Default Compiling Apache2 fails

,----[ 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
  #2 (permalink)  
Old 12-04-2003
TowerOfPower
 
Posts: n/a
Default Re: Compiling Apache2 fails

> | 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
  #3 (permalink)  
Old 12-04-2003
Anonymous
 
Posts: n/a
Default Re: Compiling Apache2 fails

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.
  #4 (permalink)  
Old 12-05-2003
Johannes Lichtenberger
 
Posts: n/a
Default Re: Compiling Apache2 fails

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
  #5 (permalink)  
Old 12-05-2003
Anonymous
 
Posts: n/a
Default Re: Compiling Apache2 fails

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?
  #6 (permalink)  
Old 12-05-2003
Johannes Lichtenberger
 
Posts: n/a
Default Re: Compiling Apache2 fails

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
  #7 (permalink)  
Old 12-06-2003
Anonymous
 
Posts: n/a
Default Re: Compiling Apache2 fails

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.
  #8 (permalink)  
Old 12-06-2003
Johannes Lichtenberger
 
Posts: n/a
Default Re: Compiling Apache2 fails

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
  #9 (permalink)  
Old 12-07-2003
Anonymous
 
Posts: n/a
Default Re: Compiling Apache2 fails

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.
  #10 (permalink)  
Old 12-07-2003
TowerOfPower
 
Posts: n/a
Default Re: Compiling Apache2 fails

>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.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0