[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: Brandon Ehle <azverkan_at_yahoo.com>
Date: 2002-12-11 18:03:50 CET

>
>
>Why is -L$(DESTDIR)$(prefix)/lib missing from PYTHON_DISTUTIL?
>
>
Because we are linking against the build tree instead of the installed
location. This can cause linker problems if there are some API changes
in Subversion since the last time you compiled as distutils doesn't use
libtool.

>And why isn't --build-base=$(SWIG_BUILD_DIR)/python/build being used?
>
>
Its not needed, build is the default subdirectory and you can't pass
that command line option to "install" anyway. If we still want it, we'd
make a setup.cfg file that has the param in there.

>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. Same problem if
Python is /usr/local and Subversion is /usr. Distutils will
automatically determine whether to install into /usr or /usr/local based
on the version of python thats used when run the script. Since
$(PYTHON) is overridable, this should work for all cases and installations.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 11 15:01:12 2002

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