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

Fix PostgreSQL in MacOS #102

Merged
merged 1 commit into from
Jul 1, 2022
Merged

Conversation

WingLim
Copy link

@WingLim WingLim commented Dec 6, 2021

Install libpq using brew

Fix idea comes from #88 (comment)

Close #99

@WingLim WingLim requested a review from a team as a code owner December 6, 2021 16:11
@smorimoto
Copy link
Member

The purpose looks fantastic, but could you make the code fit the rest?

@zentetsukenz
Copy link

@smorimoto I've tried using this patched to fix the libpq-fe.h and add --without-pcre-jit to solve the problem with Apple M1 and it works pretty well.

@WingLim @smorimoto Let's know if there is anything we could help to merge this PR so asdf install php on Apple M1 works perfectly without any need of manual patching 🙏 .

@qshanahan-springhealth
Copy link
Contributor

I need pg support in php and I'm getting stuck on this step. This is the output:

checking for PostgreSQL support for PDO... yes
checking for pg_config... not found
configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path

How can I use this PR/branch to fix this?

@smorimoto smorimoto merged commit 515c7b1 into asdf-community:master Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[macOS Monterey] Cannot find libpq-fe.h – how to disable PostgreSQL dependency
4 participants