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

dependency for make #78

Closed
ant1j opened this issue Feb 1, 2017 · 4 comments
Closed

dependency for make #78

ant1j opened this issue Feb 1, 2017 · 4 comments
Labels

Comments

@ant1j
Copy link

@ant1j ant1j commented Feb 1, 2017

Could it be possible to list the libraries needed to build the extension?

I am on Ubuntu and I need to apt-get install multiple time and guess the potential dev package that is needed to build this extension.

Would be very useful and save a lot of time.
Thanks

@funbringer
Copy link
Collaborator

@funbringer funbringer commented Feb 1, 2017

Hi @ant1j,

Have you tried postgresql-server-dev?

@ant1j
Copy link
Author

@ant1j ant1j commented Feb 1, 2017

Sure, and also postgresql-server-dev-9.6 libssl-dev libkrb5-dev to achieve compilation without errors.

What I wanted to say is that maybe those libraries could be listed in the installation documentation.

@funbringer
Copy link
Collaborator

@funbringer funbringer commented Feb 1, 2017

What I wanted to say is that maybe those libraries could be listed in the installation documentation.

Well... I get your idea, but IMHO it's not worth it. You see, pg_pathman is completely OS-agnostic. It works on all kinds of Linux, Windows, Solaris and god only knows what else, as long as PostgreSQL supports that particular platform.

It's easy to write a small how-to for Ubuntu, but:

  • How about Arch Linux? Fedora? etc...
  • The packages you've listed are not required if you, say, build PostgreSQL from scratch. Obviously pg_pathman has nothing to do with SSL or something like that, right? I'm surprised by the fact that you had to install those.
@ant1j
Copy link
Author

@ant1j ant1j commented Feb 1, 2017

OK understood.
Actually, we I had an error, I googled it, and found a suggestion where such package should be installed ... and it worked.

Thanks for your answers and time

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.