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

Re: keeping current without deleting old versions

From: Ross Mark <rossm_at_controllingedge.com.au>
Date: 2002-12-11 07:41:16 CET

Nicholas Riley wrote:
>
> One caveat with this method - apr-config and apu-config get confused
> by the symbolic links:
>
> % apr-config --link-ld; apu-config --link-ld
> -L/usr/local/bin -lapr-0
> -L/usr/local/bin -laprutil-0
>
> I work around it by replacing /usr/local/bin/lib with
> /usr/local/lib/lib in Subversion's Makefile after running configure.
> Of course this is moot if you don't use Encap to manage
> APR/APR-util... Subversion itself does not have any problems with
> Encap that I've seen.
>

I had not heard of Encap but I have been doing a similar thing by hand
and my installation of apr/apu-config have the symlink problem. The
problem appears to be that apr/apu-config do a dir=`cd some_path && pwd`
and then compare $dir. The problem is that in the shell that
apr/apu-config use on my system (Redhat 7.2) pwd is a builtin and
returns the path as typed by the user. It does not resolve symlinks. I
just changed to two references of pwd with /bin/pwd and now I don't have
any problems with the correct directory being used.

I do have the annoying problem of the libtool generated errors if
-pthread is listed a dependency library. Since this is only a problem
after autogen.sh it is not as annoying as it is an easy patch to libtool
to skip -pthread when checking deplib.

Ross

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 11 07:42:38 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.