make check help!
make check help!
От:
John Gibson <jgibson@lexmark.com>
Дата:
hello all, We are just starting to use postgresql in my shop and I am attempting to compile and install this. I have installed all the nessacary packages that postgresql depends on. I did my configure and my make(gmake). Everything finished correctly. I am now trying to test the build before I go and install it. According to the documentation all I need to do is "make check" and this should do it. Well I keep getting this error in initdb. One thing I need to mention is that I am installing postgresql into it's own directory. I should not have to install the package before I test it correct? Thanks in advance for any help. >> initdb.log The program 'postgres' is needed by initdb but was not found in the directory '/i/bls/tools/sparc-SunOS-5.8/apps/postgresql-7.2/bin'. Check your installation. <<< -- John Gibson jgibson@lexmark.com Pinky, are you pondering what I am pondering? I think so Brain, poit, but where do you stick the feather and call it macaroni?
Re: make check help!
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
John Gibson writes: > it. According to the documentation all I need to do is "make check" and this > should do it. Well I keep getting this error in initdb. One thing I need to > mention is that I am installing postgresql into it's own directory. I should > not have to install the package before I test it correct? No, you shouldn't ... the initdb script should preferentially find postgres in the directory it itself is invoked from, which should be in the temporary installation built by pg_regress. The fact that it's failing to do so (and instead looking into where the final installation will be) suggests some portability glitch in one or the other of these scripts. If you can figure out what's going wrong we'd be much obliged. See the "self_path" manipulations in initdb. regards, tom lane