Skip to content

Issue in Installing PL/Python on Postgres #29

@IshaanAdarsh

Description

@IshaanAdarsh

I want to install PL/Python on my postgres database. I am using a binary manager on postgres pgenv. These are the steps I am following to install the procedural language:

  • I have downloaded the PL/Python source code from the PostgreSQL contrib repository

  • After connecting to the PL/Python source code directory, i run the commands

make 
make install
  • I am getting the error:
Makefile:5: ../../../src/Makefile.global: No such file or directory
Makefile:103: /src/Makefile.shlib: No such file or directory
make: *** No rule to make target `/src/Makefile.shlib'.  Stop.
Makefile:5: ../../../src/Makefile.global: No such file or directory
Makefile:103: /src/Makefile.shlib: No such file or directory
make: *** No rule to make target `/src/Makefile.shlib'.  Stop.

The error occurs because the build process for PL/Python is unable to locate the necessary PostgreSQL source files and makefiles. I have already checked and verified that the pg_config environment variable is pointing to the correct path.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions