You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Pete Stokes <st...@quinn-direct.com> on 2004/02/10 22:18:14 UTC
[users@httpd] error on make - mod_rewrite
Hi.
I'm trying to compile apache 1.3.29 with the following, and it dies on
mod_rewrite. I've google'd but cannot find anything. Any ideas are
appreciated!
Pete.
export CFLAGS="-DDEFAULT_SERVER_LIMIT=2000 -DDEFAULT_START_THREADS=100"
./configure --prefix=/wwwroot --enable-module=so --enable-module=rewrite
--enable-shared=rewrite --enable-module=info --enable-shared=info
--enable-module=include --enable-shared=include --enable-module=status
--enable-shared=status --enable-module=backhand --enable-shared=backhand
ERROR:
gcc -c -I../../os/unix -I../../include -DLINUX=22 -I/usr/include/db1
-DUSE_HSREGEX -DDEFAULT_SERVER_LIMIT=2000 -DDEFAULT_START_THREADS=100
`../../apaci` -fpic -DSHARED_MODULE mod_rewrite.c && mv mod_rewrite.o
mod_rewrite.lo
In file included from mod_rewrite.c:93:
mod_rewrite.h:133:18: ndbm.h: No such file or directory
mod_rewrite.c: In function `lookup_map_dbmfile':
mod_rewrite.c:3067: error: `DBM' undeclared (first use in this function)
mod_rewrite.c:3067: error: (Each undeclared identifier is reported only once
mod_rewrite.c:3067: error: for each function it appears in.)
mod_rewrite.c:3067: error: `dbmfp' undeclared (first use in this function)
mod_rewrite.c:3068: error: `datum' undeclared (first use in this function)
mod_rewrite.c:3068: error: parse error before "dbmkey"
mod_rewrite.c:3073: error: `dbmkey' undeclared (first use in this function)
mod_rewrite.c:3076: error: `dbmval' undeclared (first use in this function)
make[4]: *** [mod_rewrite.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/root/dump/apache_1.3.29/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/root/dump/apache_1.3.29'
make: *** [build] Error 2
srv-linux-ifprd4:~/dump/apache_1.3.29 #
***********************************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses.
***********************************************************************************
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] error on make - mod_rewrite
Posted by André Malo <nd...@perlig.de>.
* Pete Stokes <st...@quinn-direct.com> wrote:
> Hi.
>
> I'm trying to compile apache 1.3.29 with the following, and it dies on
> mod_rewrite. I've google'd but cannot find anything. Any ideas are
> appreciated!
> mod_rewrite.h:133:18: ndbm.h: No such file or directory
You need the ndbm header, it may be in a gdbm-devel package. (you didn't say
which system).
If you don't need dbm rewritemaps you can even compile with
-DNO_DBM_REWRITEMAP, which excludes the dbm support from mod_rewrite.
nd
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org