[MacPorts] #60340: gfortran library not found in building demeter
MacPorts
noreply at macports.org
Fri Jun 19 17:28:03 UTC 2020
#60340: gfortran library not found in building demeter
-----------------------+-----------------------
Reporter: paulfons | Owner: joefowler
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: demeter |
-----------------------+-----------------------
Comment (by kencu):
As Renee noted, the configuration flags from the {{{ifeffit}}} port appear
to be wrong. Specifically, the location of the gcc libraries. This
information is stored in this file:
{{{
/opt/local/share/ifeffit/config/Config.mak
}}}
I'm building this at present on 10.6.8, which uses gcc8, so I changed
this:
{{{
LIB_F77 = -L/opt/local/lib -L/opt/local/lib/gcc8/gcc/x86_64-apple-
darwin10/8.3.0 -L/opt/local/lib/gcc8/gcc/x86_64-apple-
darwin10/8.3.0/../../.. -lgfortran -lSystem -lgcc_ext.10.5 -lquadmath -lm
}}}
to this
{{{
LIB_F77 = -L/opt/local/lib -L/opt/local/lib/gcc8 -lgfortran -lSystem
-lgcc_ext.10.5 -lquadmath -lm
}}}
and all is well:
{{{
$ port -v installed demeter
The following ports are currently installed:
demeter @0.9.26_0 (active) platform='darwin 10' archs='x86_64'
date='2020-06-19T10:23:40-0700'
}}}
clearly we need a better plan for:
{{{
/opt/local/share/ifeffit/config/Config.mak
}}}
--
Ticket URL: <https://trac.macports.org/ticket/60340#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list