Search Postgresql Archives

Re: Problem building both Python 2 and 3 into Postgres 9.4.4?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That worked, thank you.

The Tip in 43.1 did not explain in that much detail.  I searched but could
not find that explained anywhere in the docs.  Your paragraph would be
a nice enhancement to the tip.

PJ

--------------------------------------------
On Sun, 7/19/15, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:

 Subject: Re:  Problem building both Python 2 and 3 into Postgres 9.4.4?
 To: pbj@xxxxxxxxxx
 Cc: pgsql-general@xxxxxxxxxxxxxx
 Date: Sunday, July 19, 2015, 4:54 PM
 
 pbj@xxxxxxxxxx
 writes:
 > Has anyone successfully built
 Python 2 and 3 into the same installation
 > of Postgres 9.4.4?
 
 I do not think you can do it like this:
 
 > make distclean
 > ./configure --with-openssl --with-libxml
 --with-libxslt --with-python PYTHON=/usr/bin/python
 > make
 > ./configure
 --with-openssl --with-libxml --with-libxslt --with-python
 PYTHON=/usr/bin/python3
 > make
 > make install
 
 You need to configure and make one way, then
 install, then make distclean,
 reconfigure
 and remake the other way, then make install in only the
 src/pl/plpython directory.  The recipe as you
 have it will end up with
 only one installed
 copy of plpython, not two, and I'm not real sure that
 that copy will be correctly built for either
 case.
 
            
 regards, tom lane
 
 
 -- 
 Sent via pgsql-general
 mailing list (pgsql-general@xxxxxxxxxxxxxx)
 To make changes to your subscription:
 http://www.postgresql.org/mailpref/pgsql-general



-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux