Note that there are some explanatory texts on larger screens.

plurals
  1. POApache 2.4 linker errors on windows using VS 2008
    primarykey
    data
    text
    <p><strong>Question: Is there any manual/steps on how to build Apache for windows? The official documentation isn't sufficient.</strong></p> <p>I've tried to compile Apache HTTP Server 2.4 on windows using Visual Studio 2008 Professional on Windows 7 Service Pack 3, but with no hope at all!! Already tested same steps with Apache HTTP Server 2.2 and had successful build process.</p> <p>I don't know what's wrong, or what's missing. Here it is followed steps:</p> <pre><code>Visual Studio 2008 Command Prompt: "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat" cd C:\path\to\httpd-2.4.2 perl srclib\apr\build\lineends.pl perl srclib\apr\build\cvtdsp.pl -2005 cd srclib\zlib nmake -f win32/Makefile.msc LOC="-DASMV -DASMINF -I." OBJA="inffas32.obj match686.obj" MT -manifest zlib1.dll.manifest -outputresource:zlib1.dll;2 cd ..\..\srclib\openssl perl Configure VC-WIN32 enable-camellia disable-idea ms\do_nasm nmake /f ms\ntdll.mak Open Apache.dsw with VS9 "Yes to All" to the "convert projects" question, Select relase win32 Now build InstallBin Test your build </code></pre> <p>Required libraries already in place:</p> <pre><code>srclib\apr srclib\apr-iconv srclib\apr-util srclib\openssl srclib\pcre srclib\zlib </code></pre> <p>As I said, all Apache HTTP Server <strong>2.2</strong> compilations are successful, while all Apache HTTP Server <strong>2.4</strong> is <strong>NOT</strong>.</p> <p>This is the most occuring error, repeated over 100 times:</p> <pre><code>fatal error LNK1181: cannot open input file '..\..\release\libhttpd.lib' </code></pre> <p>Other errors:</p> <pre><code>fatal error LNK1181: cannot open input file '..\release\mod_proxy_balancer.lib' fatal error LNK1181: cannot open input file '..\core\release\mod_watchdog.lib' fatal error C1083: Cannot open include file: 'pcre.h': No such file or directory fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\Common7\ide\devenv.COM"' : return code '0x1' error PRJ0019: A tool returned an error code from "Performing Makefile project actions" </code></pre> <p><strong>Note: I've noticed that there's multiple .mak file missing from the Apache 2.4 package, including the httpd.mak &amp; others. I think that's big part of the problem.</strong></p> <p>Any suggestions?</p> <p>Environment: Windows 7 | Visual Studio 2008 | Cygin | Apache HTTP Server 2.4 Source | APR/APR-UTIL/APR-ICONV/ZLIB/OPENSSL</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload