Am Dienstag, 10. August 2004 17:55 schrieb Fabien COELHO: > (1) all makefiles in contrib include directly "src/Makefile.global" which > is generated by configure, although it is already included by the > "src/makefiles/pgxs.mk" makefile anyway, so it seems to me that it > is useless because redundant?
No, because you need Makefile.global to define top_srcdir, which is needed to find pgxs.mk. You changed all top_srcdir to top_builddir, which is wrong. > (2) only static includes are used, so I cannot use "pg_config --pgxs" > approach to install a contrib against an already compiled postgresql? > basically, you drop the USE_PGXS stuff for dynamic configuration > of contrib makefiles, and I have found no replacement. I don't see the point of that. If you have a PostgreSQL source tree, you can install the contribs right there. How else would you do it? -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend