[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: compiling subversion

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2004-06-02 04:27:15 CEST

First, please, please, please, email the users@subversion.tigris.org
mailing list so others can benefit from our discussion.

On Tue, 1 Jun 2004, Gergely Imre wrote:

> i have trouble compiling subversion-1.0.4. i downloaded the source of apr,
> apr-utils, db-4.2.52, and subversion. i want to compile the server, on a
> redhat 7.3.
> i do it like this:
>
> first i compiled Berkeley DB4:
>
> ./configure --prefix=/usr/local/db-4.2.52 --enable-cxx
> make
> make install
>
>
> then, i untarred the subversion source, and did a:
>
>
> ./configure --prefix=/usr/local/subversion-1.0.4 --with-ssl --with-zlib
> --with-berkeley-db=/usr/local/db-4.2.52
>
> at the end of the configure script, i got the following:
>
>
> checking for static Apache module support... no
> checking for Apache module support via DSO through APXS... no - Unable to
> locate /usr/local/apache/include/mod_dav.h
> ==================================================================
> WARNING: skipping the build of mod_dav_svn
> --with-apxs or --with-apache must be used
> ==================================================================
> checking for socket in -lsocket... no
> checking for availability of Berkeley DB... no
> checking for ANSI C header files... (cached) yes
> checking for an ANSI C-conforming const... yes
> checking for size_t... yes
> checking for working memcmp... yes
> checking for vprintf... yes
> checking for _doprnt... no
> checking zlib.h usability... yes
> checking zlib.h presence... yes
> checking for zlib.h... yes
> checking for inflate in -lz... yes
> checking for python2... /usr/bin/python2
> checking for Python 2.0 or newer
> checking for JDK... no
> checking for perl... /usr/bin/perl
> configure: Enabled swig binding: perl
> configure: Enabled swig binding: python
> configure: Enabled swig binding: java
> checking for swig... /usr/bin/swig
> checking swig version... 1.1 (Patch 5)
> configure: WARNING: swig bindings version 1.3.19 or newer needed for swig
> support.
> checking for makeinfo... /usr/bin/makeinfo
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating svn-config
> config.status: creating tools/backup/hot-backup.py
> config.status: creating contrib/client-side/svn_load_dirs.pl
> config.status: creating tools/hook-scripts/commit-access-control.pl
> config.status: creating tools/hook-scripts/commit-email.pl
> config.status: creating tools/hook-scripts/propchange-email.pl
> config.status: creating svn_private_config.h
> configure: WARNING: we have configured for a client-only build
>
>
> The Subversion filesystem library, part of the server, requires
> Berkeley DB version 4.0.14 or newer, which you don't seem to have
> installed and linked to APR-UTIL. We have created makefiles which
> will build the Subversion client code only, and skip the server. You
> can find latest version of Berkeley DB at http://www.sleepycat.com/.
> You can find the latest version of Berkeley DB here:
> http://www.sleepycat.com/download/index.shtml
>
> a don't want any apache dav support, but i do want the server, and not only
> the client. i don't understand the last message, after the WARNING. i
> actually have the db > 4.0.14 installed, why do i get this error?

You seem to have tried to manually install apr, apr-utils, and db-4.2.52,
so I'm not sure what to tell you. When you start changing paths then
everything has to match and sometimes you have to go through wierd
gyrations to get things to work.

It looks like you may have db-4.0.14 installed at the same time? This
might be causing a/the problem????

 
> i know you have some cool rpms, but unfortunately i can't use them on this
> installation of redhat.
> could you give me some hints?
> thanks
>

The only thing I can suggest is to first try my (S)RPMs and then if that
works incrementally change the SRPMs until you get it working. I've also
got subversion repositories of a lot of this stuff at
http://summersoft.fay.ar.us in case that helps.

The whole purpose of someone doing (S)RPMs is so that other people won't
have to go through all that hassle again.

At this point it is all working for me on my RedHat 7.3 system, but
if people can demonstrate problems with my RPMs then I'll be glad to try
to fix them. Patches are very welcome. :-)

-- 
David Wayne Summers          "Linux: Because reboots are for hardware upgrades!"
david_at_summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 2 04:27:48 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.