Re: A question about building pg-libphonenumber

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: stan <stanb(at)panix(dot)com>
Cc: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: A question about building pg-libphonenumber
Date: 2019-10-22 12:19:15
Message-ID: CAFj8pRBCRiQR3-aT1xmTVEN0xFD7da_si2K8qJ3NB9XOAnqp8Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi

út 22. 10. 2019 v 14:15 odesílatel stan <stanb(at)panix(dot)com> napsal:

> OK, this seems a stupid question, but I do not see the answer.
>
>
> I downloaded pg-libphonenumber, and am going to try to build it for PG
> version 11. Looks like the last build was against version 9.6.
>
> It builds fine, the issue comes in when I try to do a make install. It
> wants to install in the appropriate directory tree for 9.6. Should be a
> simple thing to change, right? But greping around, I cannot seem to find
> where this is defend. it is NOT in the Makefile.
>
> Can someone tell me where to change this to try it against the version of
> the DB engine I am running?
>

The build and installation is controlled by small application - pg_config

[pavel(at)nemesis libvterm]$ pg_config --libdir
/usr/local/pgsql/lib
[pavel(at)nemesis libvterm]$ pg_config --sharedir
/usr/local/pgsql/share

if you have more versions on your comp, it is important what pg_config is
executed - depends on PATH

[pavel(at)nemesis libvterm]$ pg_config --version
PostgreSQL 13devel

Regards

Pavel

>
> --
> "They that would give up essential liberty for temporary safety deserve
> neither liberty nor safety."
> -- Benjamin Franklin
>
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message stan 2019-10-22 12:37:47 Re: A question about building pg-libphonenumber
Previous Message stan 2019-10-22 12:15:14 A question about building pg-libphonenumber