*MAKE INSTALL*
[centos@ip-172-31-16-47 plv8-2.3.8]$ sudo make install
cd build/v8 ; env CXXFLAGS=-fPIC CFLAGS=-fPIC ninja -C out.gn/x64.release d8
ninja: Entering directory `out.gn/x64.release'
ninja: no work to do.
mkdir -p upgrade
./generate_upgrade.sh 2.3.8
sed -e 's/^#undef PLV8_VERSION/#define PLV8_VERSION "2.3.8"/' 
plv8_config.h.in > plv8_config.h
g++ -Wall -O2 -std=c++11 -fno-rtti  -Ibuild/v8/include -Ibuild/v8 
-std=c++11 -I. -I. -I/usr/include/pgsql/server 
-I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2  -fPIC 
-c -o plv8.o plv8.cc
g++ -Wall -O2 -std=c++11 -fno-rtti  -Ibuild/v8/include -Ibuild/v8 
-std=c++11 -I. -I. -I/usr/include/pgsql/server 
-I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2  -fPIC 
-c -o plv8_type.o plv8_type.cc
g++ -Wall -O2 -std=c++11 -fno-rtti  -Ibuild/v8/include -Ibuild/v8 
-std=c++11 -I. -I. -I/usr/include/pgsql/server 
-I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2  -fPIC 
-c -o plv8_func.o plv8_func.cc
g++ -Wall -O2 -std=c++11 -fno-rtti  -Ibuild/v8/include -Ibuild/v8 
-std=c++11 -I. -I. -I/usr/include/pgsql/server 
-I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2  -fPIC 
-c -o plv8_param.o plv8_param.cc
g++ -Wall -O2 -std=c++11 -fno-rtti  -Ibuild/v8/include -Ibuild/v8 
-std=c++11 -I. -I. -I/usr/include/pgsql/server 
-I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2  -fPIC 
-c -o coffee-script.o coffee-script.cc
g++ -Wall -O2 -std=c++11 -fno-rtti  -Ibuild/v8/include -Ibuild/v8 
-std=c++11 -I. -I. -I/usr/include/pgsql/server 
-I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2  -fPIC 
-c -o livescript.o livescript.cc
g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches 
-m64 -mtune=generic -DLINUX_OOM_SCORE_ADJ=0 -Wall -Wmissing-prototypes 
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels 
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv 
-fexcess-precision=standard -fPIC -shared -o plv8-2.3.8.so plv8.o 
plv8_type.o plv8_func.o plv8_param.o coffee-script.o livescript.o 
-L/usr/lib64 -Wl,-z,relro   -Wl,--as-needed  
-Lbuild/v8/out.gn/x64.release/obj 
-Lbuild/v8/out.gn/x64.release/obj/third_party/icu -lv8_base -lv8_snapshot 
-lv8_libplatform -lv8_libbase -lv8_libsampler -lv8_libplatform 
-Lbuild/v8/out.gn/x64.release/obj -lrt -std=c++11 -lc++
/usr/bin/mkdir -p '/usr/lib64/pgsql'
/usr/bin/mkdir -p '/usr/share/pgsql/extension'
/usr/bin/mkdir -p '/usr/share/pgsql/extension'
/bin/sh /usr/lib64/pgsql/pgxs/src/makefiles/../../config/install-sh -c -m 
755  plv8-2.3.8.so '/usr/lib64/pgsql/plv8-2.3.8.so'
/bin/sh /usr/lib64/pgsql/pgxs/src/makefiles/../../config/install-sh -c -m 
644 ./plv8.control '/usr/share/pgsql/extension/'
/bin/sh /usr/lib64/pgsql/pgxs/src/makefiles/../../config/install-sh -c -m 
644 ./plv8.control ./plv8--2.3.8.sql ./upgrade/plv8--2.3.3--2.3.8.sql 
./upgrade/plv8--2.0.0--2.3.8.sql ./upgrade/plv8--1.5.3--2.3.8.sql 
./upgrade/plv8--2.3.4--2.3.8.sql ./upgrade/plv8--2.3.7--2.3.8.sql 
./upgrade/plv8--2.3.1--2.3.8.sql ./upgrade/plv8--2.3.0--2.3.8.sql 
./upgrade/plv8--1.5.4--2.3.8.sql ./upgrade/plv8--1.5.1--2.3.8.sql 
./upgrade/plv8--2.3.5--2.3.8.sql ./upgrade/plv8--2.3.2--2.3.8.sql 
./upgrade/plv8--1.5.5--2.3.8.sql ./upgrade/plv8--2.1.0--2.3.8.sql 
./upgrade/plv8--1.5.2--2.3.8.sql ./upgrade/plv8--2.0.1--2.3.8.sql 
./upgrade/plv8--1.5.7--2.3.8.sql ./upgrade/plv8--1.5.0--2.3.8.sql 
./upgrade/plv8--2.3.6--2.3.8.sql ./upgrade/plv8--2.0.3--2.3.8.sql 
./upgrade/plv8--1.5.6--2.3.8.sql ./plcoffee.control ./plcoffee--2.3.8.sql 
./plls.control ./plls--2.3.8.sql  '/usr/share/pgsql/extension/'



*MAKE INSTALLCHECK*
[centos@ip-172-31-16-47 plv8-2.3.8]$ make installcheck
/usr/lib64/pgsql/pgxs/src/makefiles/../../src/test/regress/pg_regress 
--inputdir=. --psqldir='/usr/bin'   --dbname=contrib_regression 
init-extension plv8 plv8-errors inline json startup_pre startup varparam 
json_conv window guc es6 arraybuffer composites currentresource 
startup_perms bytea dialect
(using postmaster on Unix socket, default port)
============== dropping database "contrib_regression" ==============
DROP DATABASE
============== creating database "contrib_regression" ==============
CREATE DATABASE
ALTER DATABASE
============== running regression test queries        ==============
test init-extension           ... FAILED
test plv8                     ... FAILED
test plv8-errors              ... FAILED
test inline                   ... FAILED
test json                     ... FAILED
test startup_pre              ... FAILED
test startup                  ... FAILED
test varparam                 ... FAILED
test json_conv                ... FAILED
test window                   ... FAILED
test guc                      ... FAILED
test es6                      ... FAILED
test arraybuffer              ... FAILED
test composites               ... FAILED
test currentresource          ... FAILED
test startup_perms            ... FAILED
test bytea                    ... FAILED
test dialect                  ... FAILED

========================
 18 of 18 tests failed.
========================

*regression.diffs*
+ ERROR:  language "plv8" does not exist
 ERROR:  could not open extension control file 
"/usr/pgsql-11/share/extension/plcoffee.control": No such file or 
directory... etc



The differences that caused some tests to fail can be viewed in the
file "/home/centos/plv8-2.3.8/regression.diffs".  A copy of the test 
summary that you see
above is saved in the file "/home/centos/plv8-2.3.8/regression.out".






On Thursday, 8 August 2019 18:56:18 UTC+8, Jakob Kummerow wrote:
>
> All the "-Wsomething" in there are compiler/linker flags, i.e. they're 
> part of the command, not part of the output. There's no error there.
>
> On Thu, Aug 8, 2019 at 12:49 PM Chong Kw <chong...@gmail.com <javascript:>> 
> wrote:
>
>> Because of the word WMissing-Prototypes
>>
>> Sent from my iPhone
>>
>> On 8 Aug 2019, at 6:29 PM, Jakob Kummerow <jkum...@chromium.org 
>> <javascript:>> wrote:
>>
>> I don't see an error. Why do you think there's an error?
>>
>> On Thu, Aug 8, 2019 at 11:42 AM Chong Kw <chong...@gmail.com 
>> <javascript:>> wrote:
>>
>>> The line that i high lighted is an error ? 
>>>
>>>
>>>
>>> On Thursday, 8 August 2019 17:37:23 UTC+8, Jakob Kummerow wrote:
>>>>
>>>> I see no error in that screenshot, only compiler output.
>>>>
>>>> Pro tip: you can copy-paste from terminals, no need to take screenshots.
>>>>
>>>> All that said, chances are nobody on this list knows what plv8 is or 
>>>> how it needs to be set up, so you'll probably find more help in that 
>>>> project's documentation/forums/whatever.
>>>>
>>>>
>>>> On Thu, Aug 8, 2019 at 5:22 AM Chong Kw <chong...@gmail.com> wrote:
>>>>
>>>>> I trying to install plv8 in the aws, CENTOS. 
>>>>> But it shows this error 
>>>>>
>>>>> -- 
>>>>> -- 
>>>>> v8-users mailing list
>>>>> v8-u...@googlegroups.com
>>>>> http://groups.google.com/group/v8-users
>>>>> --- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "v8-users" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to v8-u...@googlegroups.com.
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/v8-users/443b33f8-f1ca-4d37-b590-730e20bab573%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/v8-users/443b33f8-f1ca-4d37-b590-730e20bab573%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> -- 
>>> -- 
>>> v8-users mailing list
>>> v8-u...@googlegroups.com <javascript:>
>>> http://groups.google.com/group/v8-users
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "v8-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to v8-u...@googlegroups.com <javascript:>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/v8-users/16af5009-ec0e-4dac-a3dd-9f1ba93de79c%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/v8-users/16af5009-ec0e-4dac-a3dd-9f1ba93de79c%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> -- 
>> -- 
>> v8-users mailing list
>> v8-u...@googlegroups.com <javascript:>
>> http://groups.google.com/group/v8-users
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "v8-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to v8-u...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/v8-users/CAKSzg3RiyFFcvuD7Wmo9vSAa_Ed%2B2zxVhNop8UriiUE%3DcOoOpA%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/v8-users/CAKSzg3RiyFFcvuD7Wmo9vSAa_Ed%2B2zxVhNop8UriiUE%3DcOoOpA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> -- 
>> -- 
>> v8-users mailing list
>> v8-u...@googlegroups.com <javascript:>
>> http://groups.google.com/group/v8-users
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "v8-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to v8-u...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/v8-users/289C4112-6FEF-4742-84A9-918B5D8BCE2E%40gmail.com
>>  
>> <https://groups.google.com/d/msgid/v8-users/289C4112-6FEF-4742-84A9-918B5D8BCE2E%40gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/294a6276-4f1f-4bf2-bde1-762df3f5d471%40googlegroups.com.

Reply via email to