On Fri, Mar 21, 2014 at 05:40:08PM -0300, Hisham wrote:
> On 21 March 2014 16:30, Peter Colberg <pe...@colberg.org> wrote:
> > One last question: Do you have pandoc [1] on your build machine?
> >
> > My modules use pandoc to build HTML from text files in Pandoc's
> > Markdown format; it would be nice to ship the built HTML files
> > in the binary rocks.
> >
> > [1] http://johnmacfarlane.net/pandoc/installing.html
> 
> I don't, and last time I tried to install it I went down a Haskell 
> rabbithole...
> 
> That started here:
> http://johnmacfarlane.net/pandoc/installing.html
> and at one point got me here:
> https://twitter.com/hisham_hm/status/438776597064454144

If you are willing to spare CPU time, you can try this:

  git clone http://git.colberg.org/packages

  nice make -f packages.mk install-pandoc PANDOC_INSTALL_DIR=$HOME/.local

This will bootstrap a GHC compiler using an older GHC compiler that
should run on most Linux x86_64 machines, and build a minimum Haskell
environment to compile and finally install pandoc. The makefile sets
the number of compiler processes to the number of CPU cores.

It will take a while; but at least the build is fully automatic.

Regards,
Peter

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to