On Thursday 27 August 2009 08:36:25 am garagefan wrote:
> i've taken the project directly from github and attempted to run
> python setup.py install and get the same error:
>
> running install
> error: invalid Python installation: unable to open /usr/lib/python2.5/
> config/Makefile (No such file or directory)
>
try: yum provides /usr/lib/python2.5/config/Makefile

you'll get something like this:

[r...@sylia httpd]# yum provides /usr/lib/python2.5/config/Makefile

<snip>    

0 packages excluded due to repository protections                               
                                                                             
Importing additional filelist information                                       
                                                                             
python-devel-2.5.1-26.fc9.i386 : The libraries and header files needed for 
Python development.                                                             
  
Repo        : updates-newkey                                                    
                                                                             
Matched from:                                                                   
                                                                             
Filename    : /usr/lib/python2.5/config/Makefile                                
                                                                             



python-devel-2.5.1-25.fc9.i386 : The libraries and header files needed for 
Python development.
Repo        : fedora
Matched from:
Filename    : /usr/lib/python2.5/config/Makefile



python-devel-2.5.1-26.fc9.i386 : The libraries and header files needed for 
Python development.
Repo        : installed
Matched from:
Other       : Provides-match: /usr/lib/python2.5/config/Makefile


> i assume then, i need to install Makefile? I've attempted to try yum
> install Makefile to no success
>

Makefile isn't a program, it's a file that the program make uses to build 
software.  Software developers usually create this for you (similar to a 
setup.py), what it really wants is the one from the python install. You 
should really read the error messages more carefully and look at your tools 
deeper. 

Mike

-- 
Tout choses sont dites deja, mais comme personne n'ecoute, il faut
toujours recommencer.
                -- A. Gide

[ All things have already been said, but since no one listens, one
  must always start again. ]

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to