Changes between Initial Version and Version 1 of Ticket #48942


Ignore:
Timestamp:
Sep 21, 2015, 9:45:19 AM (9 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Duplicate of #48941.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48942

    • Property Cc robitaille@… added
    • Property Status changed from new to closed
    • Property Resolution changed from to duplicate
    • Property Port py27-astropy added
  • Ticket #48942 – Description

    initial v1  
    11I've been trying to install py27-astropy for days now, to no avail, despite frantic googling.
    22I get the following error:
    3 "Error: org.macports.build for port py27-astropy returned: command execution failed
     3
     4{{{
     5Error: org.macports.build for port py27-astropy returned: command execution failed
    46Please 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}}}
    69
    710Checking 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
    914:info:build                     (/usr/bin/llvm-gcc-4.2:i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on App$
    1015:info:build Copyright (C) 2007 Free Software Foundation, Inc.
     
    2025:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org$
    2126: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}}}
    2329
    2430from 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?