You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Guido Casper <gc...@s-und-n.de> on 2004/04/23 11:45:55 UTC

[users@httpd] mod_dav and Linux compiling problem

Using mod_dav with httpd-2.0.48 I encountered this error:
http://mailman.lyra.org/pipermail/dav-dev/2003-March/004477.html

preventing me from having property values above 1 KB in size.

I tried to compile httpd-2.0.48 on Suse Linux 8.1 (kernel 2.4.21) with 
berkeley-4.0.14 at:
/usr/local/BerkeleyDB.4.0

but
./configure --prefix=/home/gcasper/apache2.0 --enable-mods-shared=most
gave me:

checking checking for Berkeley DB 4.0 in /usr/local/BerkeleyDB.4.0...
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db-4.0... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db4... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db... no
checking checking for Berkeley DB 3 in the standard places...

so I decided to try berkeley-4.1.25 at:
/usr/local/BerkeleyDB.4.1

./configure --prefix=/home/gcasper/apache2.0 --enable-mods-shared=most
ran fine  but "make" aborts with:

home/gcasper/runtime/httpd-2.0.48/srclib/apr-util/.libs/libaprutil-0.so: 
undefined reference to `dbopen'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Fehler 1
make[1]: Leaving directory `/home/gcasper/runtime/httpd-2.0.48'
make: *** [all-recursive] Fehler 1


Any idea what may be the cause or what I could do is much appreciated!

Thanks
Guido


---------------------------------------------------------------------
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] mod_dav and Linux compiling problem

Posted by Milan Andric <ma...@eecs.berkeley.edu>.
On Fri, Apr 23, 2004 at 11:45:55AM +0200, Guido Casper wrote:
> Using mod_dav with httpd-2.0.48 I encountered this error:
> http://mailman.lyra.org/pipermail/dav-dev/2003-March/004477.html
> 
> preventing me from having property values above 1 KB in size.
> 
> I tried to compile httpd-2.0.48 on Suse Linux 8.1 (kernel 2.4.21) with 
> berkeley-4.0.14 at:
> /usr/local/BerkeleyDB.4.0

you might want to consider installing BerkeleyDB as a package, ie. in a
standard location. i don't know if a pkg is availalbe for SUSE, but your OS
might have a easier time find it in /usr/local/lib rather than
/usr/local/BerkeleyDB.4.0.  it all depends how you have things setup, but
usually by default ld doesn't look in /usr/local/BerkeleyDB.4.0 so you have to
make special arrangements.  once ld is happy you probably won't have any
problems with the bug link you mentioned. i'm also using bdb 4.1.25.

-- 
Milan

---------------------------------------------------------------------
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