[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Mod_gzip & Apache 'ap_regexec()'



Since the apache upgrade from sun I have been unable to build the Mod_gzip module although i believe that the apache version is the
same.(1.3.6) What error message I am getting is confusing as it would appear that apache now no longer has the 'ap_regexec()'
regular expression parsing API call in it which was a problem with older versions of apache. I have tried building nmod_gzip using
apxs with this:-

[root@ns2 httpd]# /usr/sbin/apxs -i -a -c /usr/sbin/mod_gzip.c
apxs:Warning: /usr/bin/httpd not found or not executable
apxs:Warning: Continuing anyway...
apxs:Warning: No shared object support for Apache
apxs:Warning: available under your platform. Make sure
apxs:Warning: the Apache module mod_so is compiled into
apxs:Warning: your server binary `/usr/bin/httpd'.
apsx:Warning: Continuing anyway...
cc -O2 -m486 -fno-strength-reduce -DLINUX=2 -DNO_DBM_REWRITEMAP -DMOD_SSL=202108 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -I
/usr/local/include -DEAPI -DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED -fpic -DSHARED_MODULE -I/usr/include/apache  -c /usr/sbin/mod_gzip.c
ld -Bshareable -o /usr/sbin/mod_gzip.so /usr/sbin/mod_gzip.o
cp /usr/sbin/mod_gzip.so /usr/lib/apache/mod_gzip.so
chmod 755 /usr/lib/apache/mod_gzip.so
[activating module `gzip' in /etc/httpd/conf/httpd.conf]

After changing the location of mod_gzip.so and adding some calls, apache is restarted but I get the following error:-

Setting up Web Service: Syntax error on line 35 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/mod_gzip.so into server: /usr/lib/apache/mod_gzip.so: undefined symbol: ap_regexec
/usr/sbin/httpd

Can anyone help/shed some light on what I have to do to incorporate mod_gzip into apache.

Thanks in advance.

Jon