Open GoogleCodeExporter opened 8 years ago
I'm not sure how to look into this as I don't have OSX 10.9.2.
Just a couple of notes:
- do you have python header files installed?
- I see you use "cc" compiler; what happens if you try to compile psutil form
sources (from the tarball) and specify gcc compier as in "python setup.py build
-c gcc"?
Original comment by g.rodola
on 8 Apr 2014 at 12:12
Original comment by g.rodola
on 8 Apr 2014 at 12:12
This is what happens with -c gcc:
Gabriels-MacBook-Pro:psutil-2.1.0 gabriel$ sudo python setup.py build -c gcc
running build
running build_py
running build_ext
error: don't know how to compile C/C++ code on platform 'posix' with 'gcc'
compiler
Original comment by gabriel...@gmail.com
on 8 Apr 2014 at 9:12
Same with psutil 2.1.0 and Python 2.7.5. (I'm also on 10.9.2/64bit.)
I had the source for psutil 0.3.0 around as well, and building that gives me
the same error.
This Stackoverflow post:
http://stackoverflow.com/questions/22313407/clang-error-unknown-argument-mno-fus
ed-madd-python-package-installation-fa
outlines how to work around it:
export CFLAGS=-Qunused-arguments
export CPPFLAGS=-Qunused-arguments
Original comment by mark.fic...@gmail.com
on 20 Apr 2014 at 8:52
I am having the same issue as well on OS X 10.9.2 64bit. Could it be related
to?:
https://langui.sh/2014/03/10/wunused-command-line-argument-hard-error-in-future-
is-a-harsh-mistress/
Original comment by wjimenez...@gmail.com
on 21 Apr 2014 at 9:23
Original issue reported on code.google.com by
Old.Ian....@vixtechnology.com
on 25 Mar 2014 at 10:17