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

compile error #20

Open
ramazangok opened this issue May 2, 2020 · 1 comment
Open

compile error #20

ramazangok opened this issue May 2, 2020 · 1 comment

Comments

@ramazangok
Copy link

@ramazangok ramazangok commented May 2, 2020

Hi All,

I am taking like below error. Could you make a suggestion to resolve that error

[root@replica pg_wait_sampling-1.1]$echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/usr/pgsql-11/bin:/usr/pgsql-11/bin:/usr/pgsql-11/bin/pg_config

[root@replica pg_wait_sampling-1.1]$ sudo make USE_PGXS=1 install
make: pg_config: Command not found
make: *** No rule to make target `install'. Stop.

@maksm90
Copy link
Collaborator

@maksm90 maksm90 commented May 14, 2020

Hi!

Last two terms in $PATH variable /usr/pgsql-11/bin:/usr/pgsql-11/bin/pg_config are redundant. pg_config tool is in postgresql-server-dev package that not installed with standard postgresql-server one. So I recommend you to 1) check existence of pg_config binary inside /usr/pgsql-11/bin, 2) install postgresql-server-dev if it's not exist there, 3) refine $PATH definition

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.