LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-07-2006, 11:52 AM   #1
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

Rep: Reputation: 31
config question about apache 1.3.34


Hi,
I am trying to build apache with everything, DSO style, except mod auth_dbm. my current config looks like this.

./configure --prefix=/opt/apache --with-layout=GNU --enable-shared=max --enable-module=most --disable-shared=auth_dbm

This does not work. Is there a way to make this work?

thank you,
Michael
 
Old 03-08-2006, 07:24 AM   #2
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
"does not work" is a strong statement.... Does it sit on the couch all day? Is it hanging arround linuxquestions forums all the time ?

Since you have a really nice site in your signature, I propose your read this part: http://www.catb.org/~esr/faqs/smart-...html#beprecise, then come back and give some more specific details.

Hint: the output of your configure command would be a good start.
 
Old 03-09-2006, 12:23 PM   #3
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

Original Poster
Rep: Reputation: 31
LOL!
Thank you for the humor in your reply. I'm sorry I should have been a bit more specific. What I want is all modules to be built except for mod auth_dbm. make gives a compile error. Here is the output from make when I do the config command "./configure --prefix=/opt/apache --with-layout=GNU --enable-shared=max --enable-module=most --disable-shared=auth_dbm".

It should not have auth_dbm at all.

########## Start make output #########
ar cr libmain.a alloc.o buff.o http_config.o http_core.o http_log.o http_main.o http_protocol.o http_request.o http_vhost.o util.o util_date.o util_script.o util_uri.o util_md5.o rfc1413.o
ranlib libmain.a
<=== src/main
===> src/lib
<=== src/lib
===> src/modules
===> src/modules/standard
gcc -c -I../../os/unix -I../../include -DLINUX=22 -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -DUSE_HSREGEX `../../apaci` mod_auth_dbm.c
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.o] 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


######### End make Output #########

I posted on the apache list server but the only reply I got there was to not use auth_dbm. So that is why I used the config command the way that I did. Telling config "all mods except auth_dbm".

Here is my first config command without the except auth_dbm. "./configure --prefix=/opt/apache --with-layout=GNU --enable-shared=max --enable-module=most"
Here is the output from make with this config command.

######### Start make Output ############
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

########## End make Output ############

I hope this makes things a bit clearer and more specific. If you or anyone else knows how to get all mods working including auth_dbm, that would be great. I would still like to know how to do an "all mods except this mod" config for Apache. Just to know.

Versions:
Apache: 1.3.34
gcc: 4.0.2
Distro: Suse 10 Pro
kernel: 2.6.13-15.7-smp

thank you for your time.
Michael

Last edited by youngstorm; 03-09-2006 at 12:27 PM.
 
Old 03-10-2006, 02:39 AM   #4
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
Quote:
Originally Posted by youngstorm
Code:
./configure --prefix=/opt/apache --with-layout=GNU --enable-shared=max --enable-module=most --disable-shared=auth_dbm
This does not disable the auth_dbm module. It just tells not to build it as shared but to include it statically into the executable.

The error you get on your two attemps is then the same:

Quote:
Originally Posted by youngstorm
Code:
mod_auth_dbm.c:41:18: error: ndbm.h: No such file or directory
You are missing the header files for gdbm. On fedora core 3, the following should get you running:
Code:
yum install gdbm-devel
Good luck.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and Apache -- Config question j0217995 Slackware 4 11-05-2004 10:09 AM
apache 1.3 config question; default document? soliant Linux - Software 1 03-25-2004 11:50 AM
apache httpd.config question fibbi Linux - Software 4 10-18-2003 10:07 AM
Apache: Virtual Host Config question rajanr Linux - Software 5 08-30-2003 12:41 PM
Apache config question syphon00 Linux - Networking 2 09-06-2002 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration