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

I tried putting pg_config in the current dir #1

Open
mesas978 opened this issue Mar 24, 2020 · 4 comments
Open

I tried putting pg_config in the current dir #1

mesas978 opened this issue Mar 24, 2020 · 4 comments

Comments

@mesas978
Copy link

$ brew tap PL-Swift/plswift
$ brew install plswift
==> Installing plswift from pl-swift/plswift
==> Downloading https://github.com/PL-Swift/PLSwift/archive/0.5.1.tar.gz
Already downloaded: /Users/michaelsweeney/Library/Caches/Homebrew/downloads/c12219cd5f658716c48a8e79e01eec1ae7fb48867d2925ad2601d33f2b14f0a1--PLSwift-0.5.1.tar.gz
==> ./configure --prefix=/usr/local/Cellar/plswift/0.5.1
Last 15 lines from /Users/michaelsweeney/Library/Logs/Homebrew/plswift/01.configure:
2020-03-24 13:38:13 -0600

./configure
--prefix=/usr/local/Cellar/plswift/0.5.1

Could not locate pg_config!

@helje5
Copy link
Member

helje5 commented Mar 24, 2020

Hm, works fine for me

$ brew tap PL-Swift/plswift
==> Installing plswift from pl-swift/plswift
==> Downloading https://github.com/PL-Swift/PLSwift/archive/0.5.1.tar.gz
==> Downloading from https://codeload.github.com/PL-Swift/PLSwift/tar.gz/0.5.1
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/plswift/0.5.1
==> make all
==> make install
🍺  /usr/local/Cellar/plswift/0.5.1: 14 files, 35.5KB, built in 15 seconds

@helje5
Copy link
Member

helje5 commented Mar 24, 2020

Do you have pg_config?

zMB:~ helge$ which pg_config
/usr/local/bin/pg_config

What do you mean by "I tried putting pg_config in the current dir"? Why? How? What is your $PATH?

@mesas978
Copy link
Author

mesas978 commented Mar 24, 2020 via email

@helje5
Copy link
Member

helje5 commented Mar 24, 2020

I guess I still don't understand your PostgreSQL setup. If you just copy things around, it is no surprise stuff won't work.

Where is the original location of your pg_config and why isn't that in the path?

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

No branches or pull requests

2 participants