[MacPorts] #51695: could not use setup.py to install pyraf using the macports installation of python 2.7
MacPorts
noreply at macports.org
Thu Jun 23 00:53:42 PDT 2016
#51695: could not use setup.py to install pyraf using the macports installation of
python 2.7
------------------------------+--------------------------------
Reporter: mahajan.smriti@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port:
------------------------------+--------------------------------
I have installed python 2.7 using macports and it seemed to work fine
untill I had to install Pyraf. Amongst others the last bit of the
installation code read:
warning: manifest_maker: standard file '-c' not found
The C compiler used to compile Python gcc-4.2, and
which is normally used to compile C extensions, is not
available. You can explicitly specify which compiler to
use by setting the CC environment variable, for example:
CC=gcc python setup.py <command>
or if you are using MacOS X, you can try:
CC=clang python setup.py <command>
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in
/private/var/folders/zt/rfcx53ks5b7_1_773_2jwpp80000gn/T/pip-build-
ImCNyh/astropy
Now I do have gcc installed, so I tried looking for setup.py and I think
the one installed with Macports version of Python on my laptop is in
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/python
/py-entrypoints/files/
but when I try running python
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/python
/py-entrypoints/files/setup.py install
I get
running install
running build
running build_py
creating build
error: could not create 'build': Permission denied
Not sure how to use setup.py to install Pyraf or for that matter other
modules. I am using Python 2.7 on Mac OS X 10.9.5
--
Ticket URL: <https://trac.macports.org/ticket/51695>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list