Changes between Initial Version and Version 1 of Ticket #48942
- Timestamp:
- Sep 21, 2015, 9:45:19 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #48942
- Property Cc robitaille@… added
-
Property
Status
changed from
new
toclosed
-
Property
Resolution
changed from
to
duplicate
- Property Port py27-astropy added
-
Ticket #48942 – Description
initial v1 1 1 I've been trying to install py27-astropy for days now, to no avail, despite frantic googling. 2 2 I get the following error: 3 "Error: org.macports.build for port py27-astropy returned: command execution failed 3 4 {{{ 5 Error: org.macports.build for port py27-astropy returned: command execution failed 4 6 Please see the log file for port py27-astropy for details: 5 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-astropy/py27-astropy/main.log" 7 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-astropy/py27-astropy/main.log 8 }}} 6 9 7 10 Checking the log file tells me (eventually): 8 ":info:build Compiler specified by CC environment variable 11 12 {{{ 13 :info:build Compiler specified by CC environment variable 9 14 :info:build (/usr/bin/llvm-gcc-4.2:i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on App$ 10 15 :info:build Copyright (C) 2007 Free Software Foundation, Inc. … … 20 25 :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org$ 21 26 :info:build Exit code: 1 22 :error:build org.macports.build for port py27-astropy returned: command execution failed" 27 :error:build org.macports.build for port py27-astropy returned: command execution failed 28 }}} 23 29 24 30 from which I gather I need the compiler clang. I did not appear to have this, so I installed it via macports and now have "clang-3.4 @3.4.2_9+analyzer+arm_runtime (active)" but the error persists. So how do I tell macports to use a different compiler in this case?