Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cabal install mysql-simple fails #15

Open
dhjdhj opened this issue Jul 31, 2014 · 3 comments
Open

cabal install mysql-simple fails #15

dhjdhj opened this issue Jul 31, 2014 · 3 comments

Comments

@dhjdhj
Copy link

dhjdhj commented Jul 31, 2014

Tried to just install from cabal. Amongst the many weapons (I mean errors) were

.....
Configuring mysql-0.1.1.6...
setup: The program 'mysql_config' is required but it could not be found
.....
.....
.....
Building pcre-light-0.4.0.2...
Preprocessing library pcre-light-0.4.0.2...
Base.hsc:103:10: fatal error: 'pcre.h' file not found

include <pcre.h>

....

@dhjdhj
Copy link
Author

dhjdhj commented Jul 31, 2014

Fails same way if I pull this source

@Vozf
Copy link

Vozf commented May 17, 2019

Seems like this can help

sudo apt-get install libmysqlclient-dev

@timerg
Copy link

timerg commented Jan 15, 2020

I met the same pcre-light install error on Macosx.
If you have installed brew, try run brew install pcre or brew upgrade pcre can solve the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants