Don't ask to ask, just ask | |
PerlMonks |
Re: Prima + MCE::Hobo demonstrationby marioroy (Prior) |
on May 02, 2017 at 21:01 UTC ( [id://1189360]=note: print w/replies, xml ) | Need Help?? |
Compiling Prima on Mac OS X. These days, OS X doesn't ship with X11. Fortunately, XQuartz is available from https://www.xquartz.org. That provides the Mac with X11 support and ships with freetype2 and PNG libraries including header files. XQuartz installs under /opt/X11. Below, one may need to run with configure --prefix=/opt/X11 when building the GIF and JPEG libraries. For unknown reasons, Prima does not check /usr/local on my system. GIF: https://sourceforge.net/projects/giflib/files/
JPEG: http://www.ijg.org/files/
Prima: https://metacpan.org/pod/Prima
Unfortunately, the fonts aren't as nice as running a Tk app. It did find freetype2 when building Prima. For help, I sent the author an email about why fonts have a staircase look. Regards, Mario Update: The author confirm Prima selecting bitmap (core X11 fonts) over freetypes.
In Section
Cool Uses for Perl
|
|