[MacPorts] #63149: gtk2 @2.24.32_0+x11: Configure error on 10.4.11
MacPorts
noreply at macports.org
Mon Jun 28 23:23:48 UTC 2021
#63149: gtk2 @2.24.32_0+x11: Configure error on 10.4.11
-------------------------+----------------------
Reporter: evanmiller | Owner: kencu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: gtk2 |
-------------------------+----------------------
Comment (by kencu):
There are a few idiosyncracies when building things on Tiger. One of them
is this {{{--disable-dependency-tracking}}} issue.
I forget just now why Tiger shows this more than other systems. Presumably
it has to do with the older "make" program it defaults to, but somehow I
think that is not all of the explanation. The "scientific basis" for it
aside, in practical terms, what you do when this happens is to edit the
Portfile:
{{{
bbedit `port file gtk2`
}}}
and add that configure argument it wants in the right place in the
Portfile, below the other configure args, where it won't get clobbered:
{{{
configure.args-append --disable-dependency-tracking
}}}
and then clean your build and try again:
{{{
sudo port clean gtk2
sudo port -v install gtk2
}}}
and with luck you will either get a successful build, or at least get to
the next issue down the chain.
Your portfile edits are all erased each time you do a {{{sudo port
selfuldate}}} so you don't need to worry about making a mess of things.
You can save your edits if you want to do that by creating a local
repository of your edited Portfiles, but that is for another day.
--
Ticket URL: <https://trac.macports.org/ticket/63149#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list