Changes between Initial Version and Version 1 of Ticket #48941


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

Has duplicate #48942.

Please attach the main.log file.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48941

    • Property Owner changed from macports-tickets@… to robitaille@…
    • Property Port py27-astropy added
  • Ticket #48941 – Description

    initial v1  
    11I've been trying to install py27-astropy for days now but I get the following error:
    2 "Error: org.macports.build for port py27-astropy returned: command execution failed
    3 Please see the log file for port py27-astropy for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-astropy/py27-astropy/main.log"
     2
     3{{{
     4Error: org.macports.build for port py27-astropy returned: command execution failed
     5Please see the log file for port py27-astropy for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-astropy/py27-astropy/main.log
     6}}}
    47
    58Checking this log file tells me (eventually):
    6 ":info:build Compiler specified by CC environment variable
     9
     10{{{
     11:info:build Compiler specified by CC environment variable
    712:info:build                     (/usr/bin/llvm-gcc-4.2:i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
    813:info:build Copyright (C) 2007 Free Software Foundation, Inc.
     
    1621:info:build                     where <command> is the command you ran.
    1722:info:build
    18 :info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-astropy/py27-astropy/work/astropy-1.0.4" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg --offline --no-git build --use-system-cfitsio --use-system-expat --use-system-wcslib --use-system-erfa "
     23:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-astropy/py27-astropy/work/astropy-1.0.4" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg --offline --no-git build --use-system-cfitsio --use-system-expat --use-system-wcslib --use-system-erfa
     24}}}
    1925
    2026from which I gather that the compiler clang is necessary. I did not appear to have this compiler, so I installed it via macports (clang-3.4), but still get the same error trying to install astropy. I cannot find any info about how to tell macports to use a different compiler here.