Bug 57174 - Update windows visual studio build
Summary: Update windows visual studio build
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Build (show other bugs)
Version: 2.4.10
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-31 18:38 UTC by Matt Hauck
Modified: 2014-11-06 14:27 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Hauck 2014-10-31 18:38:07 UTC
The windows build has atrophied over the years. The web is full of errors building on windows with a modern version of visual studio. The version of Visual Studio build that the httpd source ships with (VS 6) is quite antiquated, and my visual studio 2013 express does not even know how to upgrade it anymore. I saw some people had first installed 2008 to upgrade the config there, then opened 2012/2013 to upgrade it further to the compiler they'd like to use. This is a rather poor build process for those of us who want to ship/run on windows. 

I would like to propose that the httpd build should be updated to use something like cmake, or else to use a modern version of visual studio.

Are there any plans to do this?
Comment 1 Jeff Trawick 2014-10-31 19:57:40 UTC
httpd 2.4, apr 1.5, and apr-util 1.5 all support cmake builds with various levels of Visual Studio.

Note that there's no cmake build for apr-iconv, and the cmake build of apr-util doesn't yet support all features (interfaces to third-party libraries).  Because of that, you might have an issue.

--/--

The non-cmake folks can decide if a better Visual Studio-only solution needs to be provided.
Comment 2 Matt Hauck 2014-11-01 05:40:49 UTC
ah. didn't even think to check if there was already a cmake build for httpd/apr/apr-util. I assumed there wasn't since the online documentation didn't include mention of this in its guide on how to compile on windows.

The cmake build works great! Despite the gaps you point out, it actually builds everything I need to, so I am good to go!

I would recommend, however, that you scrap the VS 6 project files and update the docs to use cmake as the standard way of building on windows so as to not be tied to the sln file format, and since you appear to already be moving in that direction.

thanks.
Comment 3 Jeff Trawick 2014-11-06 14:27:21 UTC
Thanks for the feedback on the cmake build.  I've updated the APR and httpd documentation to mention the cmake build and its primary limitations, pointing to the README.cmake files for detailed instructions.
.
This bug will continue to track concerns with the non-cmake build.