aligusnet / mltool

Machine Learning Toolbox
BSD 3-Clause "New" or "Revised" License
35 stars 4 forks source link

Stack Build fails #5

Closed TitusQuinctiusFlamininus closed 6 years ago

TitusQuinctiusFlamininus commented 6 years ago

I attempted to build it recently, and it starts out fine...

stack build
Downloaded lts-11.13 build plan.    
dlist-0.8.0.4: configure
primitive-0.6.4.0: download

...then later on:

hmatrix-gsl-0.18.2.0: download
hmatrix-morpheus-0.1.1.1: configure
hmatrix-morpheus-0.1.1.1: build
hmatrix-gsl-0.18.2.0: configure
hmatrix-morpheus-0.1.1.1: copy/register
Progress: 28/29
--  While building custom Setup.hs for package hmatrix-gsl-0.18.2.0 using:
      /Users/titus/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-2.0.1.0 configure --with-ghc=/Users/titus/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc --with-ghc-pkg=/Users/titus/.stack/programs/x86_64-osx/ghc-8.2.2/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/titus/.stack/snapshots/x86_64-osx/lts-11.13/8.2.2/pkgdb --libdir=/Users/titus/.stack/snapshots/x86_64-osx/lts-11.13/8.2.2/lib --bindir=/Users/titus/.stack/snapshots/x86_64-osx/lts-11.13/8.2.2/bin --datadir=/Users/titus/.stack/snapshots/x86_64-osx/lts-11.13/8.2.2/share --libexecdir=/Users/titus/.stack/snapshots/x86_64-osx/lts-11.13/8.2.2/libexec --sysconfdir=/Users/titus/.stack/snapshots/x86_64-osx/lts-11.13/8.2.2/etc --docdir=/Users/titus/.stack/snapshots/x86_64-osx/lts-11.13/8.2.2/doc/hmatrix-gsl-0.18.2.0 --htmldir=/Users/titus/.stack/snapshots/x86_64-osx/lts-11.13/8.2.2/doc/hmatrix-gsl-0.18.2.0 --haddockdir=/Users/titus/.stack/snapshots/x86_64-osx/lts-11.13/8.2.2/doc/hmatrix-gsl-0.18.2.0 --dependency=array=array-0.5.2.0 --dependency=base=base-4.10.1.0 --dependency=hmatrix=hmatrix-0.18.2.0-9WbiaMAYBVLIUMmdJ00a5 --dependency=process=process-1.6.1.0 --dependency=random=random-1.1-LLUGZ7T9DqQ5vN0Jbcd0We --dependency=vector=vector-0.12.0.1-81HFvG2McTgAiNXCyGXulK --extra-lib-dirs=/usr/lib
    Process exited with code: ExitFailure 1
    Logs have been written to: /Users/titus/GAMES/mltool/.stack-work/logs/hmatrix-gsl-0.18.2.0.log

    Configuring hmatrix-gsl-0.18.2.0...
    Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2: The pkg-config package 'gsl' is
    required but it could not be found.

I am using stack version 1.6.3

Version 1.6.3, Git revision b27e629b8c4ce369e3b8273f04db193b060000db (5454 commits) x86_64 hpack-0.20.0

TitusQuinctiusFlamininus commented 6 years ago

Not an issue. Forgot about the brew gsl install step.