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

Re: Unable to build Subversion Python Library with SVN 1.3.0

From: Ed Hillmann <edhillmann_at_yahoo.com>
Date: 2006-01-10 02:49:34 CET

That did the trick! Thanks heaps for the patch.

Ed
--- Garrett Rooney <rooneg@electricjellyfish.net>
wrote:

>
> That's a Solaris specific problem. It'll probably
> be fixed in 1.3.1.
> The actual change that corrected it was r17910.
> I'll attach the
> patch, in case you don't feel like digging around in
> the repository
> for it.
>
> -garrett
> > Index: build/get-py-info.py
>
===================================================================
> --- build/get-py-info.py (revision 17909)
> +++ build/get-py-info.py (revision 17910)
> @@ -84,22 +84,24 @@
> sysconfig.get_config_var('PYTHON'))
> add_option_if_missing(options,
> "-bundle_loader", python_exe)
>
> - else:
> + elif sys.platform == 'cygwin':
>
> - # Initialize config variables
> + # Add flags to build against the Python library
> (also necessary
> + # for Darwin, but handled elsewhere).
> +
> + # Find the path to the library, and add a flag
> to include it as a
> + # library search path.
> shared_libdir =
> sysconfig.get_config_var('LIBDIR')
> static_libdir =
> sysconfig.get_config_var('LIBPL')
> ldlibrary =
> sysconfig.get_config_var('LDLIBRARY')
> - python_version =
> sysconfig.get_config_var('VERSION')
> -
> - # Find the path to the library
> if os.path.exists(os.path.join(shared_libdir,
> ldlibrary)):
> if shared_libdir != '/usr/lib':
> add_option_if_missing(options, '-L%s' %
> shared_libdir)
> elif os.path.exists(os.path.join(static_libdir,
> ldlibrary)):
> add_option_if_missing(options, "-L%s" %
> static_libdir)
> -
> - # Load in the library
> +
> + # Add a flag to build against the library
> itself.
> + python_version =
> sysconfig.get_config_var('VERSION')
> add_option_if_missing(options, "-lpython%s" %
> python_version)
>
> return options
>

                
____________________________________________________
Do you Yahoo!?
Find a local business fast with Yahoo! Local Search
http://au.local.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 10 02:54:12 2006

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

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