[Distutils] help please

Phillip J. Eby pje at telecommunity.com
Wed Mar 28 18:25:28 CEST 2007


At 04:13 PM 3/28/2007 +0100, Hui Zhang wrote:
>Hey Matt,
>
>   Thanks so much for your reply. It works now!
>   I am stuck on another probelm now. I tried to install python-devel in
>cygwin, but it seems that python-devel can not find where the python is
>and claims that a python is needed.
>   --------------------------------------------------------
>   $ rpm -Uvh python-devel-2.3.4-1.m68kmint.rpm
>   error: Failed dependencies:
>           python = 2.3.4 is needed by python-devel-2.3.4-1
>   ---------------------------------------------------------
>   But acutally python 2.3.4 has been automatically installed at the
>same time when cygwin is installed.

You don't need to use RPM - run the Cygwin setup program again and make 
sure you have Python set to include the source package, not just the 
binary.  That will ensure you have all the header files.  I don't believe 
Cygwin *has* a python-devel package.

In general, unless you really know what you're doing, you should always 
install or upgrade Cygwin packages using the setup program, or by 
installing them from source code.  Don't mix RPMs into the picture.



More information about the Distutils-SIG mailing list