From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Ken Tanzer <ken(dot)tanzer(at)gmail(dot)com> |
Cc: | PG-General Mailing List <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Installing module for 9.6, not 9.2, on Centos? |
Date: | 2017-05-24 01:06:21 |
Message-ID: | df2561b1-061f-9574-d5a7-6564e8f3a501@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 05/23/2017 05:54 PM, Ken Tanzer wrote:
>
>
> On Tue, May 23, 2017 at 5:34 PM, Adrian Klaver
> <adrian(dot)klaver(at)aklaver(dot)com <mailto:adrian(dot)klaver(at)aklaver(dot)com>> wrote:
>
> Sorry, not sure I follow what is the trailing part here?
>
> Does the compile stage specify where a module is to be installed? Or is
> it determined at install time?
>
> Apart from the extra 96/bin directories I'm accumulating, I don't see
> anything suspicious in my path. (And my /usrl/ocal/(s)bin directories
> are empty.)
You can close the terminal session and open a new one to clear the PATH.
The biggest problem is that I was out in the Sun too long today and was
not paying attention to what you posted. This part:
PATH=/usr/local/pgsql96/bin:$PATH
is from how I installed various versions of Postgres from source on my
machine. My guess is it does not match your setup. You need to find
where pg_config is for your 9.6 install and use that path.
>
> [root(at)hosting table_log-0.4.4]# PATH=/usr/local/pgsql96/bin:$PATH ; echo
> "Path is: $PATH" ; make USE_PGXS=1 clean all
>
> *Path is:
> /usr/local/pgsql96/bin:/usr/local/pgsql96/bin:/usr/local/pgsql96/bin:/usr/local/pgsql96/bin:/usr/local/pgsql96/bin:/usr/local/pgsql96/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin*
> rm -f table_log.so table_log.o
> ...
>
> [root(at)hosting table_log-0.4.4]# PATH=/usr/local/pgsql96/bin:$PATH ; echo
> "Path is: $PATH" ; make USE_PGXS=1 install
> *Path is:
> /usr/local/pgsql96/bin:/usr/local/pgsql96/bin:/usr/local/pgsql96/bin:/usr/local/pgsql96/bin:/usr/local/pgsql96/bin:/usr/local/pgsql96/bin:/usr/local/pgsql96/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin*
>
> /bin/mkdir -p '/usr/pgsql-9.2/share/contrib'
> /bin/mkdir -p '/usr/pgsql-9.2/lib'
> /bin/mkdir -p '/usr/pgsql-9.2/doc/contrib'
> /usr/bin/install -c -m 644 table_log.sql '/usr/pgsql-9.2/share/contrib/'
> /usr/bin/install -c -m 755 table_log.so '/usr/pgsql-9.2/lib/'
> /usr/bin/install -c -m 644 .//README.table_log '/usr/pgsql-9.2/doc/contrib/'
>
>
> Thanks,
> Ken
>
>
>
>
> --
> AGENCY Software
> A Free Software data system
> By and for non-profits
> /http://agency-software.org//
> /https://agency-software.org/demo/client/
> ken(dot)tanzer(at)agency-software(dot)org <mailto:ken(dot)tanzer(at)agency-software(dot)org>
> (253) 245-3801
>
> Subscribe to the mailing list
> <mailto:agency-general-request(at)lists(dot)sourceforge(dot)net?body=subscribe> to
> learn more about AGENCY or
> follow the discussion.
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | John R Pierce | 2017-05-24 02:12:21 | Re: Installing module for 9.6, not 9.2, on Centos? |
Previous Message | Ken Tanzer | 2017-05-24 00:54:48 | Re: Installing module for 9.6, not 9.2, on Centos? |