compilation of apache 2.2 on windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all,

For some reasons, I need to compile apache on windows.

I have installed windows server 2008, vistual studio 2008 professional, windows sdk for windows server 2008, and gnu awk.

The source tree is I used is "httpd-2.2.12-win32-src", and I followed the instructions on

http://httpd.apache.org/docs/2.2/platform/win_compiling.html

I started command prompt from window SDK tools, and had executed "setup.cmd /x86"

I am sure I got awk, nmake and cl callable there.

however, when I typed

nmake /f make.win _apacher (inside dist folder)

It started to compile for a while, then the following error occurs:

------
        cl.exe /nologo /MD /W3 /Zi /O2 /Oy- /I "./include" /I "../apr/include" /
I "./include/private" /I "../apr-iconv/include" /I "./dbm/sdbm" /I "./xml/expat/
lib" /D "NDEBUG" /D "APR_DECLARE_STATIC" /D "APU_DECLARE_STATIC" /D "API_DECLARE
_STATIC" /D "APU_USE_SDBM" /D "HAVE_SQL_H" /D "XML_STATIC" /D "WIN32" /D "_WINDO
WS" /Fo".\LibR\\" /Fd".\LibR\aprutil-1" /FD /c .\dbd\apr_dbd_freetds.c
apr_dbd_freetds.c
NMAKE : fatal error U1073: don't know how to make '"config-win.h"'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\Bin\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\Bin\nmake.exe"' : return code '0x2'
Stop.

-------

Googled around for a while and found that the "config-win.h" seems to be related with mysql, but I actually don't need this.

So I tried

nmake /f make.win DBD_LIST=""  _apacher

And still no luck.

By the way, the line of error seems to induced from somewhere inside "srclib\apr-util\aprutil.dep"

----
    ".\include\apr_buckets.h"\
    ".\include\apr_dbd.h"\
    ".\include\apu.h"\
    ".\include\apu_version.h"\
    ".\include\private\apr_dbd_internal.h"\
    ".\include\private\apu_config.h"\
    {$(INCLUDE)}"config-win.h"\
    {$(INCLUDE)}"errmsg.h"\
    {$(INCLUDE)}"m_ctype.h"\
    {$(INCLUDE)}"my_alloc.h"\
    {$(INCLUDE)}"my_attribute.h"\
    {$(INCLUDE)}"my_dbug.h"\
    {$(INCLUDE)}"my_global.h"\
    {$(INCLUDE)}"my_list.h"\
    {$(INCLUDE)}"my_pthread.h"\
    {$(INCLUDE)}"my_sys.h"\
    {$(INCLUDE)}"mysql.h"\
    {$(INCLUDE)}"mysql_com.h"\
    {$(INCLUDE)}"mysql_time.h"\
    {$(INCLUDE)}"mysql_version.h"\
    {$(INCLUDE)}"typelib.h"\
-----

Do I miss something here?

Any help would be appreciated, thanks a lot!

--
have a nice day
walty

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux