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
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
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/"
# 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