I am trying to install PostgreSQL and Apache AGE-DB on Ubuntu 20.04, but upon configuring Apache Age with PostgreSQL I am getting this error **make: *** No rule to make target.
**
I am trying to run this command, I think the path is correctly mentioned here or am I missing something?
sudo make PG_CONFIG=/home/abdulsamad/Downloads/age_installation/pg/postgresql-11.18/bin/pg_config install
It produces the following error
Makefile:118: /home/abdulsamad/Downloads/age_installation/pg/postgresql-11.18/lib/postgresql/pgxs/src/makefiles/pgxs.mk: No such file or directory
make: *** No rule to make target '/home/abdulsamad/Downloads/age_installation/pg/postgresql-11.18/lib/postgresql/pgxs/src/makefiles/pgxs.mk'. Stop.
5
Answers
I think the repository is not cloned correctly. Try cloning the repository again and then execute the same command.
I will suggest that do installation process again
source to guide
from this guide follow steps
For debug you can check all dependencies are successfully installed or not.
Check path PG_CONFIG is executable or not.
Make sure the path you provided is correct.
but it is better follow above link and do it step wise it will solve problem
I also had similar issues while installing the AGE v1.3.0, I just deleted the age repo and cloned again and then followed this documentation,
https://theundersurfers.netlify.app/age-installation/
It was installed without any issues and now it’s working fine.
I’d suggest you use a relative path from your present working directory.
For Example, If
Then
I think installation or cloning didn’t went well. Clone the age repo and installation process again.
for cloning run the following command.
git clone https://github.com/apache/age.git
and do installation again using your above command.
sudo make PG_CONFIG=/home/abdulsamad/Downloads/age_installation/pg/postgresql-11.18/bin/pg_config install