#36716: p5.12-locale-gettext: gettext function not found -----------------------------------+------------------- Reporter: ben@… | Owner: l2g@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: p5.12-locale-gettext | -----------------------------------+------------------- Comment (by mtb19@…): Replying to [comment:10 macports@…]:
...
I've added the parameter for the compiler "configure.compiler=gcc" so the whole command I executed successfully was:
{{{ sudo port install p5.12-locale-gettext configure.compiler=gcc }}}
This should no longer be an issue, but chances are most people don't install p5.12-locale-gettext directly. It's more likely getting pulled in as a dependency, in which case the following work-around is probably closer to what most people want: {{{ # Add the second command if you don't want MacPorts to think # you directly requested p5.12-locale-gettext (i.e., if the # build is choking from doing something like 'port install # ImageMagick'....) sudo port install p5.12-locale-gettext configure.compiler=gcc \ && sudo port unsetrequested p5.12-locale-gettext }}} Again, this should no longer be necessary since older clang versions have been blacklisted (i.e., the work-around should no longer be needed). I'm just making notes in case there's ever a similar problem.... -- Ticket URL: <https://trac.macports.org/ticket/36716#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X