RE: RE: Cannot build httpd on Win 7 + VS2010

2011-04-19 Thread bswen
Hi Gregg,

The method you suggested works greatly, I've done it successfully:
- perl cvtdsp.pl -2005
- VS 2008 conversion
- VS 2101 conversion

Cheers,
bswen


-Original Message-
From: Gregg L. Smith [mailto:g...@gknw.net] 
Sent: Wednesday, April 20, 2011 4:43 AM
To: dev@httpd.apache.org
Subject: Re: RE: Cannot build httpd on Win 7 + VS2010

Hi Bing,

This seems more like a user support question than for the dev list but here
goes;

As of the last releases (2.2.17 & 2.3.11) there were no .sln or .vcproj
files shipped in the sources. There are only the VC6 workspace & project
files (.dsw & .dsp). These are what the cvtdsp.pl -2005 modifies and it must
be used.

VC 2010 will not inport & convert these VC6 files. The last VC version to do
so was 2008 (VC9). Therefore, at this stage you need to have a copy of VC
2008 also to do that. It will convert these VC6 files. After that import you
just Save all, then open in VC2010. It will then convert them to VC 2010
which is a slow process compared to the conversion from VC6 in VC 2008.

Quite frankly the best way to build on VC 2010 is on the command line with
nmake. I prefer the IDE myself, but I'm using VC2008 and am not fond of VC
2010 anyway.

Cheers,

Gregg

-Original Message-
From: "bswen" 
To: 
Date: Sun, 17 Apr 2011 16:47:45 +0800
Subject: RE: Cannot build httpd on Win 7 + VS2010

I also tried the method suggested by
http://www.blackdot.be/?inc=apache/knowledge/tutorials/x64
that uses "perl cvtdsp.pl -2005" to first make VS2005 project files, but all
the 
*.vcproj files cannot converted to VS2010. Does anybody know the reason?
(VS2008 had no problem, though.)

Regards,
Bing



-Original Message-
From: Gabriel Petrovay [mailto:gabipetro...@gmail.com] 
Sent: Wednesday, October 27, 2010 4:56 AM
To: dev@httpd.apache.org
Subject: Re: Cannot build httpd on Win 7 + VS2010

I am still experimenting.

I don't think it's a permission problem. I am on a separate partition
with all the necessary rights.

I managed though to build it with nmake only with the "click one more
time" approach. So, by running nmake (NMAKE /f Makefile.win installd)
several times I managed to get over the 'tempfile.bat' errors. Does
this ring a bell?


In VS, they are errors. Trying to built according to:
http://httpd.apache.org/docs/2.2/platform/win_compiling.html#workspacebuild
-> during the first build, I got "header not found" errors complaining
about "apr.h"
-> (I tried one more time) starting from the 2nd build onwards, the
errors are LINK errors. "cannot find external symbol"


With the nmake build above i could finally build/debug the problem
mentioned in the other post (slow shutdown waiting for treads) (I see
that you already replied to that, and I am curious ;) )

Regards,
Gabriel

On Tue, Oct 26, 2010 at 10:41 PM, Gregg L. Smith  wrote:
> Hello Gabriel,
>
> I've run into this on xp, vista & 2008. Somehow source folders get put in
read only mode. Make them writable again and it will build. On Win7 if that
means putting it in Documents, so be it.
>
> As far as errors in IDE, you sure they are not warnings? 2 warnings per
project is what I see on 2010. I do not like 2010 so I haven't compiled
Apache with since I gave it a try after it's release.
>
> Gregg
>
>
> Original Message ---
> Hi,
>
> Can you make Apache build on Windonws 7 and Visual Studio 2010?
> Neither the nmake nor the IDE builds work:
>
> NMAKE:
> nmake -f Makefile.win installd
>
> Error:
> aprutil.mak(1459) : fatal error U1054: cannot create inline file
'tempfile.bat'
>
>
> IDE:
> building project InstallBin
> => thousands of errors
>
>
> Are these build scripts/project maintained?
>
> Thanks!
>
>
>
> --
> MSc Gabriel Petrovay
> Mobile: +41(0)787978034
> www.28msec.com
>
>

-- 
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com






Re: RE: Cannot build httpd on Win 7 + VS2010

2011-04-19 Thread Gregg L. Smith
Hi Bing,

This seems more like a user support question than for the dev list but here 
goes;

As of the last releases (2.2.17 & 2.3.11) there were no .sln or .vcproj files 
shipped in the sources. There are only the VC6 workspace & project files (.dsw 
& .dsp). These are what the cvtdsp.pl -2005 modifies and it must be used.

