Re: cannot to compile PL/V8 on Fedora 20

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: cannot to compile PL/V8 on Fedora 20
Дата
Msg-id 5370F89E.20903@gmx.net
обсуждение исходный текст
Ответ на Re: cannot to compile PL/V8 on Fedora 20  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: cannot to compile PL/V8 on Fedora 20
Re: cannot to compile PL/V8 on Fedora 20
Список 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
themoment.
 



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Archive recovery won't be completed on some situation.
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: cannot to compile PL/V8 on Fedora 20