Thread: plpythonu.control missing after build from git repository

plpythonu.control missing after build from git repository

From
Seref Arikan
Date:
Greetings,
After building postgresql from the git repository, I've tried to create a db that I have, and I've faced the exact same problem described here: http://archives.postgresql.org/pgsql-general/2012-02/msg00753.php
Basically, the extension directory does not contain plpythonu.control. I've build with gmake world and installed accordingly.
The relevant bug seems to have been marked as fixed by Devrim. Am I missing something here?

Best regards
Seref

Re: plpythonu.control missing after build from git repository

From
Tom Lane
Date:
Seref Arikan <serefarikan@kurumsalteknoloji.com> writes:
> After building postgresql from the git repository, I've tried to create a
> db that I have, and I've faced the exact same problem described here:
> http://archives.postgresql.org/pgsql-general/2012-02/msg00753.php
> Basically, the extension directory does not contain plpythonu.control. I've
> build with gmake world and installed accordingly.

Did you configure with --with-python?  Perhaps you built against a
Python 3 installation?  (plpythonu is an alias for plpython2, so it
wouldn't get made then.)

            regards, tom lane


Re: plpythonu.control missing after build from git repository

From
Adrian Klaver
Date:
On 12/24/2012 01:24 PM, Seref Arikan wrote:
> Greetings,
> After building postgresql from the git repository, I've tried to create
> a db that I have, and I've faced the exact same problem described here:
> http://archives.postgresql.org/pgsql-general/2012-02/msg00753.php
> Basically, the extension directory does not contain plpythonu.control.
> I've build with gmake world and installed accordingly.
> The relevant bug seems to have been marked as fixed by Devrim. Am I
> missing something here?

Well the bug fixed was a packaging one related to RPMs. You seem to be
building from source, so I suspect a different issue.

What is the exact error message you get?

>
> Best regards
> Seref
>


--
Adrian Klaver
adrian.klaver@gmail.com


Re: plpythonu.control missing after build from git repository

From
Seref Arikan
Date:
Tom,
Thanks a lot! For some reason, I was under the impression that contrib would include python. the --with-python switch did the trick.

Best regards
Seref

On Mon, Dec 24, 2012 at 9:35 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Seref Arikan <serefarikan@kurumsalteknoloji.com> writes:
> After building postgresql from the git repository, I've tried to create a
> db that I have, and I've faced the exact same problem described here:
> http://archives.postgresql.org/pgsql-general/2012-02/msg00753.php
> Basically, the extension directory does not contain plpythonu.control. I've
> build with gmake world and installed accordingly.

Did you configure with --with-python?  Perhaps you built against a
Python 3 installation?  (plpythonu is an alias for plpython2, so it
wouldn't get made then.)

                        regards, tom lane