From 5b2de1eb4a7f6444191df5cc79644f4f11c7651a Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Fri, 23 Apr 2010 21:26:44 -0700 Subject: [PATCH] Add not to README about the postgresql-server-dev-X package --- README.plparrot | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.plparrot b/README.plparrot index 5c56adb..ed6bc60 100644 --- a/README.plparrot +++ b/README.plparrot @@ -12,6 +12,15 @@ For the impatient, to install PL/Parrot into a PostgreSQL database, just do this make install make installcheck +If you get an error such as: + +Makefile:13: /usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/pgxs.mk: No such file or directory +make: *** No rule to make target `/usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/pgxs.mk'. Stop. + +then you probably installed postgres from a debian package. You need to install the +postgresql-server-dev-X package, where X is your version of PostgreSQL. For example: + + sudo apt-get install postgresql-server-dev-8.4 To run the tests with pg_prove you should create the plpgsql language in your database. The default database name is your current username, so this should work: