pg_config --pgxs - Mailing list pgsql-novice

From George Weaver
Subject pg_config --pgxs
Date
Msg-id 003a01c63e0b$b9b46ed0$6400a8c0@Dell4500
Whole thread Raw
Responses Re: pg_config --pgxs
List 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




pgsql-novice by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: escaping string in a function
Next
From: Michael Fuhr
Date:
Subject: Re: pg_config --pgxs