Re: make install (in contrib) and PGDATA

From: CSN <cool_screen_name90001(at)yahoo(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: make install (in contrib) and PGDATA
Date: 2004-07-12 19:40:44
Message-ID: 20040712194044.28439.qmail@web52905.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Ah, that should work.

The README for contrib/cube states:

To install the type, run
make
make install

For this to work, make sure that:
. the cube source directory is in the postgres contrib
directory
. the user running "make install" has postgres
administrative authority
. this user's environment defines the PGLIB and PGDATA
variables and has
postgres binaries in the PATH.

So I did:
$ export PGLIB=/usr/lib/pgsql
$ export PGDATA=/var/lib/pgsql/data
$ make
$ make install
mkdir /usr/share/pgsql/contrib
make: *** [installdirs] Error 1

$ pg_config --configure
'--prefix=/usr' '--datadir=/usr/share/pgsql'
'--libdir=/usr/lib/pgsql'
'--includedir=/usr/include/pgsql'

Is PGLIB and/or PGDATA ignored? What should I do so
'make install' works?

Thanks,
CSN

--- Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> wrote:
>
> Didn't /contrib/earthdistance help?
>
>
---------------------------------------------------------------------------
>
> CSN wrote:
> > I looked through the docs and contrib, but didn't
> see
> > anything related to storing and using latitude and
> > longitude values. I have data in the form of 12
> 34'
> > N, 12 34' W.
> >
> > Would any of the geometric data types work well
> for
> > this type of data? Or just convert them to
> decimals?
> > Are there any functions for converting lat/long
> > to/from decimals/DDMMSS NSEW?
> >
> > Thanks
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail is new and improved - Check it out!
> > http://promotions.yahoo.com/new_mail
> >
> > ---------------------------(end of
> broadcast)---------------------------
> > TIP 2: you can get off all lists at once with the
> unregister command
> > (send "unregister YourEmailAddressHere" to
> majordomo(at)postgresql(dot)org)
> >
>
> --
> Bruce Momjian |
> http://candle.pha.pa.us
> pgman(at)candle(dot)pha(dot)pa(dot)us | (610)
> 359-1001
> + If your life is a hard drive, | 13 Roberts
> Road
> + Christ can be your backup. | Newtown
> Square, Pennsylvania 19073
>


__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-07-12 19:50:08 Re: Latitude/Longitude data types and functions
Previous Message Brian Hirt 2004-07-12 19:22:02 Re: (Again) Datacorruption using 7.4.2 on XFS/raid1