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

Re: Building Apache & mod_dav_svn

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-07-22 17:54:58 CEST

Marcus Comstedt <marcus@mc.pp.se> writes:
> Maybe it's because I tried to share APR dir between subversion and
> Apache (didn't see the point in having two of them...). Now I have
> copied it, and rebuild, and Apache indeed seems to be dynamically
> linked this time. To be on the safe side, I tried using the same
> --prefix for Subversion and Apache this time as well. Still some
> trouble though, it seems that the only lib that gets installed in
> Apaches libdir is libsvn_subr-1.so.

Hmmm. Before I do a full, dynamic build, I always "clean up" my
system using a shell script (included at the end of this mail).

> Well, I'll keep trying, but this really has to be simpler...

Yes, I agree, server setup is a bitch and a half right now. I'm not
really sure how to simplify it, though there must be a way.

Here's that script, /usr/local/cleanup.sh for me:


# Take care of libs
cd /usr/local/lib
rm -f libapr*
rm -f libexpat*
rm -f libneon*
rm -f libsvn*

# Take care of headers
cd /usr/local/include/subversion-1
rm -f apr*
rm -f svn*
rm -f neon/*
cd /usr/local/include
rm -f expat.h

# And apr's config helpers
cd /usr/local/bin
rm -f apr-config
rm -f apu-config

# Take care of httpd
cd /usr/local/
if [ -d apache2 ]; then
  # Back up the backup.
  if [ -d was_apache2 ]; then
    rm -rf was_was_apache2
    mv was_apache2 was_was_apache2
  # Now get apache2 itself out of the way.
  mv apache2 was_apache2

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 22 18:07:56 2002

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

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