My favorites | Sign in
Project Logo
                
Search
for
Updated Aug 04, 2008 by Thomas.Donovan
Labels: Phase-Implementation, Featured
Building  
Compiling, linking, and installing dbd-modules

Building mod_vhost_dbd and mod_log_dbd

Windows

Apache 2.2 prior to version 2.2.7 is missing several header files in the /include directory on Windows. See Apache Bug 43715.

If you are using Apache 2.2.0 through 2.2.6, copy these header files from the Apache source directory (or the Apache SVN repository) to the Apache \include directory:

  • modules\database\mod_dbd.h
  • modules\loggers\mod_log_config.h

Use the Visual C++ NMAKE utility to compile, link, and install the modules

NMAKE -f Makefile.win APACHE=apachedir
NMAKE -f Makefile.win APACHE=apachedir install

where apachedir is a top level Apache 2.2+ directory. For example:

NMAKE -f Makefile.win APACHE=C:\Apache2
NMAKE -f Makefile.win APACHE=C:\Apache2 install

Unix

User the Apache apxs utility to compile, link, and install the modules

apxs -c mod_vhost_dbd.c
apxs -i mod_vhost_dbd.la
apxs -c mod_log_dbd.c
apxs -i mod_log_dbd.la

Sign in to add a comment
Hosted by Google Code