Re: [bdbxml] mod_db4 and Apache2

George Schlossnagle <[email protected]>
Newsgroups gmane.comp.db.dbxml.general
Message-ID <[email protected]>
mod_db4 is currently available only for Apache 1.3.

Best,

George

On Jul 6, 2005, at 2:18 PM, David Stevens wrote:

> Does anyway know if mod_db4 can work with Apache 2? I have dbxml-2.1.8
> installed on Mac OS X 10.4.2 (8C29) and am trying to get the apache
> php stack working together with it. Here is the error I'm seeing when
> using apxs from apache2.
>
> Regards,
>
> David
>
> /opt/program/bin/apxs -c -S CC=g++   mod_db4.c sem_utils.c skiplist.c
> utils.c mm_hash.c  -lmm  -L/usr/local//lib -L/opt/program/lib -ldb_cxx
> /opt/program/build/libtool --silent --mode=compile g++ -prefer-pic
> -DAP_HAVE_DESIGNATED_INITIALIZER -DDARWIN
> -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -g -O2
> -I/opt/program/include  -I/opt/program/include
> -I/opt/program/include -I/usr/local/include  -c -o mod_db4.lo
> mod_db4.c && touch mod_db4.slo
> mod_db4.c:33: error: expected initializer before "db4_module"
> mod_db4.c: In function `void kill_all_children()':
> mod_db4.c:38: error: 'ap_sync_scoreboard_image' was not declared in  
> this scope
> mod_db4.c:41: error: 'HARD_SERVER_LIMIT' was not declared in this  
> scope
> mod_db4.c: At global scope:
> mod_db4.c:47: error: `child_info' has not been declared
> mod_db4.c:67: error: `pool' has not been declared
> mod_db4.c: In function `void db4_init(server_rec*, int*)':
> mod_db4.c:71: error: 'kill_always' was not declared in this scope
> mod_db4.c:71: error: 'ap_spawn_child' was not declared in this scope
> mod_db4.c: At global scope:
> mod_db4.c:78: error: `pool' has not been declared
> mod_db4.c:91: error: `pool' has not been declared
> mod_db4.c:101: error: expected initializer before "db4_module"
> apxs:Error: Command failed with rc=65536
> .
> make: *** [mod_db4.so] Error 1
>
>
> ------------------------------------------
> To remove yourself from this list, send an
> email to [email protected]
>
>

George Schlossnagle

-- Vice President of Engineering
-- OmniTI Computer Consulting
-- http://www.omniti.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.