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

Re: Python error during "configure": no module named "distutils"

From: David James <james82_at_gmail.com>
Date: 2005-09-04 18:57:12 CEST

On 9/4/05, Julian Foad <julianfoad@btopenworld.com> wrote:
> Max Bowsher wrote:
> > Julian Foad wrote:
> >
> >> checking for Python includes... Traceback (most recent call last):
> >> File "/home/julianfoad/src/subversion/build/get-py-info.py", line
> >> 12, in ?
> >> from distutils import sysconfig
> >> ImportError: No module named distutils
> >
> > # yast -i python-devel
>
> So, installing python-devel solves the problem for me ... but what is the
> proper solution that will avoid other people running into the same situation?
> Is this devel package needed only if I want to install the Subversion Python
> bindings? Should "configure" report a cleaner warning or error, or should it
> not perform this check unless I have indicated I want to build the bindings, or
> something?

Hi Julian,

Does the attached patch help?

[[[

* build/get-py-info.py:
  If distutils module is not available, output "none".

Suggested by: julianfoad

]]]

Thanks,

David

-- 
David James -- http://www.cs.toronto.edu/~james
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 4 18:58:01 2005

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.