Opened 10 years ago

Closed 10 years ago

#2666 closed defect (fixed)

configure should fail "noisly" if SQLPP variable can not be determined

Reported by: philross Owned by: strk
Priority: medium Milestone: PostGIS 2.1.2
Component: build Version: 2.1.x
Keywords: Cc:


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 robe, 10 years ago

Component: postgisbuild/upgrade/install
Owner: changed from pramsey to strk

comment:2 by strk, 10 years ago

Resolution: fixed
Status: newclosed

r12311 in trunk, r12312 in the 2.1 branch.

Note: See TracTickets for help on using tickets.