Re: cannot to compile PL/V8 on Fedora 20 - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: cannot to compile PL/V8 on Fedora 20
Date
Msg-id CAFj8pRDJEEqMhzwRWSsDSV0_zLeX6ZhKe3RvwLFwvuwwOtmhaQ@mail.gmail.com
Whole thread
In response to Re: cannot to compile PL/V8 on Fedora 20  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers



2014-05-12 18:36 GMT+02:00 Peter Eisentraut <peter_e@gmx.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

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: cannot to compile PL/V8 on Fedora 20
Next
From: Tom Lane
Date:
Subject: Re: cannot to compile PL/V8 on Fedora 20