Difference between revisions of "Xebra Apache Module Windows"

(How to compile mod_xebra on windows)
(Whats the difference between mod_xebra for linux and mod_xebra for windows?)
Line 2: Line 2:
 
[[Xebra About|About]] | [[Xebra Installation|Installation]] |  [[Xebra Documentation|Documentation]] |  [[Xebra Tutorial|Tutorials]] | [[Xebra FAQ|Frequently Asked Questions]]
 
[[Xebra About|About]] | [[Xebra Installation|Installation]] |  [[Xebra Documentation|Documentation]] |  [[Xebra Tutorial|Tutorials]] | [[Xebra FAQ|Frequently Asked Questions]]
  
=Whats the difference between mod_xebra for linux and mod_xebra for windows?=
 
  
* Windows version uses winsock2 instead of sockets for communication with xebra server
 
* ...
 
  
 
=How to compile mod_xebra on windows (under construction)=
 
=How to compile mod_xebra on windows (under construction)=

Revision as of 12:50, 31 July 2009

About | Installation | Documentation | Tutorials | Frequently Asked Questions


How to compile mod_xebra on windows (under construction)

  • Get apache source 2.2.11 for windows and extract
  • Load the apache project into VS (for VS2008 you need to do a conversion of the project files, ask google about 'cvtdsp.pl')
  • Add project mod_xebra to apache solution
  • Select dependencies for mod_xebra: libapr, libaprutil, libhttpd
  • Depending on where you extracted apache source, you have to adapt the additional includes property of the xebra_mod project
  • Build mod_xebra


-> If you compile with VS2008 (VC9), mod_xebra will depend on [...]

vc6:

cl.exe /Od /I "C:\apache_src\srclib\apr-util\include" /I "C:\apache_src\srclib\apr\include" /I "C:\apache_src\include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_WINDLL" /FD /EHsc /MD /W3 /c mod_xebra.c
link.exe /OUT:"mod_xebra.so" /DLL /DYNAMICBASE /NXCOMPAT /MANIFEST /MANIFESTFILE:"mod_xebra.so.intermediate.manifest"  /SUBSYSTEM:WINDOWS ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "..\..\..\apache_src\debug\libhttpd.lib" "..\..\..\apache_src\srclib\apr\debug\libapr-1.lib" "..\..\..\apache_src\srclib\apr-util\debug\libaprutil-1.lib" "mod_xebra.obj"