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

Re: [PATCH] swig-build-cleanup.patch

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-12-11 19:10:40 CET

cmpilato@collab.net wrote:
>
> Brandon Ehle <azverkan@yahoo.com> writes:
>
> > >And what about --prefix?
> > >
> > The prefix option is a bug. If Subversion installs to /usr/local and
> > Python is in /usr, then the installer won't work.
>
> You're completely right on this, Brandon. And thank you for noticing
> this bug. I've been meaning to revert that change for the longest
> time. Guess I should dump brainstate to the dev-list or issue-tracker
> more often...
>

On the other hand, the current Makefile.in installs the bindings into
Subversion's install directory, which I didn't need root as. Now to
use the system's default python in /usr/bin, it wants to install into
/usr/lib/python2.2/site-packages/svn and I need root.

Now, I have root on my systems, but I don't like to install additional
packages into the system's python (or Perl for that matter). If I were
to do this, I'd much rather install my own compiled python into /opt and
install the bindings into there. So I'd rather see the old behavior.

% make install-swig-py-ext
.
.
.
running build_ext
skipping '_client' extension (up-to-date)
skipping '_delta' extension (up-to-date)
skipping '_fs' extension (up-to-date)
skipping '_ra' extension (up-to-date)
skipping '_repos' extension (up-to-date)
skipping '_wc' extension (up-to-date)
skipping '_util' extension (up-to-date)
running install_lib
creating /usr/lib/python2.2/site-packages/svn
error: could not create '/usr/lib/python2.2/site-packages/svn': Permission denied

Also, I'm not a python user, so couldn't the install-swig-py-ext target
just depend upon swig-py-ext? In your patch, the install doesn't depend
upon swig-py-ext. I'm guessing that the `install' command also does the
`build' command?

Best,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 11 19:10:51 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.