Opened 9 years ago
Closed 9 years ago
#2666 closed defect (fixed)
configure should fail "noisly" if SQLPP variable can not be determined
|Reported by:||philross||Owned by:||strk|
The configure script currently does not fail when SQLPP is unable to be determined. After the configure script runs, compiler info is printed and SQL preprocessor is blank, but attempting to compile fails because the SQLPP variable is not populated.
Currently, this happens on Solaris11 when the cpp command is not located in the PATH. By default, on Solaris11, the patch contains /usr/bin which is able to find /usr/bin/gcc which is a symlink to /usr/gcc/4.5/bin/gcc, but there is no corresponding /usr/bin/cpp pointing to /usr/gcc/4.5/bin/cpp. When /usr/gcc/4.5/bin is not in the PATH, the SQLPP variable is not set when configure runs, which leads to failures during compile time.
Change History (2)
comment:1 by , 9 years ago
|Component:||postgis → build/upgrade/install|
comment:2 by , 9 years ago
|Status:||new → closed|
r12311 in trunk, r12312 in the 2.1 branch.