Re: cannot to compile PL/V8 on Fedora 20

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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:38:20
Message-ID: CAFj8pRDJEEqMhzwRWSsDSV0_zLeX6ZhKe3RvwLFwvuwwOtmhaQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2014-05-12 18:36 GMT+02:00 Peter Eisentraut <peter_e(at)gmx(dot)net>:

> 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.
>

ok, I'll check it

Thank you

Pavel

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-05-12 16:42:52 Re: cannot to compile PL/V8 on Fedora 20
Previous Message Peter Eisentraut 2014-05-12 16:36:46 Re: cannot to compile PL/V8 on Fedora 20