nikademus79 / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

psutil-0.2.1 failed to compile #160

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download psutil-0.2.1.tar.gz
2. Untar the file.
3. cd psutil-0.2.1; python setup.py install

What is the expected output? What do you see instead?
Expected: Compilation logs and successfully install. 
Actual: 
/usr/bin/ld:built in linker script:4: syntax error
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

What version of psutil are you using? What Python version?
psutil: 0.2.1
Python: 2.5.2

On what operating system? Is it 32bit or 64bit version?
Fedora Core 10 32-bit

Please provide any additional information below.

Original issue reported on code.google.com by pamal...@gmail.com on 5 May 2011 at 2:38

Attachments:

GoogleCodeExporter commented 8 years ago
I can't reproduce any problem with the linker on this build... can you show the 
full output? It seems like there's some output missing when compared against 
what I see on my system. What shell are you using? 

What about the parameters in 

gcc -pthread -shared build/temp.linux-i686-2.5/psutil/_psutil_linux.o 
-L/usr/lib -lpython2.5 -o build/lib.linux-i686-2.5/_psutil_linux.so

Does this look right to you? i.e. do you have the python2.5 libs installed and 
should it be pointing to /usr/lib ? Mine looks different here (albeit with 
Python 2.4): 

gcc -pthread -shared build/temp.linux-i686-2.4/psutil/_psutil_linux.o -o 
build/lib.linux-i686-2.4/_psutil_linux.so

Original comment by jlo...@gmail.com on 5 May 2011 at 8:07

GoogleCodeExporter commented 8 years ago
It is ok now. It seems like it is an config problem at the OS level. 

I reinstalled a fresh copy of Fedora 10, everything just works. 

Original comment by pamal...@gmail.com on 6 May 2011 at 8:14

GoogleCodeExporter commented 8 years ago
Ok thanks for the update, I'll go ahead and close this out then :) 

Original comment by jlo...@gmail.com on 6 May 2011 at 2:26