Re: cube and earthdistance diffs

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: cube and earthdistance diffs
Дата
Msg-id 20020910134502.GA23937@wolff.to
обсуждение исходный текст
Ответ на Re: cube and earthdistance diffs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: cube and earthdistance diffs
Следующее
От: Barry Lind
Дата:
Сообщение: Re: JDBC Driver - Batch Prepared Statements