Installing repmgr in centos 7 from source - Mailing list pgsql-admin

From Daniel Malungu
Subject Installing repmgr in centos 7 from source
Date
Msg-id CABKPog_xJQ60NhoEZu5GExiOA6b+fqY5qhhkve1d6EkVkM9_bA@mail.gmail.com
Whole thread Raw
List 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@gmail.com


pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Automatically updating a new information column in PostgreSQL
Next
From: Pepe TD Vo
Date:
Subject: how to call a stored function on conflict