Re: Make & Install contrib/tablefunc Problems

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stefan Schwarzer <stefan(dot)schwarzer(at)grid(dot)unep(dot)ch>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Make & Install contrib/tablefunc Problems
Date: 2010-06-10 13:50:19
Message-ID: 15003.1276177819@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Stefan Schwarzer <stefan(dot)schwarzer(at)grid(dot)unep(dot)ch> writes:
> I downloaded the correct version of the postgres package (8.4.3), and followed the indicated guidelines:

> ------------------------------------------------
> You can build extensions for Postgres without fully rebuilding Postgres. For the "contrib" extensions in the Postgres source, just make sure the pgsql bin folder is in your path and define USE_PGXS before running make. In a Terminal, cd to the extension source folder and:

> export PATH="/usr/local/pgsql/bin:$PATH"
> export USE_PGXS=1
> make
> sudo make install

I believe those instructions are mistaken: make doesn't absorb variables
from the environment does it? The "export PATH" is okay, but after it
do

make USE_PGXS=1
sudo make USE_PGXS=1 install

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2010-06-10 15:16:37 Re: Cognitive dissonance
Previous Message Stefan Schwarzer 2010-06-10 13:00:39 Make & Install contrib/tablefunc Problems