pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Recent Haskell packages with Cabal



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

With assist from coypu@ I got functional Cabal Haskell stack and I
installed the newest pandoc!

Tutorial:
1. Get wip/ghc installed (there is bootkit for amd64 generated on
NetBSD 7.99.21).
Alternatively install prebuilt amd64 package from this location:
ftp://ftp.netbsd.org/pub/NetBSD/misc/kamil/ghc-7.10.2.tgz

2. Get Cabal:
https://www.haskell.org/cabal/release/cabal-1.22.4.0/Cabal-1.22.4.0.tar.
gz

3. Get cabal-install:
https://www.haskell.org/cabal/release/cabal-install-1.22.6.0/cabal-insta
ll-1.22.6.0.tar.gz

4. Build Cabal:
tar xvzf Cabal-1.22.4.0.tar.gz
cd Cabal-1.22.4.0
ghc Setup.hs
./Setup configure --user
./Setup build
./Setup install

5.Build cabal-install:
tar xvzf cabal-install-1.22.6.0.tar.gz
cd cabal-install-1.22.6.0
Edit ./bootstrap.sh and in line 120 set 'LD=ld'
EXTRA_CONFIGURE_OPTS="" ./bootstrap.sh --no-doc

6. Add cabal path to PATH
export PATH=$HOME/.cabal/bin

7. Upgrade cabal
cabal update
cabal install cabal-install

8. Install pandoc
cabal install pandoc

9. Have fun!

$ pandoc --version
pandoc 1.15.2.1
Compiled with texmath 0.8.4, highlighting-kate 0.6.
Syntax highlighting is supported for the following languages:
    abc, actionscript, ada, agda, apache, asn1, asp, awk, bash,
bibtex, boo, c,
    changelog, clojure, cmake, coffee, coldfusion, commonlisp, cpp,
cs, css,
    curry, d, diff, djangotemplate, dockerfile, dot, doxygen,
doxygenlua, dtd,
    eiffel, email, erlang, fasm, fortran, fsharp, gcc, glsl,
gnuassembler, go,
    haskell, haxe, html, idris, ini, isocpp, java, javadoc,
javascript, json,
    jsp, julia, kotlin, latex, lex, lilypond, literatecurry,
literatehaskell,
    lua, m4, makefile, mandoc, markdown, mathematica, matlab, maxima,
mediawiki,
    metafont, mips, modelines, modula2, modula3, monobasic, nasm, noweb,
    objectivec, objectivecpp, ocaml, octave, opencl, pascal, perl,
php, pike,
    postscript, prolog, pure, python, r, relaxng, relaxngcompact,
rest, rhtml,
    roff, ruby, rust, scala, scheme, sci, sed, sgml, sql, sqlmysql,
    sqlpostgresql, tcl, tcsh, texinfo, verilog, vhdl, xml, xorg, xslt,
xul,
    yacc, yaml, zsh
Default user data directory: /home/kamil/.pandoc
Copyright (C) 2006-2015 John MacFarlane
Web:  http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWS+e2AAoJEEuzCOmwLnZssmUQAIxyrijd8qBvaXY7Plxs2/Vn
Rnv7PllF4Vy4NKi+H0fHRqLJ63vbsa0oKe0BV9lEIBfUsz8wc3uAVOq4xGj+N5mv
FzlCd+Y83mifVDWIHC8aej1a8img+uzcEvufyJxzo7Ni6HSCR72Egj+W3nvBrGji
jGeau5tW5bIN/UutsfMnfUWSYQd0zdfKBKkFg3EwOun6A6sRXUViSVniij0cWVg7
88UTN2qecMWMvMvk76RlsPnG3MBJWuB2SrZpnAaQofCgS1RvujX58RyDqRjZUEWP
7d4sdu3jnxANmhaV1xk3Yu5Lo25qEDxEHPqpLf4nXESBuAj4Ijbn1MUmDKIhr5NA
g8L/GUx1ls+2ChhLfZpGU7HyHRD5TJ7NJZtw3O699bLRs61r7CVnCce8Ie/eTpe0
yhTSKDK8EIu8sQhqpYj0nsG4ujYc6ZMnHXtvGPfNNMXz0g37RrHrLoEr+DkSBzCU
mUixO7F20dRZ/RbQ0obB1BAFxKwWIw2Ij6M+Mm0dAQSIBd7a2o0T/Jzr2c3wvSXp
ApnGugaE/ZbWKdHW2AkS1w2crb6Rqudos4b/64UN5GU1YGcAy9i3mbib1n9VQ8o8
Elun16ExEEYKo/WGdZP8+VBgU2jsDWbiLoXkTTybmZX/vpL0emniVGuLDZOdMLLB
FVPVw9lzef/gVvkUq4yS
=6Qvn
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index