error when compiling source on linux

Peter Fodrek peter.fodrek at stuba.sk
Fri Jul 17 05:24:59 EDT 2009


On Friday 17 July 2009 06:44:26 aj wrote:
> when I try to compile Python 2.6 from source code on ubuntu, I get the
> message
> /usr/bin/ld: cannot open output file python: Is a directory

This says that there is directory in the sources with same name as will be 
named output

It can only occur when you are not compiling software correctly via INSTALL or 
README file

I think you made 

./configure
make

as compiling process

if this is true try 

mkdir bulid
cd build
../configure
make
make install


Kind regards 

Peter 



More information about the Python-list mailing list