21 December 2015

plot-gtk

System: Slackware Linux (version 14.0)
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz
Deps: ghc-7.8.4, glpk-4.57, gsl-2.1, OpenBLAS (0.2.11)

Installation of hmatrix-0.16.1.5 and plot-gtk-0.2.0.2.


http://ftp.gnu.org/gnu/glpk/
http://ftp.gnu.org/gnu/gsl/

Bootstrap ghc-7.8.4 (see earlier post), then upgrade the glpk
and gsl SlackBuilds respectively to versions 4.57 and 2.1.

Labs' provided SlackBuilds locate haskell packages'
documentation in /usr/doc/ghc-7.8.4/extralibs/, one
exception being gtk2hs-buildtools. The alex (lexer)
and happy (parser) packages place files outside of
/usr/lib/ghc-7.8.4 and /usr/doc/ghc-7.8.4, therefore
I have followed Värri's conventions in the authorship
of the gtk2hs-buildtools script.

SlackBuilds for colour and storable-complex are located in
the sidebar.

bash-4.2# installpkg OpenBLAS-0.2.11-i486-1_SBo.tgz \
> glpk-4.57-i486-1_SBo.tgz gsl-2.1-i486-1_SBo.tgz \
> haskell-HUnit-1.2.5.2-i486-2_SBo.tgz \
> haskell-colour-2.3.3-i486-1_SBo.tgz \
> haskell-extensible-exceptions-0.1.1.4-i486-1_SBo.tgz \
> haskell-mtl-2.1.3.1-i486-1_SBo.tgz \
> haskell-primitive-0.5.4.0-i486-1_SBo.tgz \
> haskell-random-1.1-i486-1_SBo.tgz \
> haskell-split-0.2.2-i486-1_SBo.tgz \
> haskell-storable-complex-0.2.2-i486-1_SBo.tgz \
> haskell-text-1.2.0.3-i486-1_SBo.tgz \
> haskell-utf8-string-0.3.8-i486-1_SBo.tgz

...

bash-4.2#

bash-4.2# installpkg happy-1.19.4-i486-1_SBo.tgz \
> haskell-hashable-1.2.3.1-i486-1_SBo.tgz \
> haskell-tf-random-0.4-i486-1_SBo.tgz \
> haskell-vector-0.10.12.2-i486-1_SBo.tgz

...

bash-4.2#


SlackBuilds for hashtables and hmatrix are located in the sidebar.

bash-4.2# installpkg haskell-QuickCheck-2.7.6-i486-1_SBo.tgz \
> haskell-hashtables-1.2.1.0-i486-1_SBo.tgz \
> haskell-hmatrix-0.16.1.5-i486-1_SBo.tgz

...

bash-4.2#

bash-4.2# installpkg alex-3.1.3-i486-1_SBo.tgz

...

bash-4.2#

A SlackBuild for gtk2hs-buildtools is located in the sidebar.

bash-4.2# installpkg gtk2hs-buildtools-0.13.0.5-i486-1_SBo.tgz

...

bash-4.2#

SlackBuilds for cairo, hmatrix-glpk, hmatrix-gsl, hmatrix-gsl-stats,
and hTensor are located in the sidebar.

bash-4.2# installpkg haskell-cairo-0.13.1.1-i486-1_SBo.tgz \
> haskell-hmatrix-glpk-0.4.1.0-i486-1_SBo.tgz \
> haskell-hmatrix-gsl-0.16.0.3-i486-1_SBo.tgz \
> haskell-hmatrix-gsl-stats-0.4.1.1-i486-1_SBo.tgz \
> haskell-hTensor-0.8.2-i486-1_SBo.tgz

...

bash-4.2#

SlackBuilds for glib, hstatistics, hmatrix-special, and
and hmatrix-tests are located in the sidebar.

bash-4.2# installpkg haskell-glib-0.13.2.2-i486-1_SBo.tgz \
> haskell-hstatistics-0.2.5.2-i486-1_SBo.tgz \
> haskell-hmatrix-special-0.3.0.1-i486-1_SBo.tgz \
> haskell-hmatrix-tests-0.4.1.0-i486-1_SBo.tgz

...

bash-4.2#

A SlackBuild for gio is located in the sidebar.

bash-4.2# installpkg haskell-gio-0.13.1.1-i486-1_SBo.tgz

...

bash-4.2#

A SlackBuild for pango is located in the sidebar.

bash-4.2# installpkg haskell-pango-0.13.1.1-i486-1_SBo.tgz

...

bash-4.2#

A SlackBuild for gtk is located in the sidebar.

bash-4.2# installpkg haskell-gtk-0.13.9-i486-1_SBo.tgz

...

bash-4.2#

A SlackBuild for plot is located in the sidebar.

bash-4.2# installpkg haskell-plot-0.2.3.4-i486-1_SBo.tgz

...

bash-4.2# 

A SlackBuild for plot-gtk is located in the sidebar.

bash-4.2# installpkg haskell-plot-gtk-0.2.0.2-i486-1_SBo.tgz

...

bash-4.2# exit

sh-4.2$ ghci
> Numeric.LinearAlgebra.Tests.runTests 20
+++ OK, passed 100 tests.
+++ OK, passed 100 tests.
... etc...
+++ OK, passed 100 tests.
------ some unit tests
Cases: 62  Tried: 62  Errors: 0  Failures: 0
> :quit
Leaving GHCi.
sh-4.2$ exit