You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by hunter <th...@gmail.com> on 2006/07/30 20:11:22 UTC
New Windows build - Apache 2.2.3
I am getting an error while building Apache 2.2.3 for Windows...
Creating library .\Release\mod_unique_id.lib and object
.\Release\mod_unique_id.exp
nmake -nologo -f mod_usertrack.mak CFG="mod_usertrack -
Win32 Release" RECURSE=0
rc.exe /l 0x409 /fo"Debug/mod_usertrack.res" /i
"../../include" /i "../../srclib/apr/include" /i "\asf
-build\build-2.2.3\build\win32" /d "_DEBUG" /d
BIN_NAME="mod_usertrack.so" /d LONG_NAME="usertrack_module for Apache"
..\..\build\win32\httpd.rc fatal error RC1109: error creating
Debug/mod_usertrack.res
NMAKE : fatal error U1077: 'rc.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'C:\MSVC7\Vc7\bin\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\MSVC7\Vc7\bin\nmake.exe' : return code '0x2'
Stop.
Any suggestions...
Chris Lewis
Re: New Windows build - Apache 2.2.3
Posted by Jorge Schrauwen <jo...@gmail.com>.
Oh sry that i wasn't very clear on the unix sournce ^^
It's a bit out dated but this should help you:
http://www.blackdot.be/?inc=apache/unix2win/index.htm
you need to manual add apr,apr-utils... and convert the source
On 7/30/06, hunter <th...@gmail.com> wrote:
> On 7/30/06, Jorge Schrauwen <jo...@gmail.com> wrote:
> > ah using visual studio 2005?
> > Try using the unix source instead... wrowe posted a notice about this.
> >
> > On 7/30/06, hunter <th...@gmail.com> wrote:
> > > I am getting an error while building Apache 2.2.3 for Windows...
> > >
> > > Creating library .\Release\mod_unique_id.lib and object
> > > .\Release\mod_unique_id.exp
> > > nmake -nologo -f mod_usertrack.mak CFG="mod_usertrack -
> > > Win32 Release" RECURSE=0
> > > rc.exe /l 0x409 /fo"Debug/mod_usertrack.res" /i
> > > "../../include" /i "../../srclib/apr/include" /i "\asf
> > > -build\build-2.2.3\build\win32" /d "_DEBUG" /d
> > > BIN_NAME="mod_usertrack.so" /d LONG_NAME="usertrack_module for Apache"
> > > ..\..\build\win32\httpd.rc fatal error RC1109: error creating
> > > Debug/mod_usertrack.res
> > > NMAKE : fatal error U1077: 'rc.exe' : return code '0x1'
> > > Stop.
> > > NMAKE : fatal error U1077: 'C:\MSVC7\Vc7\bin\nmake.exe' : return code '0x2'
> > > Stop.
> > > NMAKE : fatal error U1077: 'C:\MSVC7\Vc7\bin\nmake.exe' : return code '0x2'
> > > Stop.
> > >
> > > Any suggestions...
> > >
> > > Chris Lewis
> > >
> >
> >
> > --
> > ~Jorge
> >
>
> I may not be correct but I understood Bill's email to say that the
> problem affected those who compile with the IDE, while I compile from
> the command line.
>
> I tried compiling with SDK 2003 R2 (newer complier) but that made no
> difference.
>
> Trying to compile with unix source results with an immediate failure
> to find srclib due to forward slashes that are not recognized by
> Windows.
>
> I think there is something wrong with mod_usertrack.mak - notice the /d _DEBUG.
>
> I have tried to fix the makefile but I have still not fixed it.
>
> Chris Lewis
>
--
~Jorge
Re: New Windows build - Apache 2.2.3
Posted by hunter <th...@gmail.com>.
On 7/30/06, Jorge Schrauwen <jo...@gmail.com> wrote:
> ah using visual studio 2005?
> Try using the unix source instead... wrowe posted a notice about this.
>
> On 7/30/06, hunter <th...@gmail.com> wrote:
> > I am getting an error while building Apache 2.2.3 for Windows...
> >
> > Creating library .\Release\mod_unique_id.lib and object
> > .\Release\mod_unique_id.exp
> > nmake -nologo -f mod_usertrack.mak CFG="mod_usertrack -
> > Win32 Release" RECURSE=0
> > rc.exe /l 0x409 /fo"Debug/mod_usertrack.res" /i
> > "../../include" /i "../../srclib/apr/include" /i "\asf
> > -build\build-2.2.3\build\win32" /d "_DEBUG" /d
> > BIN_NAME="mod_usertrack.so" /d LONG_NAME="usertrack_module for Apache"
> > ..\..\build\win32\httpd.rc fatal error RC1109: error creating
> > Debug/mod_usertrack.res
> > NMAKE : fatal error U1077: 'rc.exe' : return code '0x1'
> > Stop.
> > NMAKE : fatal error U1077: 'C:\MSVC7\Vc7\bin\nmake.exe' : return code '0x2'
> > Stop.
> > NMAKE : fatal error U1077: 'C:\MSVC7\Vc7\bin\nmake.exe' : return code '0x2'
> > Stop.
> >
> > Any suggestions...
> >
> > Chris Lewis
> >
>
>
> --
> ~Jorge
>
I may not be correct but I understood Bill's email to say that the
problem affected those who compile with the IDE, while I compile from
the command line.
I tried compiling with SDK 2003 R2 (newer complier) but that made no
difference.
Trying to compile with unix source results with an immediate failure
to find srclib due to forward slashes that are not recognized by
Windows.
I think there is something wrong with mod_usertrack.mak - notice the /d _DEBUG.
I have tried to fix the makefile but I have still not fixed it.
Chris Lewis
Re: New Windows build - Apache 2.2.3
Posted by Jorge Schrauwen <jo...@gmail.com>.
ah using visual studio 2005?
Try using the unix source instead... wrowe posted a notice about this.
On 7/30/06, hunter <th...@gmail.com> wrote:
> I am getting an error while building Apache 2.2.3 for Windows...
>
> Creating library .\Release\mod_unique_id.lib and object
> .\Release\mod_unique_id.exp
> nmake -nologo -f mod_usertrack.mak CFG="mod_usertrack -
> Win32 Release" RECURSE=0
> rc.exe /l 0x409 /fo"Debug/mod_usertrack.res" /i
> "../../include" /i "../../srclib/apr/include" /i "\asf
> -build\build-2.2.3\build\win32" /d "_DEBUG" /d
> BIN_NAME="mod_usertrack.so" /d LONG_NAME="usertrack_module for Apache"
> ..\..\build\win32\httpd.rc fatal error RC1109: error creating
> Debug/mod_usertrack.res
> NMAKE : fatal error U1077: 'rc.exe' : return code '0x1'
> Stop.
> NMAKE : fatal error U1077: 'C:\MSVC7\Vc7\bin\nmake.exe' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: 'C:\MSVC7\Vc7\bin\nmake.exe' : return code '0x2'
> Stop.
>
> Any suggestions...
>
> Chris Lewis
>
--
~Jorge
Re: New Windows build - Apache 2.2.3
Posted by hunter <th...@gmail.com>.
On 7/31/06, Steffen <in...@apachelounge.com> wrote:
> I understand now and I missed the script.
>
> I have reports that all now is building fine with VC2005-IDE with the
> Windows source after executing the script.
>
> Thanks!
>
> Steffen
>
> ----- Original Message -----
> From: "William A. Rowe, Jr." <wr...@rowe-clan.net>
> To: <de...@httpd.apache.org>
> Sent: Monday, July 31, 2006 23:25
> Subject: Re: New Windows build - Apache 2.2.3
>
>
> > Steffen wrote:
> >> At AL there are reports that also with VC2005-IDE the 2.2.3 Windows
> >> source gives issues.
> >>
> >> Is it an idea to revert back to the 2.2.2 method ? there we had no
> >> reports like this.
> >
> > Nope - the old version required awk to -build- the sources. Now, awk
> > is only needed to customize the .conf scripts, and in it's absense, well
> > do it yourself by hand. awk's no longer required.
> >
> > The solution as mentioned several times is a custom-build step to invoke
> > rc.exe, where none of the versions of visualstudio will corrupt the cmd.
> >
> >> Indeed the unix source builds fine with VC2005 IDE.
> >
> > So does the windows bundle; grab
> > http://svn.apache.org/repos/asf/apr/apr/trunk/build/cvtdsp.pl - and in the
> > httpd-2.2.3 tree, just invoke
> >
> > perl cvtdsp.pl -2005
> >
> > This won't be necessary in 2.2.4 - wouldn't have been in 2.2.3 if this
> > security issue hadn't popped up.
> >
> > Bill
> >
>
>
The error(s) that I am getting are not caused by the defines.
I still get the error I indicated in my first email.
Creating library .\Release\mod_unique_id.lib and object
.\Release\mod_unique_id.exp
nmake -nologo -f mod_usertrack.mak CFG="mod_usertrack -
Win32 Release" RECURSE=0
rc.exe /l 0x409 /fo"Debug/mod_usertrack.res" /i
"../../include" /i "../../srclib/apr/include" /i "\asf
-build\build-2.2.3\build\win32" /d "_DEBUG" /d
BIN_NAME="mod_usertrack.so" /d LONG_NAME="usertrack_module for Apache"
..\..\build\win32\httpd.rc fatal error RC1109: error creating
Debug/mod_usertrack.res
NMAKE : fatal error U1077: 'rc.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'C:\MSVC7\Vc7\bin\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\MSVC7\Vc7\bin\nmake.exe' : return code '0x2'
Stop.
Notice that it is trying to build debug during a release build.
I fixed the makefile and it continued until it got a similar error
with htpasswd.mak. I fixed this makefile and it failed in makefile.win
with this error message.
D:\build\httpd-2.2.3>(copy docs\conf\extra\httpd-vhosts.conf.in
"c:\apache\conf\extra\httpd-vhosts.conf.defaul
t" 0<.y && awk -f script.awk "docs/conf/extra/httpd-vhosts.conf.in"
"c:\apache" 1>"c:\apache\conf\extra\h
ttpd-vhosts.conf.default" )
1 file(s) copied.
NMAKE : fatal error U1077: 'for' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'C:\MSVC7\Vc7\bin\nmake.exe' : return code '0x2'
Stop.
I have attached the fixed makefiles.
I still need help with the last error, I don't understand what the
makefile is doing - the build is complete and it is editing the confs.
But I am looking at to see if I can figure it out.
Chris Lewis
Re: New Windows build - Apache 2.2.3
Posted by Steffen <in...@apachelounge.com>.
I understand now and I missed the script.
I have reports that all now is building fine with VC2005-IDE with the
Windows source after executing the script.
Thanks!
Steffen
----- Original Message -----
From: "William A. Rowe, Jr." <wr...@rowe-clan.net>
To: <de...@httpd.apache.org>
Sent: Monday, July 31, 2006 23:25
Subject: Re: New Windows build - Apache 2.2.3
> Steffen wrote:
>> At AL there are reports that also with VC2005-IDE the 2.2.3 Windows
>> source gives issues.
>>
>> Is it an idea to revert back to the 2.2.2 method ? there we had no
>> reports like this.
>
> Nope - the old version required awk to -build- the sources. Now, awk
> is only needed to customize the .conf scripts, and in it's absense, well
> do it yourself by hand. awk's no longer required.
>
> The solution as mentioned several times is a custom-build step to invoke
> rc.exe, where none of the versions of visualstudio will corrupt the cmd.
>
>> Indeed the unix source builds fine with VC2005 IDE.
>
> So does the windows bundle; grab
> http://svn.apache.org/repos/asf/apr/apr/trunk/build/cvtdsp.pl - and in the
> httpd-2.2.3 tree, just invoke
>
> perl cvtdsp.pl -2005
>
> This won't be necessary in 2.2.4 - wouldn't have been in 2.2.3 if this
> security issue hadn't popped up.
>
> Bill
>
Re: New Windows build - Apache 2.2.3
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Steffen wrote:
> At AL there are reports that also with VC2005-IDE the 2.2.3 Windows
> source gives issues.
>
> Is it an idea to revert back to the 2.2.2 method ? there we had no
> reports like this.
Nope - the old version required awk to -build- the sources. Now, awk
is only needed to customize the .conf scripts, and in it's absense, well
do it yourself by hand. awk's no longer required.
The solution as mentioned several times is a custom-build step to invoke
rc.exe, where none of the versions of visualstudio will corrupt the cmd.
> Indeed the unix source builds fine with VC2005 IDE.
So does the windows bundle; grab
http://svn.apache.org/repos/asf/apr/apr/trunk/build/cvtdsp.pl - and in the
httpd-2.2.3 tree, just invoke
perl cvtdsp.pl -2005
This won't be necessary in 2.2.4 - wouldn't have been in 2.2.3 if this
security issue hadn't popped up.
Bill
Re: New Windows build - Apache 2.2.3
Posted by Steffen <in...@apachelounge.com>.
At AL there are reports that also with VC2005-IDE the 2.2.3 Windows source
gives issues.
Is it an idea to revert back to the 2.2.2 method ? there we had no reports
like this.
Indeed the unix source builds fine with VC2005 IDE.
Steffen
----- Original Message -----
From: "William A. Rowe, Jr." <wr...@rowe-clan.net>
To: <de...@httpd.apache.org>
Sent: Monday, July 31, 2006 08:55
Subject: Re: New Windows build - Apache 2.2.3
> Thanks Chris .. researching.
>
> This is what I was talking about by having too many versions of Visual
> Studio,
> each with peculiar quirky requirement for /d VAR="Long String Value"
> syntax.
>
> Only a custom build step, I'm thinking, will save us from this rc hell.
>
> hunter wrote:
>> I am getting an error while building Apache 2.2.3 for Windows...
>>
>> rc.exe /l 0x409 /fo"Debug/mod_usertrack.res" /i
>> "../../include" /i "../../srclib/apr/include" /i "\asf
>> -build\build-2.2.3\build\win32" /d "_DEBUG" /d
>> BIN_NAME="mod_usertrack.so" /d LONG_NAME="usertrack_module for Apache"
>> ..\..\build\win32\httpd.rc fatal error RC1109: error creating
>> Debug/mod_usertrack.res
>> NMAKE : fatal error U1077: 'rc.exe' : return code '0x1'
>> Stop.
>> NMAKE : fatal error U1077: 'C:\MSVC7\Vc7\bin\nmake.exe' : return code
>> '0x2'
>> Stop.
>
>
Re: New Windows build - Apache 2.2.3
Posted by Jorge Schrauwen <jo...@gmail.com>.
Let me note that the pl script with the -2005 switch worked fine.
(Although -8 would be a better switch name)
On 7/31/06, William A. Rowe, Jr. <wr...@rowe-clan.net> wrote:
> Thanks Chris .. researching.
>
> This is what I was talking about by having too many versions of Visual Studio,
> each with peculiar quirky requirement for /d VAR="Long String Value" syntax.
>
> Only a custom build step, I'm thinking, will save us from this rc hell.
>
> hunter wrote:
> > I am getting an error while building Apache 2.2.3 for Windows...
> >
> > rc.exe /l 0x409 /fo"Debug/mod_usertrack.res" /i
> > "../../include" /i "../../srclib/apr/include" /i "\asf
> > -build\build-2.2.3\build\win32" /d "_DEBUG" /d
> > BIN_NAME="mod_usertrack.so" /d LONG_NAME="usertrack_module for Apache"
> > ..\..\build\win32\httpd.rc fatal error RC1109: error creating
> > Debug/mod_usertrack.res
> > NMAKE : fatal error U1077: 'rc.exe' : return code '0x1'
> > Stop.
> > NMAKE : fatal error U1077: 'C:\MSVC7\Vc7\bin\nmake.exe' : return code '0x2'
> > Stop.
>
>
--
~Jorge
Re: New Windows build - Apache 2.2.3
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Thanks Chris .. researching.
This is what I was talking about by having too many versions of Visual Studio,
each with peculiar quirky requirement for /d VAR="Long String Value" syntax.
Only a custom build step, I'm thinking, will save us from this rc hell.
hunter wrote:
> I am getting an error while building Apache 2.2.3 for Windows...
>
> rc.exe /l 0x409 /fo"Debug/mod_usertrack.res" /i
> "../../include" /i "../../srclib/apr/include" /i "\asf
> -build\build-2.2.3\build\win32" /d "_DEBUG" /d
> BIN_NAME="mod_usertrack.so" /d LONG_NAME="usertrack_module for Apache"
> ..\..\build\win32\httpd.rc fatal error RC1109: error creating
> Debug/mod_usertrack.res
> NMAKE : fatal error U1077: 'rc.exe' : return code '0x1'
> Stop.
> NMAKE : fatal error U1077: 'C:\MSVC7\Vc7\bin\nmake.exe' : return code '0x2'
> Stop.