List Info

Thread: Compiling Apache for Microsoft Windows document




Compiling Apache for Microsoft Windows document
user name
2007-10-23 21:01:21
Hello,

I compiled httpd-2.2.6-win32-src-r2.zip with Visual C++ 2005
Express
following the instructions given by
http://httpd.apache.org/docs/2.2/platform/win_compi
ling.html.
On IRC, niq suggested me to post comments/suggestions for
improvement
of http://httpd.apache.org/docs/2.2/platform/win_compil
ing.html
on the dev list.

Note that I am not very familiar with VC++.

I propose to separate the "requirements" (disk
space, Visual C++
minimal version, Platform SDK version, awk) from
"compilation
instructions" (running VCVARS32, setenv.bat, perl
srclibaprbuildcvtdsp.pl
-2005, ...) For instance, it is not very clear (for me) if
"c:Program FilesPlatform SDKsetenv.bat" must be
run only one
time (installation), or after each reboot (compilation
instruction).

I also suggest to seperate the instructions for command line
compilation
from the instructions for the GUI. Because in the current
document, it is
not always 100% clear if a sentence applies to command line
compilation
or GUI compilation.

The "Warning about building Apache from the development
tree"
(or at least a link to the warning) could be placed
somewhere near
the top of the document.

The paragraph starting with "Exported .mak files pose a
greater
hassle" is a bit difficult to understand.

Minor details:

I do not have
"c:Program FilesMicrosoft Visual
StudioVC98BinVCVARS32"
but I have
"c:Program FilesMicrosoft Visual Studio
8VCbinvcvars32.bat"

I do not have
"c:Program FilesPlatform SDKsetenv.bat"
but I have
 "c:Program FilesMicrosoft Platform
SDKSetEnv.Cmd"
(not sure it performs the same actions)

The GUI did not convert .dsp files to ".msproj"
files but to
".vcproj" files.

--
Marc Mongenet
Creator of the Web 2 Markup Language
http://w2ml.com

Re: Compiling Apache for Microsoft Windows document
country flaguser name
United States
2007-10-23 21:15:19
Marc Mongenet wrote:
> Hello,
> 
> I compiled httpd-2.2.6-win32-src-r2.zip with Visual C++
2005 Express
> following the instructions given by
> http://httpd.apache.org/docs/2.2/platform/win_compi
ling.html.
> On IRC, niq suggested me to post comments/suggestions
for improvement
> of http://httpd.apache.org/docs/2.2/platform/win_compil
ing.html
> on the dev list.
> 
> Note that I am not very familiar with VC++.
> 
> I propose to separate the "requirements"
(disk space, Visual C++
> minimal version, Platform SDK version, awk) from
"compilation
> instructions" (running VCVARS32, setenv.bat, perl
srclibaprbuildcvtdsp.pl
> -2005, ...) For instance, it is not very clear (for me)
if
> "c:Program FilesPlatform SDKsetenv.bat"
must be run only one
> time (installation), or after each reboot (compilation
instruction).

Ok; I'm confused; the entire information on that page
relates to *build*,
because the page is called win_compiling.  None of this is
runtime, or
it would be on the main windows.html platform page.

> I also suggest to seperate the instructions for command
line compilation
> from the instructions for the GUI. Because in the
current document, it is
> not always 100% clear if a sentence applies to command
line compilation
> or GUI compilation.

This makes some sense - we can call out the differences in
one of several
ways, but you raise a good point that they aren't always
distinguished
as well as they need to be.

> The "Warning about building Apache from the
development tree"
> (or at least a link to the warning) could be placed
somewhere near
> the top of the document.

We don't expect people to grab the development tree as often
as they
would build the package, so that's additional confusion, but
worth at
least a reference at the top of the page.

> The paragraph starting with "Exported .mak files
pose a greater
> hassle" is a bit difficult to understand.

Well, they don't so the document obviously needs some care
and attention.
The GUI is far more of a hassle.

> Minor details:
> 
> I do not have
> "c:Program FilesMicrosoft Visual
StudioVC98BinVCVARS32"
> but I have
> "c:Program FilesMicrosoft Visual Studio
8VCbinvcvars32.bat"
> 
> I do not have
> "c:Program FilesPlatform SDKsetenv.bat"
> but I have
>  "c:Program FilesMicrosoft Platform
SDKSetEnv.Cmd"
> (not sure it performs the same actions)

We can make that an 'e.g. ... ' or perhaps use the goofy
envvars that
MS sets to point to it's packages (which break, of course,
on regular
occasion with each subsequent compiler release).

> The GUI did not convert .dsp files to
".msproj" files but to
> ".vcproj" files.

I'll fix upon the remaining changes for 2.2.7, it looks like
some
messy hands (including mine) got in there.

Thanks for the suggestions to help other developers struggle
through.

Bill

Re: Compiling Apache for Microsoft Windows document
user name
2007-10-24 07:37:02
The documentation is indeed confusing at times, especially when using vs.net 2005.
You can poke around here if you like http://www.blackdot.be/?inc=apache/knowledge/tutorials/x64 its a bit out of date (just don't change the platform to x64).


wrowe:
I'm going to redo the tutorial and place it on the wiki for both x86 and x64 once 2.2.7 is released.
have you checked out the other guide I put on there? I said you would but I had to leave

On 10/24/07, Marc Mongenet < marcmongenet.ch">marcmongenet.ch> wrote:
Hello,

I compiled httpd-2.2.6-win32-src-r2.zip with Visual C++ 2005 Express
following the instructions given by
http://httpd.apache.org/docs/2.2/platform/win_compiling.html .
On IRC, niq suggested me to post comments/suggestions for improvement
of http://httpd.apache.org/docs/2.2/platform/win_compiling.html
on the dev list.

Note that I am not very familiar with VC++.

I propose to separate the "requirements&quot; (disk space, Visual C++
minimal version, Platform SDK version, awk) from "compilation
instructions" (running VCVARS32, setenv.bat, perl srclibaprbuildcvtdsp.pl
-2005, ...) For instance, it is not very clear (for me) if
"c:Program FilesPlatform SDKsetenv.bat" must be run only one
time (installation), or after each reboot (compilation instruction).

I also suggest to seperate the instructions for command line compilation
from the instructions for the GUI. Because in the current document, it is
not always 100% clear if a sentence applies to command line compilation
or GUI compilation.

The "Warning about building Apache from the development tree"
(or at least a link to the warning) could be placed somewhere near
the top of the document.

The paragraph starting with "Exported .mak files pose a greater
hassle" is a bit difficult to understand.

Minor details:

I do not have
";c:Program FilesMicrosoft Visual StudioVC98BinVCVARS32"
but I have
";c:Program FilesMicrosoft Visual Studio 8VCbinvcvars32.bat&quot;

I do not have
";c:Program FilesPlatform SDKsetenv.bat"
but I have
"c:Program FilesMicrosoft Platform SDKSetEnv.Cmd"
(not sure it performs the same actions)

The GUI did not convert .dsp files to ".msproj" files but to
".vcproj"; files.

--
Marc Mongenet
Creator of the Web 2 Markup Language
http://w2ml.com



--
~Jorge
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )