Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

error when compiling source on linux

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


crazypangolin at gmail

Jul 16, 2009, 9:44 PM

Post #1 of 2 (103 views)
Permalink
error when compiling source on linux

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
collect2: ld returned 1 exit status
make: *** [python] Error 1
PLEASE HELP!
--
http://mail.python.org/mailman/listinfo/python-list


peter.fodrek at stuba

Jul 17, 2009, 2:24 AM

Post #2 of 2 (90 views)
Permalink
Re: error when compiling source on linux [In reply to]

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
--
http://mail.python.org/mailman/listinfo/python-list

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.