Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

A4orce84

macrumors 6502
Original poster
Apr 17, 2012
433
46
Try MacPorts or Fink. MacPorts I know has it:

Code:
figlet                         @2.2.4          textproc/figlet

jW
 
If MacPorts is properly installed, just entering the following in Terminal should install it:

Code:
sudo port install figlet

After it finishes, just enter "figlet" in Terminal to launch the app.

jW


Sorry I'm having so many issues, I ended up getting the following error message:
Code:
Asifs-MBP:~ aahmad$ sudo port install figlet
Password:
Warning: xcodebuild exists but failed to execute
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Building figlet
Error: Target org.macports.build returned: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
Log for figlet is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_figlet/figlet/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Also tried the following:
Code:
Asifs-MBP:~ aahmad$ sudo port
Warning: xcodebuild exists but failed to execute
MacPorts 2.0.4
Entering interactive mode... ("help" for help, "quit" to quit)
[Users/aahmad] >


Any ideas? Thanks in advance!
 
You either haven't installed Xcode (available on the App Store) or you haven't installed it's xcodemake library, which you do from within the Xcode app (I just had to do this recently). So, if you don't have Xcode, download that first, then open it and go into Preferences to Downloads, and install the Command Line Tools.

jW
 
Code:
Asifs-MBP:~ aahmad$ sudo port
Password:
Warning: xcodebuild exists but failed to execute
MacPorts 2.0.4
Entering interactive mode... ("help" for help, "quit" to quit)
[Users/aahmad] >

Typing figlet just seems to have things hang unfortunately.

That's what I currently see after installing xcode and the command line tools! =(
 
Code:
Asifs-MBP:~ aahmad$ sudo port
Password:
Warning: xcodebuild exists but failed to execute
MacPorts 2.0.4
Entering interactive mode... ("help" for help, "quit" to quit)
[Users/aahmad] >

Typing figlet just seems to have things hang unfortunately.

That's what I currently see after installing xcode and the command line tools! =(

Hmm, mine was somewhat simliar, although I didn't get the xcodebuild warning. Someone else may be able to help you. Did you try typing in anything from there? On mine, I simply type in a word and it spits out the big version.

Code:
firefly:~ Mal$ figlet
jump
   _                       
  (_)_   _ _ __ ___  _ __  
  | | | | | '_ ` _ \| '_ \ 
  | | |_| | | | | | | |_) |
 _/ |\__,_|_| |_| |_| .__/ 
|__/                |_|

You can't tell from this very well, but once I entered figlet, there were no command prompts, the cursor simply dropped to the next line. I typed in the word and hit enter and it appeared on the screen. I used Control-C to exit, not sure if there's a better way.

jW
 
Try entering this command in the terminal app:

Code:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

Then retry the "sudo port install figlet" command.
 
Have a Scooby Snack, ScoobyMcDoo! That's exactly what should be done, and OP, that should solve the problem (I had entered that after being prompted at one point, but wasn't sure I could locate the proper command again).

jW
 
Ding ding! That did it! Thanks everyone for your help!

Final question -- I now want to use figlet to display a custom message whenever I start my terminal. I did this over in Linux world by modifying the "/home/user/.bash_profile" file.

However, I'm not seeing the same file in OSX Lion, so the question now is what file do I need to modify so whenever I start terminal I see a custom Figlet message! =)

Thanks again!

--Asif
 
Final question -- I now want to use figlet to display a custom message whenever I start my terminal. I did this over in Linux world by modifying the "/home/user/.bash_profile" file.

However, I'm not seeing the same file in OSX Lion, so the question now is what file do I need to modify so whenever I start terminal I see a custom Figlet message! =)

.bash_profile should be there. If it is not there, you can create it and it will be used.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.