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-01-25 13:51:07
Message-ID: 19672.1264427467@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 deleted involuntarily my tablefunc functions in my database. Now, I
> am trying to get them back into it again. But without success.

> I am running Mac OS X, 10.5, with postgres 8.3.1 and have used the
> Kyngchaos packages. It seems to me that before I succeeded in doing
> this from within the postgres-package/contrib/tablefunc:

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

> But when I do this I get this error message:

> Makefile:17: ../../src/Makefile.global: No such file or directory
> Makefile:18: /contrib/contrib-global.mk: No such file or directory
> make: *** No rule to make target `/contrib/contrib-global.mk'. Stop.

> What is the problem? What can/should I do?

You need to re-run configure in the top level of the distribution tree.
Be sure to use the same configure flags as before (pg_config will remind
you what they were).

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2010-01-25 13:52:24 Re: Questions about connection clean-up and "invalid page header"
Previous Message Herouth Maoz 2010-01-25 13:16:18 Re: Questions about connection clean-up and "invalid page header"