Re: cannot to compile PL/V8 on Fedora 20

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: cannot to compile PL/V8 on Fedora 20
Date: 2014-05-12 16:36:46
Message-ID: 5370F89E.20903@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 5/12/14, 11:05 AM, Pavel Stehule wrote:
> After returning back before this commit I cannot compile PL/V8 still but
> with more solvable bug
>
> g++ -Wall -O2 -I. -I./ -I/usr/local/pgsql/include/server
> -I/usr/local/pgsql/include/internal -D_GNU_SOURCE
> -I/usr/include/libxml2 -fPIC -c -o plv8.o plv8.cc
> g++ -Wall -O2 -I. -I./ -I/usr/local/pgsql/include/server
> -I/usr/local/pgsql/include/internal -D_GNU_SOURCE
> -I/usr/include/libxml2 -fPIC -c -o plv8_type.o plv8_type.cc
> g++ -Wall -O2 -I. -I./ -I/usr/local/pgsql/include/server
> -I/usr/local/pgsql/include/internal -D_GNU_SOURCE
> -I/usr/include/libxml2 -fPIC -c -o plv8_func.o plv8_func.cc
> plv8_func.cc: In function ‘v8::Handle<v8::Value> plv8_Prepare(const
> v8::Arguments&)’:
> plv8_func.cc:521:47: error: too few arguments to function ‘void
> parseTypeString(const char*, Oid*, int32*, bool)’
> parseTypeString(typestr, &types[i], &typemod);
> ^
> In file included from plv8_func.cc:22:0:
> /usr/local/pgsql/include/server/parser/parse_type.h:50:13: note:
> declared here
> extern void parseTypeString(const char *str, Oid *typeid_p, int32
> *typmod_p, bool missing_ok);
> ^
> make: *** [plv8_func.o] Error 1
>
> so the main issue is really this commit

You need plv8 master branch (unreleased), which fixes all these issues.
No released version of plv8 works with 9.4 at the moment.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2014-05-12 16:38:20 Re: cannot to compile PL/V8 on Fedora 20
Previous Message Tom Lane 2014-05-12 16:36:23 Re: Archive recovery won't be completed on some situation.