[root@freeserver mod_layout-3.2]# cd /tmp/
[root@freeserver tmp]# wget http://download.tangent.org/mod_layout-3.4.tar.gz
--23:28:15-- http://download.tangent.org/mod_layout-3.4.tar.gz
=> `mod_layout-3.4.tar.gz'
Resolving download.tangent.org... 216.39.139.198
Connecting to download.tangent.org|216.39.139.198|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 41,454 (40K) [application/x-gzip]
100%[====================================>] 41,454 24.26K/s
23:28:18 (24.22 KB/s) - `mod_layout-3.4.tar.gz' saved [41454/41454]
[root@freeserver tmp]# tar xzf mod_layout-3.4.tar.gz
[root@freeserver tmp]# cd mod_layout*
[root@freeserver mod_layout-3.4]# make
`apxs -q CC` -I`apxs -q INCLUDEDIR` `apxs -q CFLAGS` -c mod_layout.c -Wall
/bin/sh: apxs: command not found
/bin/sh: apxs: command not found
/bin/sh: apxs: command not found
/bin/sh: -I: command not found
make: *** [mod_layout.o] Error 127
[root@freeserver mod_layout-3.4]# declare PATH=$PATH:/usr/local/apache/bin
[root@freeserver mod_layout-3.4]# make
`apxs -q CC` -I`apxs -q INCLUDEDIR` `apxs -q CFLAGS` -c mod_layout.c -Wall
`apxs -q CC` -I`apxs -q INCLUDEDIR` `apxs -q CFLAGS` -c utility.c -Wall
`apxs -q CC` -I`apxs -q INCLUDEDIR` `apxs -q CFLAGS` -c origin.c -Wall
`apxs -q CC` -I`apxs -q INCLUDEDIR` `apxs -q CFLAGS` -c layout.c -Wall
apxs -c mod_layout.o utility.o origin.o layout.o
gcc -shared -o mod_layout.so mod_layout.o utility.o origin.o layout.o
[root@freeserver mod_layout-3.4]# make install
strip mod_layout.so
apxs -i -a -n 'layout' mod_layout.so
[activating module `layout' in /usr/local/apache/conf/httpd.conf]
cp mod_layout.so /usr/local/apache/libexec/mod_layout.so
cp: cannot create regular file `/usr/local/apache/libexec/mod_layout.so': Text file busy
apxs:Break: Command failed with rc=1
make: *** [install] Error 1
[root@freeserver mod_layout-3.4]#