Discussion:
[MacPorts] #57739: Failed to configure mpich-default
MacPorts
2018-12-07 10:01:54 UTC
Permalink
#57739: Failed to configure mpich-default
---------------------------+---------------------------
Reporter: sidhantjain90 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: mpich-default
---------------------------+---------------------------
Hi,

I am trying to install mpich which has a dependency mpich-default but it
fails to configure. I have tried looking for previous tickets related to
this issue and tried fixes

sudo port -f uninstall cctools

sudo port install cctools


..but without success.

it seems to be an issue with fortran compiler but I am not sure.
--
Ticket URL: <https://trac.macports.org/ticket/57739>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-07 10:02:31 UTC
Permalink
#57739: Failed to configure mpich-default
----------------------------+--------------------
Reporter: sidhantjain90 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: mpich-default |
----------------------------+--------------------
Changes (by sidhantjain90):

* Attachment "main.log" added.
--
Ticket URL: <https://trac.macports.org/ticket/57739>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-07 10:02:43 UTC
Permalink
#57739: Failed to configure mpich-default
----------------------------+--------------------
Reporter: sidhantjain90 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: mpich-default |
----------------------------+--------------------
Changes (by sidhantjain90):

* Attachment "config.log" added.
--
Ticket URL: <https://trac.macports.org/ticket/57739>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-07 10:08:10 UTC
Permalink
#57739: mpich-***@2.5.4 Configure Failure
----------------------------+--------------------
Reporter: sidhantjain90 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: mpich-default |
----------------------------+--------------------
--
Ticket URL: <https://trac.macports.org/ticket/57739#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-07 13:46:20 UTC
Permalink
#57739: mpich-default @3.3: configure: error: Could not determine a way to link a
Fortran test program!
----------------------------+----------------------
Reporter: sidhantjain90 | Owner: eborisch
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: mpich-default |
----------------------------+----------------------
Changes (by ryandesign):

* status: new => assigned
* owner: (none) => eborisch
* cc: seanfarley (added)
Post by MacPorts
Hi,
I am trying to install mpich which has a dependency mpich-default but it
fails to configure. I have tried looking for previous tickets related to
this issue and tried fixes
sudo port -f uninstall cctools
sudo port install cctools
..but without success.
it seems to be an issue with fortran compiler but I am not sure.
New description:

Hi,

I am trying to install mpich which has a dependency mpich-default but it
fails to configure. I have tried looking for previous tickets related to
this issue and tried fixes

{{{
sudo port -f uninstall cctools
sudo port install cctools
}}}

..but without success.

it seems to be an issue with fortran compiler but I am not sure.

--
--
Ticket URL: <https://trac.macports.org/ticket/57739#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-07 15:40:21 UTC
Permalink
#57739: mpich-default @3.3: configure: error: Could not determine a way to link a
Fortran test program!
----------------------------+----------------------
Reporter: sidhantjain90 | Owner: eborisch
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: mpich-default |
----------------------------+----------------------

Comment (by eborisch):

From main.log:

`:warn:main Xcode does not appear to be installed; most ports will likely
fail to build.`

Is Xcode installed?
--
Ticket URL: <https://trac.macports.org/ticket/57739#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-07 16:01:34 UTC
Permalink
#57739: mpich-default @3.3: configure: error: Could not determine a way to link a
Fortran test program!
----------------------------+----------------------
Reporter: sidhantjain90 | Owner: eborisch
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: mpich-default |
----------------------------+----------------------
Post by MacPorts
`:warn:main Xcode does not appear to be installed; most ports will
likely fail to build.`
Post by MacPorts
Is Xcode installed?
Yes, I have already installed Xcode. Just to verify, I ran few commands:

{{{
$ xcode-select --version

xcode-select version 2354.


$ xcode-select -p

/Applications/Xcode.app/Contents/Developer
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57739#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-08 05:56:31 UTC
Permalink
#57739: mpich-default @3.3: configure: error: Could not determine a way to link a
Fortran test program!
----------------------------+----------------------
Reporter: sidhantjain90 | Owner: eborisch
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: mpich-default |
----------------------------+----------------------

Comment (by jmroot):

The way MacPorts checks whether Xcode is installed is by running
`xcodebuild -version`. What's the result of that?
--
Ticket URL: <https://trac.macports.org/ticket/57739#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-10 08:01:47 UTC
Permalink
#57739: mpich-default @3.3: configure: error: Could not determine a way to link a
Fortran test program!
----------------------------+----------------------
Reporter: sidhantjain90 | Owner: eborisch
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: mpich-default |
----------------------------+----------------------
Post by MacPorts
The way MacPorts checks whether Xcode is installed is by running
`xcodebuild -version`. What's the result of that?


Here is the result for the command

{{{

$ xcodebuild -version

Xcode 10.1
Build version 10B61

}}}
--
Ticket URL: <https://trac.macports.org/ticket/57739#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...