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

Re: [PATCH] Correct path to Perl modules (issue 2479)

From: Mattias Engdegård <mattias_at_virtutech.se>
Date: 2006-03-25 15:57:31 CET

Philip Martin <philip@codematters.co.uk> writes:

>Does this affect the regression tests? Will the regression tests use
>installed objects instead of those in the build tree?

If there are old files in the installation directory that are intended to be
overwritten by the installation, then they will be used in preference to
the ones in the build tree. If this is not desirable, then $libdir could
be moved to after the build directory - but this is more dangerous, since
an innocent user might experience sudden malfunctions because the installed
modules he uses suddenly pick up files created in someone's build tree.

The best solution would be to hard-code the installation path only, and
override it when testing in the build tree prior to installation.
LD_LIBRARY_PATH could be used for that (at least if --enable-new-dtags was
used to link the module). The alternative is to remove the old installation
first - maybe that is less acceptable.

Anyway, as things stand now the modules don't work at all and I have to apply
the posted patch when I build a new SVN version.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 25 15:58:38 2006

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.