You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by michael young <mh...@valdosta.edu> on 2006/02/27 06:22:11 UTC
[users@httpd] Compile error on mod_auth_dbm in apache 1.3.34
Hi,
I get this error in compiling apache 1.3.34.
############# error start ###########
gcc -c -I../../os/unix -I../../include -DLINUX=22 -DHAVE_SET_DUMPABLE
-DNO_DBM_REWRITEMAP -DUSE_HSREGEX `../../apaci` -fpic -DSHARED_MODULE
mod_auth_anon.c && mv mod_auth_anon.o mod_auth_anon.lo
gcc -shared -o mod_auth_anon.so mod_auth_anon.lo
gcc -c -I../../os/unix -I../../include -DLINUX=22 -DHAVE_SET_DUMPABLE
-DNO_DBM_REWRITEMAP -DUSE_HSREGEX `../../apaci` -fpic -DSHARED_MODULE
mod_auth_dbm.c && mv mod_auth_dbm.o mod_auth_dbm.lo
mod_auth_dbm.c:41:18: error: ndbm.h: No such file or directory
mod_auth_dbm.c: In function ‘get_dbm_pw’:
mod_auth_dbm.c:109: error: ‘DBM’ undeclared (first use in this function)
mod_auth_dbm.c:109: error: (Each undeclared identifier is reported only once
mod_auth_dbm.c:109: error: for each function it appears in.)
mod_auth_dbm.c:109: error: ‘f’ undeclared (first use in this function)
mod_auth_dbm.c:110: error: ‘datum’ undeclared (first use in this function)
mod_auth_dbm.c:110: error: syntax error before ‘d’
mod_auth_dbm.c:113: error: ‘q’ undeclared (first use in this function)
mod_auth_dbm.c:127: error: ‘d’ undeclared (first use in this function)
make[4]: *** [mod_auth_dbm.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/opt/download/apache_1.3.34/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/opt/download/apache_1.3.34'
make: *** [build] Error 2
############ error end ###########
My config command is : ./configure --prefix=/opt/apache
--with-layout=GNU --enable-shared=max --enable-module=most
It goes OK, or seems to. The error is on the make step.
I can't figure out what im missing. Any ideas on what's up?
thank you for your time,
Michael
---------------------------------------------------------------------
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] Compile error on mod_auth_dbm in apache 1.3.34
Posted by michael young <mh...@valdosta.edu>.
Nick Kew wrote:
>On Monday 27 February 2006 17:35, michael young wrote:
>
>
>
>>>This used to be an FAQ: DBM on Linux has always been a mess.
>>>Google for my replies on the subject back in the 1990s.
>>>
>>>
>>Thanks, I'll look for them.
>>
>>
>
>Hmmm, I think I was a bit terse this morning.
>
>The executive summary is, don't use mod_auth_dbm.
>Use mod_auth_db if you need the same functionality.
>
>
Sorry, I genericly used "--enable-shared=max --enable-module=most"
rather than picking out modules I thought I would need. I will try
"--enable-shared=max --enable-module=most --disable-shared=auth_dbm". I
don't need it but was hoping there might be an easy way to keep it so as
few modifications as posible could be made.
>In Apache 2 the problem goes away.
>
>
>
Is there a way to convert a conf file from 1.3 to 2.0 quickly? maybe a
script or something.
---------------------------------------------------------------------
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] Compile error on mod_auth_dbm in apache 1.3.34
Posted by Nick Kew <ni...@webthing.com>.
On Monday 27 February 2006 17:35, michael young wrote:
> >This used to be an FAQ: DBM on Linux has always been a mess.
> >Google for my replies on the subject back in the 1990s.
>
> Thanks, I'll look for them.
Hmmm, I think I was a bit terse this morning.
The executive summary is, don't use mod_auth_dbm.
Use mod_auth_db if you need the same functionality.
In Apache 2 the problem goes away.
--
Nick Kew
---------------------------------------------------------------------
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] Compile error on mod_auth_dbm in apache 1.3.34
Posted by michael young <mh...@valdosta.edu>.
Nick Kew wrote:
>On Monday 27 February 2006 05:22, michael young wrote:
>
>
>>Hi,
>>I get this error in compiling apache 1.3.34.
>>
>>
>
>Why are you compiling a version that's four years obsolete?
>
>
I want to upgrade my existing server without having to create a new
http.conf file, as the 1 I currently have is long and very custemized.
If I use 1.3.34 I can keep using the same conf file. 1.3.34 is old but
stable and will fill my needs nicely.
>
>
>>mod_auth_dbm.c && mv mod_auth_dbm.o mod_auth_dbm.lo
>>mod_auth_dbm.c:41:18: error: ndbm.h: No such file or directory
>>
>>
>
>This used to be an FAQ: DBM on Linux has always been a mess.
>Google for my replies on the subject back in the 1990s.
>
>
Thanks, I'll look for them.
---------------------------------------------------------------------
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] Compile error on mod_auth_dbm in apache 1.3.34
Posted by Nick Kew <ni...@webthing.com>.
On Monday 27 February 2006 05:22, michael young wrote:
> Hi,
> I get this error in compiling apache 1.3.34.
Why are you compiling a version that's four years obsolete?
> mod_auth_dbm.c && mv mod_auth_dbm.o mod_auth_dbm.lo
> mod_auth_dbm.c:41:18: error: ndbm.h: No such file or directory
This used to be an FAQ: DBM on Linux has always been a mess.
Google for my replies on the subject back in the 1990s.
--
Nick Kew
---------------------------------------------------------------------
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