File: INSTALL

package info (click to toggle)
libapache2-mod-macro 1.1.4-3.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 92 kB
  • ctags: 62
  • sloc: ansic: 589; makefile: 35
file content (48 lines) | stat: -rw-r--r-- 1,226 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#
# $Id: INSTALL.src,v 1.12 2002/06/01 22:02:23 coelho Exp $
#

Installing the mod_macro 1.1.4 module with apache 2.0.40 is simple,
especially if you use mod_so for dynamic linking.

Here is a sample installation with apache 2.0.40 and mod_macro 1.1.4:


(0) get the latest mod_macro release:

    prompt> wget http://www.coelho.net/mod_macro/mod_macro-latest.tar.gz


(1) uncompress the distribution tar file if necessary.

    prompt> gunzip mod_macro-latest.tar.gz


(2) untar the distribution tar file along the apache source tree.

    prompt> tar xf mod_macro-latest.tar


(1,2)bis with gnu tar, the two previous operations can be achieved
    in a single step.

    prompt> tar xzf mod_macro-latest.tar.gz


(3) compile and install mod macro as a dynamic shared object library
    ready to be loaded into apache.

    prompt> apxs -c -i -a mod_macro-1.1.4/mod_macro.c


(4) you may also want to install the html documentation.

    prompt> cp mod_macro-1.1.4/mod_macro.html \
               apache_2.0.40/htdocs/manual/mod/

    and maybe update apache_2.0.40/htdocs/manual/mod/index.html to
    add a reference to the mod_macro.html file.

(5) if you want a static binding, see the apache documentation;-)

(6) Enjoy!