Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've just installed Mountain Lion, Xcode 4.4.1 + command line tools, and MacPorts for ML.

It's working for other packages but I can't get figlet to install.

When I use sudo port install figlet in the terminal it stops quickly and outputs:

--->  Building figlet
Error: for port figlet returned: command execution failed
Please see the log file for port figlet for details:
To report a bug, follow the instructions in the guide:
Error: Processing of port figlet failed
share|improve this question
I'm not really sure what to look for in the log – Jack Stewart Aug 12 '12 at 6:37
I don't see any recent activity for figlet in MacPorts tracker. Only looking at the log will help. Can you post it to Pastebin--or something of the like--and link it in your question? – ephsmith Aug 12 '12 at 15:15
heres the log: – Jack Stewart Aug 12 '12 at 15:27
I noticed that in ML, Xcode doesn't create a 'Developer' directory, it holds everything in the Xcode app in the Applications folder. Could that have something to do with it? – Jack Stewart Aug 12 '12 at 15:29
let us continue this discussion in chat – ephsmith Aug 12 '12 at 16:29
up vote 1 down vote accepted

I figured this out by cleaning the port with

sudo port clean figlet

then installing using

sudo port install figlet

According to the Macports ProblemHotList, this error is typical of existing packages that have stored compiler locations that aren't current. Cleaning the package and reinstalling assures the package is rebuilt with the current compiler collection settings for MacPorts.

share|improve this answer
Cleaning and trying again is the first thing you should always try anytime any MacPorts port fails to build, especially when the words "Skipping completed" are present in the main.log which indicate that the build attempt was not from a clean slate. – ryandesign Aug 13 '12 at 23:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.