This post originated from an RSS feed registered with Ruby Buzz
by Premshree Pillai.
Original Post: Building Pugs on OS X
Feed Title: Premshree's Personal Weblog
Feed URL: http://premshree.livejournal.com/data/rss
Feed Description: Premshree's Weblog
It’s indeed not very straightforward to install Pugs on OS X. There’s some good instructions available here. Anyway, I’ll just rehash most of the things mentioned there with the current state of the art, and some additional notes. These instructions are for GHC 6.4.1, hs-plugins (the latest), parrot 0.4.2 and Pugs 6.2.11.
export PUGS_EMBED=perl5,parrot export PARROT_PATH=/usr/local/parrot-0.4.2 perl Makefile.PL make sudo make install
make will take a while. Took me around two hours. The wait is worth it; however, you could optionally use make unoptimized — this will make Pugs compile faster, but will run much slower.
That should be it. Pugs should run fine now (here’s a screenshot):