You may receive an error as follows when you try to install a different extension package that is not in Postgresql’s repo.
To solve this problem, we need to install the packages and the problem will be solved.
1 | Makefile: 54: /usr/pgsql-10/lib/pgxs/src/makefiles/pgxs.mk |
We need to install postgresql libs and dev packages to install the extensions.
The following packages must be installed in Postgresql10 to avoid the error makefile54.
1 | yum install centos-release-scl-rh |
We are installing the postgresql library package.
1 | yum --enablerepo=centos-sclo-rh-testing install rh-postgresql10-postgresql-libs |
1 | yum install postgresql-libs |
Depending on the version of Postgresql, we are installing the dev package.
1 | yum install postgresql10-devel-10.5-1PGDG.rhel7.x86_64.rpm |
Once these packages have been installed, you can continue your the process.