VC 2010 will not inport & convert these VC6 files. The last VC version to do so 
was 2008 (VC9). Therefore, at this stage you need to have a copy of VC 2008 
also to do that. It will convert these VC6 files. After that import you just 
Save all, then open in VC2010. It will then convert them to VC 2010 which is a 
slow process compared to the conversion from VC6 in VC 2008.

Quite frankly the best way to build on VC 2010 is on the command line with 
nmake. I prefer the IDE myself, but I'm using VC2008 and am not fond of VC 2010 
anyway.

Cheers,

Gregg

-Original Message-
From: "bswen" 
To: 
Date: Sun, 17 Apr 2011 16:47:45 +0800
Subject: RE: Cannot build httpd on Win 7 + VS2010

I also tried the method suggested by
http://www.blackdot.be/?inc=apache/knowledge/tutorials/x64
that uses "perl cvtdsp.pl -2005" to first make VS2005 project files, but all
the 
*.vcproj files cannot converted to VS2010. Does anybody know the reason?
(VS2008 had no problem, though.)

Regards,
Bing



-Original Message-
From: Gabriel Petrovay [mailto:gabipetro...@gmail.com] 
Sent: Wednesday, October 27, 2010 4:56 AM
To: dev@httpd.apache.org
Subject: Re: Cannot build httpd on Win 7 + VS2010

I am still experimenting.

I don't think it's a permission problem. I am on a separate partition
with all the necessary rights.

I managed though to build it with nmake only with the "click one more
time" approach. So, by running nmake (NMAKE /f Makefile.win installd)
several times I managed to get over the 'tempfile.bat' errors. Does
this ring a bell?


In VS, they are errors. Trying to built according to:
http://httpd.apache.org/docs/2.2/platform/win_compiling.html#workspacebuild
-> during the first build, I got "header not found" errors complaining
about "apr.h"
-> (I tried one more time) starting from the 2nd build onwards, the
errors are LINK errors. "cannot find external symbol"


With the nmake build above i could finally build/debug the problem
mentioned in the other post (slow shutdown waiting for treads) (I see
that you already replied to that, and I am curious ;) )

Regards,
Gabriel

On Tue, Oct 26, 2010 at 10:41 PM, Gregg L. Smith  wrote:
> Hello Gabriel,
>
> I've run into this on xp, vista & 2008. Somehow source folders get put in
read only mode. Make them writable again and it will build. On Win7 if that
means putting it in Documents, so be it.
>
> As far as errors in IDE, you sure they are not warnings? 2 warnings per
project is what I see on 2010. I do not like 2010 so I haven't compiled
Apache with since I gave it a try after it's release.
>
> Gregg
>
>
> Original Message ---
> Hi,
>
> Can you make Apache build on Windonws 7 and Visual Studio 2010?
> Neither the nmake nor the IDE builds work:
>
> NMAKE:
> nmake -f Makefile.win installd
>
> Error:
> aprutil.mak(1459) : fatal error U1054: cannot create inline file
'tempfile.bat'
>
>
> IDE:
> building project InstallBin
> => thousands of errors
>
>
> Are these build scripts/project maintained?
>
> Thanks!
>
>
>
> --
> MSc Gabriel Petrovay
> Mobile: +41(0)787978034
> www.28msec.com
>
>

--
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com






RE: Cannot build httpd on Win 7 + VS2010

2011-04-17 Thread bswen
I also tried the method suggested by
http://www.blackdot.be/?inc=apache/knowledge/tutorials/x64
that uses "perl cvtdsp.pl -2005" to first make VS2005 project files, but all
the 
*.vcproj files cannot converted to VS2010. Does anybody know the reason?
(VS2008 had no problem, though.)

Regards,
Bing



-Original Message-
From: Gabriel Petrovay [mailto:gabipetro...@gmail.com] 
Sent: Wednesday, October 27, 2010 4:56 AM
To: dev@httpd.apache.org
Subject: Re: Cannot build httpd on Win 7 + VS2010

I am still experimenting.

I don't think it's a permission problem. I am on a separate partition
with all the necessary rights.

I managed though to build it with nmake only with the "click one more
time" approach. So, by running nmake (NMAKE /f Makefile.win installd)
several times I managed to get over the 'tempfile.bat' errors. Does
this ring a bell?


