When I try to install gzip with APXS?=/usr/local/apache/bin/apxs, i get the following error:
When I try to install gzip with 'APXS?=/usr/sbin/apxs' in the Makefile, i get the following error:
I saw both of these in different How-To's for installing gzip, so which one should I be using and what should I do to fix the error for the correct way?
thanks in advance for your help.
]# make
/usr/local/apache/bin/apxs -Wc,-Wall,-O3,-fomit-frame-pointer,-pipe -c mod_gzip.c mod_gzip_debug.c mod_gzip_compress.c -o mod_gzip.so
apxs:Error: Sorry, no DSO support for Apache available
apxs:Error: under your platform. Make sure the Apache
apxs:Error: module mod_so is compiled into your server
apxs:Error: binary `/usr/local/apache/bin/httpd'.
make: *** [build] Error 1
When I try to install gzip with 'APXS?=/usr/sbin/apxs' in the Makefile, i get the following error:
# make
/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=208125 -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
cc1: error: unrecognized command line option "-Wall,-O3,-fomit-frame-pointer,-pipe"
apxs:Break: Command failed with rc=1
make: *** [build] Error 1
I saw both of these in different How-To's for installing gzip, so which one should I be using and what should I do to fix the error for the correct way?
thanks in advance for your help.