Thanks for your reply yes I did install libpq-dev, which was installed (instead) when I tried to run this in Ubuntu 10.04LTS: Sudo apt-get install postgresql-dev It gave a message that postgresql-dev was replaced by libpq-dev... But that installation did not install the files including /usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/pgxs.mk -----Original Message----- From: Albe Laurenz [mailto:laurenz.albe@xxxxxxxxxx] Sent: Tuesday, July 05, 2011 4:19 AM To: JB@xxxxxxxxxxxxxxxx; pgsql-general@xxxxxxxxxxxxxx Subject: RE: cannot "make USE_PGXS=1" b/c no pgxs.mk exists Jonathan Brinkman wrote: > Makefile:12: /usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/pgxs.mk: No such > file or directory Maybe you have to install the software package that contains PostgreSQL's development environment. Yours, Laurenz Albe -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general