mod_layout install problems
My linux distro is CentOSThis is exactly what I do when I am installing mod_layout and it'll show the errors im getting:
root@server1 [~]# wget http://www.tangent.org/download/mod_layout-3.2.1.tar.gz
--13:55:12-- http://www.tangent.org/download/mod_layout-3.2.1.tar.gz
=> `mod_layout-3.2.1.tar.gz'
Resolving www.tangent.org... 216.39.139.194
Connecting to www.tangent.org|216.39.139.194|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://tangent.org/download/mod_layout-3.2.1.tar.gz [following]
--13:55:12-- http://tangent.org/download/mod_layout-3.2.1.tar.gz
=> `mod_layout-3.2.1.tar.gz'
Resolving tangent.org... 216.39.139.194
Connecting to tangent.org|216.39.139.194|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://download.tangent.org/mod_layout-3.2.1.tar.gz [following]
--13:55:12-- http://download.tangent.org/mod_layout-3.2.1.tar.gz
=> `mod_layout-3.2.1.tar.gz'
Resolving download.tangent.org... 216.39.139.194
Connecting to download.tangent.org|216.39.139.194|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 33,459 (33K) [application/x-gzip]
100%[====================================>] 33,459 48.54K/s
13:55:13 (48.38 KB/s) - `mod_layout-3.2.1.tar.gz' saved [33459/33459]
root@server1 [~]# tar -zxvf mod_layout-3.2.1.tar.gz
mod_layout-3.2.1/
mod_layout-3.2.1/directives/
mod_layout-3.2.1/directives/LayoutHTTPHeaderOff.html
mod_layout-3.2.1/directives/LayoutComment.html
mod_layout-3.2.1/directives/LayoutCacheNeeded.html
mod_layout-3.2.1/directives/LayoutIgnoreTagHeader.html
mod_layout-3.2.1/directives/LayoutHandler.html
mod_layout-3.2.1/directives/LayoutMergeEndTag.html
mod_layout-3.2.1/directives/LayoutCache.html
mod_layout-3.2.1/directives/LayoutProxy.html
mod_layout-3.2.1/directives/LayoutTimeFormat.html
mod_layout-3.2.1/directives/LayoutIgnoreTagFooter.html
mod_layout-3.2.1/directives/LayoutPostAsync.html
mod_layout-3.2.1/directives/LayoutIgnoreTag.html
mod_layout-3.2.1/directives/LayoutHandlerGlob.html
mod_layout-3.2.1/directives/LayoutHeader.html
mod_layout-3.2.1/directives/LayoutFooterFile.html
mod_layout-3.2.1/directives/LayoutMergeErrorIgnore.html
mod_layout-3.2.1/directives/LayoutFooterOff.html
mod_layout-3.2.1/directives/LayoutIgnoreURI.html
mod_layout-3.2.1/directives/LayoutMergeBeginTag.html
mod_layout-3.2.1/directives/LayoutHeaderOff.html
mod_layout-3.2.1/directives/LayoutIgnoreFooterURI.html
mod_layout-3.2.1/directives/LayoutIgnoreHeaderURI.html
mod_layout-3.2.1/directives/LayoutMerge.html
mod_layout-3.2.1/directives/LayoutFooter.html
mod_layout-3.2.1/directives/LayoutReplaceTags.html
mod_layout-3.2.1/directives/LayoutHTTPOverrideHandler.html
mod_layout-3.2.1/directives/Layout.html
mod_layout-3.2.1/directives/LayoutDefaultHandlers.html
mod_layout-3.2.1/directives/LayoutDisplayOriginal.html
mod_layout-3.2.1/directives/LayoutHTTPOverrideURI.html
mod_layout-3.2.1/directives/LayoutHTTPHeader.html
mod_layout-3.2.1/directives/LayoutHeaderFile.html
mod_layout-3.2.1/directives/LayoutFooterTXT.html
mod_layout-3.2.1/directives/LayoutHeaderTXT.html
mod_layout-3.2.1/utility.c
mod_layout-3.2.1/layout.c
mod_layout-3.2.1/Makefile
mod_layout-3.2.1/LICENSE
mod_layout-3.2.1/VERSION
mod_layout-3.2.1/mod_layout.c
mod_layout-3.2.1/faq.html
mod_layout-3.2.1/README
mod_layout-3.2.1/Makefile.tmpl
mod_layout-3.2.1/Makefile.STATIC
mod_layout-3.2.1/mod_layout.h
mod_layout-3.2.1/THANKS
mod_layout-3.2.1/Makefile.libdir
mod_layout-3.2.1/version.h
mod_layout-3.2.1/ChangeLog
mod_layout-3.2.1/directives.h
mod_layout-3.2.1/origin.c
mod_layout-3.2.1/INSTALL
mod_layout-3.2.1/TODO
mod_layout-3.2.1/proto.h
root@server1 [~]# cd mod*
root@server1 [~/mod_layout-3.2.1]# mv Makefile.STATIC Makefile
mv: overwrite `Makefile'?
root@server1 [~/mod_layout-3.2.1]# mv Makefile.STATIC Makefile
mv: overwrite `Makefile'? y
root@server1 [~/mod_layout-3.2.1]# clear-w Makefile
bash: pico: command not found
root@server1 [~/mod_layout-3.2.1]# nano -w Makefile
root@server1 [~/mod_layout-3.2.1]# make install
/usr/local/apache/bin/apxs -o mod_layout.so -c mod_layout.c utility.c origin. c layout.c
gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208125 -DUSE_HS REGEX -DEAPI -fpic -DSHARED_MODULE -I/usr/local/apache/include -c mod_layout.c
In file included from /usr/include/sys/types.h:213,
from /usr/local/apache/include/ap_config.h:45,
from /usr/local/apache/include/httpd.h:29,
from mod_layout.h:9,
from mod_layout.c:6:
/usr/include/endian.h:37:25: bits/endian.h: No such file or directory
In file included from /usr/local/apache/include/ap_config.h:463,
from /usr/local/apache/include/httpd.h:29,
from mod_layout.h:9,
from mod_layout.c:6:
/usr/include/sys/sem.h:31:22: bits/sem.h: No such file or directory
In file included from /usr/include/limits.h:144,
from /usr/lib/gcc/i386-redhat-linux/3.4.5/include/limits.h:122,
from /usr/lib/gcc/i386-redhat-linux/3.4.5/include/syslimits.h:7 ,
from /usr/lib/gcc/i386-redhat-linux/3.4.5/include/limits.h:11,
from /usr/include/sys/param.h:22,
from /usr/local/apache/include/ap_config.h:983,
from /usr/local/apache/include/httpd.h:29,
from mod_layout.h:9,
from mod_layout.c:6:
/usr/include/bits/posix1_lim.h:153:28: bits/local_lim.h: No such file or directo ry
apxs:Break: Command failed with rc=1
make: *** [mod_layout.so] Error 1
At the bottom there, you see I am getting these errors, I am following the install instructions etc... but I just keep getting these errors, what do I do? also, I did put the right apxs directory in the makefile, I am sure of that.