From: | Andrew Hunter <ahunter(at)ucalgary(dot)ca> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Andrew Hunter <ahunter(at)ucalgary(dot)ca>, PostgreSQL General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Visualize GiST Index |
Date: | 2010-09-23 18:30:06 |
Message-ID: | D8C328A9-595C-419A-80AB-AECEF2FE9B1B@ucalgary.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 2010-09-23, at 10:27 AM, Tom Lane wrote:
> Andrew Hunter <ahunter(at)ucalgary(dot)ca> writes:
>> On 2010-09-22, at 9:56 PM, Tom Lane wrote:
>>> Andrew Hunter <ahunter(at)ucalgary(dot)ca> writes:
>>>> I have been trying to install the Gevel module but am getting an error when running make on the gevel files download.
>>>> The error is:
>>>> /contrib/contrib-global.mk: No such file or directory.
>>>> I have also tried USE_PGXS=1 make, but get the same result. I am unable to find contrib-global.mk.
>
>>> Could we see the output of "pg_config"?
>
>> PGXS = /usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/pgxs.mk
>
> Hm. If that file is in fact present, I'd have expected "make USE_PGXS=1"
> to work. The error you cite looks like what would happen without
> USE_PGXS --- are you sure you get the exact same error both ways?
>
> If you're still baffled, it might help to show Gevel's Makefile.
> It's possible it isn't invoking pgxs correctly.
>
> regards, tom lane
>
>
Hi Tom,
Yes, I got the same result with USE_PGXS=1. This is my first attempt at compiling a module for Postgresql, so it could well be something very simple that I am missing...
Here is the content of the gevel Makefile
subdir = contrib/gevel
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
MODULES = gevel
DATA_built = gevel.sql
DOCS = README.gevel
REGRESS = gevel
include $(top_srcdir)/contrib/contrib-global.mk
I have tried running this from the gevel directory under /usr/share/postgresql/8.4/contrib
Thanks for your assistance.
Regards
Andrew
Andrew Hunter PEng RPSurv PhD
Assistant Professor
Department of Geomatics Engineering
Schulich School of Engineering
University of Calgary
T: +403.220.7377
F: +403.284.1980
E: ahunter (at) ucalgary (dot) ca
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From | Date | Subject | |
---|---|---|---|
Next Message | Merlin Moncure | 2010-09-23 19:19:57 | Re: pg 8.4 crashing. |
Previous Message | Scott Marlowe | 2010-09-23 18:28:10 | pg 8.4 crashing. |