Re: cube and earthdistance diffs - Mailing list pgsql-patches

From Bruno Wolff III
Subject Re: cube and earthdistance diffs
Date
Msg-id 20020910134502.GA23937@wolff.to
Whole thread Raw
In response to Re: cube and earthdistance diffs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
On Tue, Sep 10, 2002 at 09:18:17 -0400,
  Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Actually, I though that to make earthdistance, you were going to specify
> > cube/* as a dependency, and have that compile before earthdistance
> > compiled.  Maybe that would work, but earthdistance can't install cube.
>
> Agreed, but I'm missing why you'd even need to build cube first.  Surely
> all that's really needed to compile earthdistance is access to cube's .h
> files?  Just put -I$(srcdir)/../cube into earthdistance's CPPFLAGS.

To do the installcheck for earth distance cube needs to be installed.

I think part of my problem was being used to checks being done after make all,
but before make install. I think for contrib, you would have to build
a different install script from the .in file that would specify to load
the files from the current directory instead of the installed library location.

It just seems easier in this case to tell people to make and install cube
before trying to install and check earthdistance.

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: cube and earthdistance diffs
Next
From: Barry Lind
Date:
Subject: Re: JDBC Driver - Batch Prepared Statements