Re: Make & Install contrib/tablefunc Problems

From: Stefan Schwarzer <stefan(dot)schwarzer(at)grid(dot)unep(dot)ch>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Make & Install contrib/tablefunc Problems
Date: 2010-01-25 15:05:57
Message-ID: 0A55EB67-C5B9-426D-BFDC-AA726A6D5019@grid.unep.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>> 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).

Thanks a lot for the quick reaction. Did this, but now - I am not
really strong in postgres management - I get this:

$ psql -U xxx my_database < tablefunc.sql
SET
ERROR: permission denied for language c

Guess I'd need to do this as/with postgres user/role. But really not
sure how this goes. Thought it should be something like this:

sudo su - postgres -c '/usr/local/pgsql/bin/pgsql' < tablefunc.sql

But that's no correct.

Thanks for any advice.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Abraham, Danny 2010-01-25 15:09:13 Log full of: statement_timeout out of the valid range.
Previous Message Ivan Sergio Borgonovo 2010-01-25 14:07:08 Re: not officially documented use of setweight??