In VS, they are errors. Trying to built according to:
http://httpd.apache.org/docs/2.2/platform/win_compiling.html#workspacebuild
-> during the first build, I got "header not found" errors complaining
about "apr.h"
-> (I tried one more time) starting from the 2nd build onwards, the
errors are LINK errors. "cannot find external symbol"


With the nmake build above i could finally build/debug the problem
mentioned in the other post (slow shutdown waiting for treads) (I see
that you already replied to that, and I am curious ;) )

Regards,
Gabriel

On Tue, Oct 26, 2010 at 10:41 PM, Gregg L. Smith  wrote:
> Hello Gabriel,
>
> I've run into this on xp, vista & 2008. Somehow source folders get put in
read only mode. Make them writable again and it will build. On Win7 if that
means putting it in Documents, so be it.
>
> As far as errors in IDE, you sure they are not warnings? 2 warnings per
project is what I see on 2010. I do not like 2010 so I haven't compiled
Apache with since I gave it a try after it's release.
>
> Gregg
>
>
> Original Message ---
> Hi,
>
> Can you make Apache build on Windonws 7 and Visual Studio 2010?
> Neither the nmake nor the IDE builds work:
>
> NMAKE:
> nmake -f Makefile.win installd
>
> Error:
> aprutil.mak(1459) : fatal error U1054: cannot create inline file
'tempfile.bat'
>
>
> IDE:
> building project InstallBin
> => thousands of errors
>
>
> Are these build scripts/project maintained?
>
> Thanks!
>
>
>
> --
> MSc Gabriel Petrovay
> Mobile: +41(0)787978034
> www.28msec.com
>
>

-- 
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com



Re: Cannot build httpd on Win 7 + VS2010

2010-10-26 Thread Gabriel Petrovay
I am still experimenting.

I don't think it's a permission problem. I am on a separate partition
with all the necessary rights.

I managed though to build it with nmake only with the "click one more
time" approach. So, by running nmake (NMAKE /f Makefile.win installd)
several times I managed to get over the 'tempfile.bat' errors. Does
this ring a bell?


In VS, they are errors. Trying to built according to:
http://httpd.apache.org/docs/2.2/platform/win_compiling.html#workspacebuild
-> during the first build, I got "header not found" errors complaining
about "apr.h"
-> (I tried one more time) starting from the 2nd build onwards, the
errors are LINK errors. "cannot find external symbol"


With the nmake build above i could finally build/debug the problem
mentioned in the other post (slow shutdown waiting for treads) (I see
that you already replied to that, and I am curious ;) )

Regards,
Gabriel

On Tue, Oct 26, 2010 at 10:41 PM, Gregg L. Smith  wrote:
> Hello Gabriel,
>
> I've run into this on xp, vista & 2008. Somehow source folders get put in 
> read only mode. Make them writable again and it will build. On Win7 if that 
> means putting it in Documents, so be it.
>
> As far as errors in IDE, you sure they are not warnings? 2 warnings per 
> project is what I see on 2010. I do not like 2010 so I haven't compiled 
> Apache with since I gave it a try after it's release.
>
> Gregg
>
>
> Original Message ---
> Hi,
>
> Can you make Apache build on Windonws 7 and Visual Studio 2010?
> Neither the nmake nor the IDE builds work:
>
> NMAKE:
> nmake -f Makefile.win installd
>
> Error:
> aprutil.mak(1459) : fatal error U1054: cannot create inline file 
> 'tempfile.bat'
>
>
> IDE:
> building project InstallBin
> => thousands of errors
>
>
> Are these build scripts/project maintained?
>
> Thanks!
>
>
>
> --
> MSc Gabriel Petrovay
> Mobile: +41(0)787978034
> www.28msec.com
>
>



-- 
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com


RE: Cannot build httpd on Win 7 + VS2010

2010-10-26 Thread Gregg L. Smith
Hello Gabriel,

I've run into this on xp, vista & 2008. Somehow source folders get put in read 
only mode. Make them writable again and it will build. On Win7 if that means 
putting it in Documents, so be it.

As far as errors in IDE, you sure they are not warnings? 2 warnings per project 
is what I see on 2010. I do not like 2010 so I haven't compiled Apache with 
since I gave it a try after it's release.

Gregg


Original Message ---
Hi,

Can you make Apache build on Windonws 7 and Visual Studio 2010?
Neither the nmake nor the IDE builds work:

NMAKE:
nmake -f Makefile.win installd

Error:
aprutil.mak(1459) : fatal error U1054: cannot create inline file 'tempfile.bat'


IDE:
building project InstallBin
=> thousands of errors


Are these build scripts/project maintained?

Thanks!



--
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com