[postgis-devel] regress no longer
Sandro Santilli
strk at keybit.net
Wed Jan 18 10:01:00 PST 2012
On Wed, Jan 18, 2012 at 09:39:52AM -0800, Paul Ramsey wrote:
> Sandro,
>
> Your renovation of the regression install and handling has broken the
> regress system entirely for me.
>
> http://trac.osgeo.org/postgis/changeset/8853/trunk/regress/run_test
>
> The symptom is that you have a bunch of code that thinks the
> postgis.sql file in is ${STAGED_INSTALL_DIR}/share/contrib/postgis
> while in fact it's in ${STAGED_INSTALL_DIR}/share/contrib/postgis-2.0
It _was_ in postgis-2.0, should change when REGRESS=1 is defined.
See line 107 of postgis/Makefile.in and similar in raster and topology.
Maybe you're missing a ./configure ?
> I feel like the actual disease though is building the explicit install
> location assumption into the scripts, since the install location is
> dependent on the PGXS target, which is outside our control. Somehow
> the install location should be read from PGXS, not hard coded into the
> scripts and Makefiles. Isn't that how it worked before?
It always worked with overriding targets on REGRESS=1
I only added the override of MODULEDIR variable.
Let me know if it's still broken after ./configure.
To be honest, I'd actually love --prefix to work, see
http://trac.osgeo.org/postgis/ticket/635
--strk;
() Free GIS & Flash consultant/developer
/\ http://strk.keybit.net/services.html
More information about the postgis-devel
mailing list