[postgis-devel] regress no longer

Paul Ramsey pramsey at opengeo.org
Thu Jan 19 09:07:10 PST 2012


No, the regress fails after a autogen and a configure, with this in
the error log,

/Users/pramsey/Code/postgis-svn/regress/00-regress-install/share/contrib/postgis/postgis.sql:
No such file or directory

I'm running PostgreSQL 9.1.

P.

On Wed, Jan 18, 2012 at 10:01 AM, Sandro Santilli <strk at keybit.net> wrote:
> 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
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list