mysql-simple
mysql-simple copied to clipboard
Error on build: "parsing output of pkg-config --modversion failed"
I'm attempting to use mysql-simple
with a stack project. When I run stack build
I get the following:
$ stack build 0@14:48:48
pcre-light-0.4.0.4: configure
Progress: 1/3
-- While building package pcre-light-0.4.0.4 using:
/Users/donovan/.stack/setup-exe-cache/setup-Simple-Cabal-1.22.4.0-x86_64-osx-ghc-7.10.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-1.22.4.0 configure --with-ghc=/Users/donovan/Applications/Homebrew/bin/ghc --with-ghc-pkg=/Users/donovan/Applications/Homebrew/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/Users/donovan/.stack/snapshots/x86_64-osx/lts-3.16/7.10.2/pkgdb --libdir=/Users/donovan/.stack/snapshots/x86_64-osx/lts-3.16/7.10.2/lib --bindir=/Users/donovan/.stack/snapshots/x86_64-osx/lts-3.16/7.10.2/bin --datadir=/Users/donovan/.stack/snapshots/x86_64-osx/lts-3.16/7.10.2/share --libexecdir=/Users/donovan/.stack/snapshots/x86_64-osx/lts-3.16/7.10.2/libexec --sysconfdir=/Users/donovan/.stack/snapshots/x86_64-osx/lts-3.16/7.10.2/etc --docdir=/Users/donovan/.stack/snapshots/x86_64-osx/lts-3.16/7.10.2/doc/pcre-light-0.4.0.4 --htmldir=/Users/donovan/.stack/snapshots/x86_64-osx/lts-3.16/7.10.2/doc/pcre-light-0.4.0.4 --haddockdir=/Users/donovan/.stack/snapshots/x86_64-osx/lts-3.16/7.10.2/doc/pcre-light-0.4.0.4 --dependency=base=base-4.8.1.0-075aa0db10075facc5aaa59a7991ca2f --dependency=bytestring=bytestring-0.10.6.0-6e8453cb70b477776f26900f41a5e17a
Process exited with code: ExitFailure 1
Logs have been written to: /Users/donovan/RTM/ooyala-stats/.stack-work/logs/pcre-light-0.4.0.4.log
Configuring pcre-light-0.4.0.4...
setup-Simple-Cabal-1.22.4.0-x86_64-osx-ghc-7.10.2: parsing output of
pkg-config --modversion failed
Very much a Haskell noob and am likely doing something wrong.