[MacPorts] #59985: python37, python38: error: cannot run C compiled programs (was: port install python38 or python37 fails with failure to destroot)

MacPorts noreply at macports.org
Mon Jan 20 04:50:33 UTC 2020


#59985: python37, python38: error: cannot run C compiled programs
--------------------------+--------------------
  Reporter:  AgilentGCMS  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:               |
--------------------------+--------------------

Comment (by ryandesign):

 Overriding the compiler is not generally recommended. Why do you want to
 do this?

 The log says:

 {{{
 :info:configure configure: error: cannot run C compiled programs.
 :info:configure If you meant to cross compile, use `--host'.
 :info:configure See `config.log' for more details
 :info:configure Command failed:  cd
 "/Users/sbasu1/packages/macports/var/macports/build/_Users_sbasu1_packages_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/Python-3.8.1"
 && ./configure --prefix=/Users/sbasu1/packages/macports --enable-
 framework=/Users/sbasu1/packages/macports/Library/Frameworks --enable-ipv6
 --enable-loadable-sqlite-extensions --with-computed-gotos --with-
 ensurepip=no --with-system-expat --with-system-ffi
 :info:configure Exit code: 1
 :error:configure Failed to configure python38, consult
 /Users/sbasu1/packages/macports/var/macports/build/_Users_sbasu1_packages_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/Python-3.8.1/config.log
 }}}

 So what does that config.log say about you "cannot run C compiled
 programs"? You may want to attach it here as well.

-- 
Ticket URL: <https://trac.macports.org/ticket/59985#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list