shanecode / psutil

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

psutil 1.1.0 fails to install on Ubuntu 11.04 #423

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. easy_install psutil on Ubuntu 11.04

What is the expected output?
Installation should succeed

What do you see instead?

~# easy_install psutil
Searching for psutil
Reading http://pypi.python.org/simple/psutil/
Reading http://code.google.com/p/psutil/
Best match: psutil 1.1.0
Downloading 
https://pypi.python.org/packages/source/p/psutil/psutil-1.1.0.tar.gz#md5=a7566a2
c59b6aac3bbb628f7cfd72174
Processing psutil-1.1.0.tar.gz
Writing /tmp/easy_install-bP0UVQ/psutil-1.1.0/setup.cfg
Running psutil-1.1.0/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-bP0UVQ/psutil-1.1.0/egg-dist-tmp-T16Ytp
In file included from /usr/include/python2.7/Python.h:8:0,
                 from psutil/_psutil_linux.c:10:
/usr/include/python2.7/pyconfig.h:1136:0: warning: "_GNU_SOURCE" redefined
psutil/_psutil_linux.c:9:0: note: this is the location of the previous 
definition
psutil/_psutil_linux.c: In function ‘linux_prlimit’:
psutil/_psutil_linux.c:142:22: warning: assignment makes integer from pointer 
without a cast
psutil/_psutil_linux.c:143:22: warning: assignment makes integer from pointer 
without a cast
psutil/_psutil_linux.c: In function ‘init_psutil_linux’:
psutil/_psutil_linux.c:418:54: error: ‘RLIMIT_RTTIME’ undeclared (first use 
in this function)
psutil/_psutil_linux.c:418:54: note: each undeclared identifier is reported 
only once for each function it appears in
error: Setup script exited with error: command 'gcc' failed with exit status 1

What version of psutil are you using? What Python version?
~# easy_install --version
setuptools 1.0
~# python --version
Python 2.7.1+

On what operating system? Is it 32bit or 64bit version?
Ubuntu 11.04, 64bit

Please provide any additional information below.
easy_install psutil==1.0.1 succeeds, the new version on pypi fails.

Original issue reported on code.google.com by arn...@infinidat.com on 27 Aug 2013 at 7:12

GoogleCodeExporter commented 9 years ago
I can confirm the same beahviour under CentOS 6.4, using python 2.7.3 inside a 
virtualenv. version 1.0.1 installs fine, instead.

Original comment by alessand...@gmail.com on 28 Aug 2013 at 11:59

GoogleCodeExporter commented 9 years ago
Fixed in revision 6affa16c145a. Thansk for signaling.

Original comment by g.rodola on 28 Aug 2013 at 5:11

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 28 Aug 2013 at 5:11

GoogleCodeExporter commented 9 years ago
Thanks. Can you please upload a new package to pypi? (or remove the 1.1 release 
- it seems to be a mistake, because I can see it here, where easy_install takes 
it from:
http://pypi.python.org/simple/psutil
but not on the official links:
http://pypi.python.org/pypi/psutil
https://code.google.com/p/psutil/downloads)

Original comment by arn...@infinidat.com on 29 Aug 2013 at 7:27

GoogleCodeExporter commented 9 years ago
Ouch! Wasn't aware of that. It is removed now.

Original comment by g.rodola on 29 Aug 2013 at 8:07