[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] mod_gzip under RaQ3
- Subject: RE: [cobalt-users] mod_gzip under RaQ3
- From: "aljuhani" <aljuhani@xxxxxxxxx>
- Date: Thu Feb 20 02:35:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Have you tried to edit the mod_gzip.c before making the install? If not, please follow the steps below:
RaQ3 ONLY(apache 1.3.6): edit the mod_gzip.c file (supplied by Chris
Burton )
==================================
pico mod_gzip.c
Add the following 3 lines to the end of the file
API_EXPORT(int) ap_regexec(const regex_t *preg, const char *string,
size_t nmatch, regmatch_t pmatch[], int eflags)
{ return regexec(preg, string, nmatch, pmatch, eflags); }
=== end of custom RAQ3 1.3.6 changes ==========
and do an httpd restart when all done:
/etc/rc.d/init.d/httpd restart
more info at this URL:
http://list.cobalt.com/pipermail/cobalt-users/2002-July/073677.html
aljuhani@xxxxxxxxx
==Original Message==
The download link for mod_gzip.c is not valid anymore,
but I've found it at
http://www.ehyperspace.com/mod_gzip/src/1.3.19.1a/mod_gzip.c
I've tried the steps described in the archives, but I
get this error:
[root@ns /tmp]# /usr/sbin/apxs -i -a -c 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 mod_gzip.c
apxs:Break: Command failed with rc=16711680
[root@ns /tmp]#
This is a RaQ3, almost with all latest patches.