in reply to Prima + MCE::Hobo demonstration
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/
tar xjf giflib-5.1.4.tar.bz2 cd giflib-5.1.4 ./configure --prefix=/opt/X11 make sudo make install
JPEG: http://www.ijg.org/files/
tar xf jpegsrc.v9b.tar.gz cd jpeg-9b ./configure --prefix=/opt/X11 make sudo make install
Prima: https://metacpan.org/pod/Prima
tar xf Prima-1.51.tar.gz cd Prima-1.51 PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig perl Makefile.PL X11BASE=/opt/X +11 WITH_GTK2=0 make sudo make install
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Prima + MCE::Hobo demonstration
by marioroy (Prior) on May 03, 2017 at 15:07 UTC | |
by dk (Chaplain) on May 03, 2017 at 15:17 UTC | |
by marioroy (Prior) on May 03, 2017 at 20:48 UTC |