From: | Daniel Malungu <danielkmalungu(at)gmail(dot)com> |
---|---|
To: | pgsql-admin(at)lists(dot)postgresql(dot)org |
Subject: | Installing repmgr in centos 7 from source |
Date: | 2019-10-07 13:49:26 |
Message-ID: | CABKPog_xJQ60NhoEZu5GExiOA6b+fqY5qhhkve1d6EkVkM9_bA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Hey,
I have compiled PostgreSQL from source now I want to install repmgr from
source too.
When in use:
1. Yum install repmgr10
I get the following error:
rror: Package: repmgr10-4.4-1.el7.x86_64
(2ndquadrant-dl-default-release-pg10)
Requires: postgresql10-server
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
so have i want to compile after git clone when in run
sudo ./configure
I get the following error:
checking for a sed that does not truncate output... /bin/sed
checking for pg_config... no
configure: error: could not find pg_config, set PG_CONFIG or PATH
my environment variable are as follows:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/.local/bin:$HOME/bin
PGDATA="$PATH:/var/lib/pgsql/10/data/"
export PATH
export PATH="$PATH:/usr/local/pgsql/bin/"
export PGDATA="/var/lib/pgsql/10/data/"
Please help me with this problem
thanks in advance
Kind Regards,
Daniel Kimanthi.
Tel: 0721555986
Email: danielkmalungu(at)gmail(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Pepe TD Vo | 2019-10-08 18:56:29 | how to call a stored function on conflict |
Previous Message | Pepe TD Vo | 2019-10-04 15:53:32 | Re: Automatically updating a new information column in PostgreSQL |