On 28/02/11 18:09, Selva manickaraja wrote:
As mentioned in the documentation, I went to the directory src/test/regress and ran the command. It gives the error
GNUmakefile:15: ../../../src/Makefile.global: No such file or directory
GNUmakefile:80: /src/Makefile.shlib: No such file or directory
make: *** No rule to make target `/src/Makefile.shlib'. Stop.
Really can't make any sense out of this.
Any ideas?
You have not run configure to generate these make files (or you have run 'make distclean' to destroy them).
generally you need to do:
$ ./configure --prefix=your-chosen-install-prefix-here
$ make
$ make install
$ make check
The last step runs the regression test.
regards
Mark
P.s: this discussion really belongs on pg-general rather than performance, as it is about building and installing postgres rather than performance, *when* you have it installed ok, then performance based discussion here is fine :-)