Re: pg_config --pgxs - Mailing list pgsql-novice

From Tom Lane
Subject Re: pg_config --pgxs
Date
Msg-id 8276.1141428578@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_config --pgxs  (George Weaver <gweaver@shaw.ca>)
List pgsql-novice
George Weaver <gweaver@shaw.ca> writes:
> For pgxs, it concatentates the libdir with "/pgxs/src/makefiles/pgxs.mk" so
> its looking for "C:/Program
> Files/PostgreSQL/8.1/lib/pgxs/src/makefiles/pgxs.mk" which doesn't exist.
> ...
> If I made the entire package from source and installed it, would it have
> created the directory "/pgxs/src/makefiles" under "C:/Program
> Files/PostgreSQL/8.1/lib/"?

Yes, it should have.  I think the issue here is that GetShortPathName
insists on the target path actually existing, whereas the Unix
environment imposes no such requirement.

Not sure if we should try to do anything about this --- if the file is
not there, it isn't going to help a lot for pg_config to print out where
it should have been, so really there's not much functionality loss
involved here.

            regards, tom lane

pgsql-novice by date:

Previous
From: George Weaver
Date:
Subject: Re: pg_config --pgxs
Next
From: f.g@no-log.org
Date:
Subject: dblink + rule on select