install error after make install

Help
sander
2005-10-11
2013-04-08
  • sander
    sander
    2005-10-11

    i am trying to install mod_gzip, but i get errors:

    [root@server01 mod_gzip-1.3.26.1a]# make build
    /usr/sbin/apxs -Wc,-Wall,-O3,-fomit-frame-pointer,-pipe -c mod_gzip.c mod_gzip_debug.c mod_gzip_compress.c -o mod_gzip.so
    gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -DMOD_SSL=208122 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/include/apache -Wall,-O3,-fomit-frame-pointer,-pipe  -c mod_gzip.c
    gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -DMOD_SSL=208122 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/include/apache -Wall,-O3,-fomit-frame-pointer,-pipe  -c mod_gzip_debug.c
    gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -DMOD_SSL=208122 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/include/apache -Wall,-O3,-fomit-frame-pointer,-pipe  -c mod_gzip_compress.c
    gcc -shared -o mod_gzip.so mod_gzip_compress.o mod_gzip_debug.o mod_gzip.o -o mod_gzip.so -Wc,-Wall,-O3,-fomit-frame-pointer,-pipe

    [root@server01 mod_gzip-1.3.26.1a]# make install
    /usr/sbin/apxs -A -i mod_gzip.so
    Configuration file is not valid. There are sections closed before opened.
    make: *** [install] Error 1
    [root@server01 mod_gzip-1.3.26.1a]#

    does anyone know what is going wrong? I think something with rewrtiting the httpd.conf?

    sander