[HACKERS] cannot to compile PL/V8 on Fedora 20

2014-05-12 Thread Pavel Stehule
Hello I am trying to compile PL/v8 without success. I have Postgres installed via compilation from source code. After make I got errors [pavel@localhost plv8-1.4.2]$ make g++ -Wall -O2 -I. -I./ -I/usr/local/pgsql/include/server -I/usr/local/pgsql/include/internal -D_GNU_SOURCE

Re: [HACKERS] cannot to compile PL/V8 on Fedora 20

2014-05-12 Thread Michael Paquier
On Mon, May 12, 2014 at 8:10 PM, Pavel Stehule pavel.steh...@gmail.com wrote: 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 plv8.cc:50:56: error: declaration of 'Datum

Re: [HACKERS] cannot to compile PL/V8 on Fedora 20

2014-05-12 Thread Pavel Stehule
2014-05-12 13:45 GMT+02:00 Michael Paquier michael.paqu...@gmail.com: On Mon, May 12, 2014 at 8:10 PM, Pavel Stehule pavel.steh...@gmail.com wrote: 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

Re: [HACKERS] cannot to compile PL/V8 on Fedora 20

2014-05-12 Thread Andrew Dunstan
On 05/12/2014 07:10 AM, Pavel Stehule wrote: Hello I am trying to compile PL/v8 without success. I have Postgres installed via compilation from source code. After make I got errors [pavel@localhost plv8-1.4.2]$ make g++ -Wall -O2 -I. -I./ -I/usr/local/pgsql/include/server

Re: [HACKERS] cannot to compile PL/V8 on Fedora 20

2014-05-12 Thread Pavel Stehule
2014-05-12 15:42 GMT+02:00 Andrew Dunstan and...@dunslane.net: On 05/12/2014 07:10 AM, Pavel Stehule wrote: Hello I am trying to compile PL/v8 without success. I have Postgres installed via compilation from source code. After make I got errors [pavel@localhost plv8-1.4.2]$ make g++

Re: [HACKERS] cannot to compile PL/V8 on Fedora 20

2014-05-12 Thread Tom Lane
Andrew Dunstan and...@dunslane.net writes: On 05/12/2014 07:10 AM, Pavel Stehule wrote: I am trying to compile PL/v8 without success. I have Postgres installed via compilation from source code. plv8.cc:50:56: error: declaration of ‘Datum plv8_call_handler(FunctionCallInfo) throw ()’

Re: [HACKERS] cannot to compile PL/V8 on Fedora 20

2014-05-12 Thread Pavel Stehule
2014-05-12 16:31 GMT+02:00 Tom Lane t...@sss.pgh.pa.us: Andrew Dunstan and...@dunslane.net writes: On 05/12/2014 07:10 AM, Pavel Stehule wrote: I am trying to compile PL/v8 without success. I have Postgres installed via compilation from source code. plv8.cc:50:56: error: declaration of

Re: [HACKERS] cannot to compile PL/V8 on Fedora 20

2014-05-12 Thread Peter Eisentraut
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

Re: [HACKERS] cannot to compile PL/V8 on Fedora 20

2014-05-12 Thread Pavel Stehule
2014-05-12 18:36 GMT+02:00 Peter Eisentraut pete...@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

Re: [HACKERS] cannot to compile PL/V8 on Fedora 20

2014-05-12 Thread Tom Lane
Peter Eisentraut pete...@gmx.net writes: You need plv8 master branch (unreleased), which fixes all these issues. How does it deal with the function declaration incompatibility problem? regards, tom lane -- Sent via pgsql-hackers mailing list

Re: [HACKERS] cannot to compile PL/V8 on Fedora 20

2014-05-12 Thread Peter Eisentraut
On 5/12/14, 12:42 PM, Tom Lane wrote: Peter Eisentraut pete...@gmx.net writes: You need plv8 master branch (unreleased), which fixes all these issues. How does it deal with the function declaration incompatibility problem? commit df92ced297282ffbb13e95748543b6c52ad4d238 Author: Hitoshi

Re: [HACKERS] cannot to compile PL/V8 on Fedora 20

2014-05-12 Thread Alvaro Herrera
Peter Eisentraut wrote: On 5/12/14, 12:42 PM, Tom Lane wrote: Peter Eisentraut pete...@gmx.net writes: You need plv8 master branch (unreleased), which fixes all these issues. How does it deal with the function declaration incompatibility problem? commit

Re: [HACKERS] cannot to compile PL/V8 on Fedora 20

2014-05-12 Thread Tom Lane
Peter Eisentraut pete...@gmx.net writes: On 5/12/14, 12:42 PM, Tom Lane wrote: Peter Eisentraut pete...@gmx.net writes: You need plv8 master branch (unreleased), which fixes all these issues. How does it deal with the function declaration incompatibility problem? commit