Regards,
I created a scaffolded project with support for mysql.
When I start the stack build as the instructions in the yesod quick start guide say,
I have the following error that I don't know how to solve:
- While building package pcre-light-0.4.1.0 (scroll up to its section to see the error) using: ...
and these are the steps in build:
pcre-light> configure
pcre-light> Configuring pcre-light-0.4.1.0 ...
pcre-light> Cabal-simple_mPHDZzAJ_3.0.1.0_ghc-8.8.4: Missing dependency on a foreign
pcre-light> library:
pcre-light> * Missing (or bad) C library:
pcre
pcre-light> This problem can usually be solved by installing the
system package that provides this library (you may need the "-dev"
version). If the library is already installed but in a non-standard
location then you can use the flags --extra-include-dirs = and
--extra-lib-dirs = to specify where it is.If the library file does
exist, it may contain errors that are caught by the C compiler at the
preprocessing stage. In this case you can re-run configure with the
verbosity flag -v3 to see the error messages.
My OS is Ubuntu 20.04. , and before this I install mysql-server.
If anyone can help, I would be grateful, because I can't continue working.
Thank you!