Author |
|
ferdy
Joined: 12 Dec 2013 Posts: 4 Location: Jena
|
Posted: Thu 12 Dec '13 19:45 Post subject: |
|
|
Typically there are no windows make files in the unix sources?
How can I create them in a non-interactive (CLI) way?
Regards,
ferdy |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Thu 12 Dec '13 20:37 Post subject: |
|
|
CMake
As of 2.4.7 there is a CMakeLists.txt file as well as README.cmake in the source to digest.
Good luck. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7374 Location: Germany, Next to Hamburg
|
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Thu 12 Dec '13 21:49 Post subject: |
|
|
if you have python, of course either way you need one more thing installed, but we needed CMake for PCRE anyway.
There's been some changes since 2.4.2 as well, so staring point yes, but there will be problems. |
|
Back to top |
|
ferdy
Joined: 12 Dec 2013 Posts: 4 Location: Jena
|
Posted: Fri 13 Dec '13 0:02 Post subject: |
|
|
Thanks for your comments.
I tried my luck with https://github.com/winlibs/apache, although this is strongly non-interactive. I just want to have a working build on windows. WTH.
I've been fiddling around with a windows 7 and a VC++ 2010 Express to get it running. I also installed cmake, perl and python as suggested by the README.
All seems to work well (pcre is beeing build etc.) until the project file(s) conversion. After some search I found this:
Quote: |
I'm not sure if VS2010 will recognize and import VC6 projects. If not, then you can use Create Project from Existing Code to create a VS2010-style project from your source. This is going to be harder than just opening the old DSP file, but still easier than manual migration of all the DSP settings into a valid VS2010 vcproj file. If you are on VS2010 Express, then even this is out since that option is only in paid versions.
From http://stackoverflow.com/questions/6624942/makefiles-moving-from-vc6-to-visual-studio-2010
|
According to MS, a valid way might be to convert it using VC++ 2008 Express first, then import it into VC++ 2010 Express. This hasn't worked for me yet. (See http://connect.microsoft.com/VisualStudio/feedback/details/595054/visual-c-2010-express-cannot-open-visual-c-6-0-projects
All of this is more than disgusting. I really thought some nmake calls at the right place could make it, but that's just an illusion.
/ferdy |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Fri 13 Dec '13 3:13 Post subject: |
|
|
I myself personally try to remember to create windows sources and just leave them stored at:
http://people.apache.org/~gsmith/httpd/releases/
I forgot for 2.4.7 so I made them just now. You have to build and supply the dependencies (pcre/openssl/etc) but then it's just
nmake /f makefile.win installr |
|
Back to top |
|
ferdy
Joined: 12 Dec 2013 Posts: 4 Location: Jena
|
Posted: Fri 13 Dec '13 14:09 Post subject: |
|
|
Great! So you're the Gregg of Gregg's place I've already stumbled upon. Thanks a lot.
I'll check this right away.
Even more interesting for me to know would be your working steps to create these sources. I want to reproduce it, if you'd let me know.
/ferdy |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Fri 13 Dec '13 19:27 Post subject: |
|
|
I use VC6 since I have it. It was the last version that exported all the .mak/.dep files so unless you have VC6, it's sort of impossible.
One of these days I will run the CMake option again (it's been awhile now so it ought to work better). If I succeed, I'll try to jot down the steps. |
|
Back to top |
|
ferdy
Joined: 12 Dec 2013 Posts: 4 Location: Jena
|
Posted: Tue 17 Dec '13 18:15 Post subject: |
|
|
Hi,
the stuff at https://github.com/winlibs/apache ist not working out of the box. The script says it would bring along svn and gnuwin32 tools but neither is the case. SVN is missing completely and gnuwin32 is missing at least wget (and may be other things that haven't checked yet).
I don't know anymore which version I've used before, because I can remember that I had the the whole libs (openssl, pcre, ...) building working already - until the httpd project conversion using vc 2010 express.
Secondly, I'd greatly appreciate to stay in contact with you about that cmake building.
Thanks,
/ferdy |
|
Back to top |
|