pg_config --pgxs

From: George Weaver <gweaver(at)shaw(dot)ca>
To: pgsql-novice(at)postgresql(dot)org
Subject: pg_config --pgxs
Date: 2006-03-02 15:12:26
Message-ID: 003a01c63e0b$b9b46ed0$6400a8c0@Dell4500
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-novice

Hi,

I am trying to create a makefile for installing some C functions.

When I include the following in the makefile:

PGXS := $(shell pg_config --pgxs)
include $(PGXS)

I get the following error:

$ make
pg_config: invalid argument: --pgxs
Try 'pg_config --help' for more information.
Makefile:10: no file name for `include'
make: *** No targets. Stop.

When I run pg_config -- help, I don't see any options for the --pgxs
argument.

I am using MinGW under XP.

What am I missing??

Thanks,
George

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-03-02 15:15:30 Re: 8.2 Feature Freeze Rough Estimate
Previous Message Tom Lane 2006-03-02 15:05:28 Re: Automatic free space map filling

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Fuhr 2006-03-02 16:04:38 Re: pg_config --pgxs
Previous Message Michael Fuhr 2006-03-02 04:25:20 Re: escaping string in a function