From: | David Garamond <lists(at)zara(dot)6(dot)isreserved(dot)com> |
---|---|
To: | Anton(dot)Nikiforov(at)loteco(dot)ru |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: PL/Ruby |
Date: | 2004-02-06 19:19:23 |
Message-ID: | 4023E8BB.1080307@zara.6.isreserved.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Anton Nikiforov wrote:
> Dear sirs,
> Does someone made PL/Ruby working on 4.7.1?
> I tried alot of things. Manual install, port install and nothing happend.
> Please give me the idea how to fix the problem with
> plruby.c: In function `pl_tuple_put':
> plruby.c:498: error: too few arguments to function `tuplestore_begin_heap'
> plruby.c: In function `pl_func_handler':
> plruby.c:1450: error: too few arguments to function `tuplestore_begin_heap'
> *** Error code 1
>
> Stop in /usr/ports/databases/postgresql-plruby/work/plruby-0.3.8.
> *** Error code 1
I just experienced the same today. Apparently extconf.rb can't detect
7.4 correctly (at least on my Redhat 7.3) so it assumes your PG is 7.3
(and thus fails to build). Try using:
$ ruby extconf.rb --with-pgsql-include=... --with-pgsql-version=74
That did it for me.
--
dave
From | Date | Subject | |
---|---|---|---|
Next Message | David Garamond | 2004-02-06 19:23:24 | Re: Indexes and sorting |
Previous Message | Joe Conway | 2004-02-06 19:04:00 | Re: how can I select into an array? |