valpackett / pcre-heavy

A Haskell regular expressions library that doesn't suck | now on https://codeberg.org/valpackett/pcre-heavy
https://codeberg.org/valpackett/pcre-heavy
The Unlicense
51 stars 6 forks source link

unable to install pcre-heavy with stack #13

Closed leoparis89 closed 5 years ago

leoparis89 commented 5 years ago

Running ghci 8.6.3 stack v1.9.3 OSX


stack install pcre-heavy
string-conversions-0.4.0.1: configure
string-conversions-0.4.0.1: build
pcre-light-0.4.0.4: configure
string-conversions-0.4.0.1: copy/register
semigroups-0.18.5: configure
semigroups-0.18.5: build
semigroups-0.18.5: copy/register
Progress 3/4

--  While building package pcre-light-0.4.0.4 using:
      /Users/levkowalski/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-osx/Cabal-2.4.0.1 configure --with-ghc=/Users/levkowalski/.stack/programs/x86_64-osx/ghc-8.6.5/bin/ghc --with-ghc-pkg=/Users/levkowalski/.stack/programs/x86_64-osx/ghc-8.6.5/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/levkowalski/.stack/snapshots/x86_64-osx/lts-13.25/8.6.5/pkgdb --libdir=/Users/levkowalski/.stack/snapshots/x86_64-osx/lts-13.25/8.6.5/lib --bindir=/Users/levkowalski/.stack/snapshots/x86_64-osx/lts-13.25/8.6.5/bin --datadir=/Users/levkowalski/.stack/snapshots/x86_64-osx/lts-13.25/8.6.5/share --libexecdir=/Users/levkowalski/.stack/snapshots/x86_64-osx/lts-13.25/8.6.5/libexec --sysconfdir=/Users/levkowalski/.stack/snapshots/x86_64-osx/lts-13.25/8.6.5/etc --docdir=/Users/levkowalski/.stack/snapshots/x86_64-osx/lts-13.25/8.6.5/doc/pcre-light-0.4.0.4 --htmldir=/Users/levkowalski/.stack/snapshots/x86_64-osx/lts-13.25/8.6.5/doc/pcre-light-0.4.0.4 --haddockdir=/Users/levkowalski/.stack/snapshots/x86_64-osx/lts-13.25/8.6.5/doc/pcre-light-0.4.0.4 --dependency=base=base-4.12.0.0 --dependency=bytestring=bytestring-0.10.8.2
    Process exited with code: ExitFailure 1
    Logs have been written to: /Users/levkowalski/DevWork/haskell/baro/.stack-work/logs/pcre-light-0.4.0.4.log

    Configuring pcre-light-0.4.0.4...
    Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5: The program 'pkg-config' version
    >=0.9.0 is required but it could not be found.

What am I missing out on ?

thanks

valpackett commented 5 years ago

uh, it tells you exactly what you're missing

The program 'pkg-config'

You can get it on Homebrew

valpackett commented 5 years ago

(you'll also need pcre itself)