Installing repmgr in centos 7 from source

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux