[
https://issues.apache.org/jira/browse/HAWQ-1283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15829547#comment-15829547
]
Devin Jia commented on HAWQ-1283:
---------------------------------
And, if configure with libhdfs3, encounter error::
{quote}{color:red}
-- Find GoogleTest include path:
/opt/incubator-hawq/depends/thirdparty/googletest/googletest/include
-- Find GoogleMock include path:
/opt/incubator-hawq/depends/thirdparty/googletest/googlemock/include
-- Find Gtest library path:
/opt/incubator-hawq/depends/thirdparty/googletest/build/googlemock/gtest/libgtest.a
-- Find Gmock library path:
/opt/incubator-hawq/depends/thirdparty/googletest/build/googlemock/libgmock.a
-- GoogleTest check:
CMake Error at
/opt/cmake-3.1.0-Linux-x86_64/share/cmake-3.1/Modules/FindPackageHandleStandardArgs.cmake:138
(message):
Could NOT find GoogleTest (missing: GoogleTest_CHECK_FINE)
Call Stack (most recent call first):
/opt/cmake-3.1.0-Linux-x86_64/share/cmake-3.1/Modules/FindPackageHandleStandardArgs.cmake:374
(_FPHSA_FAILURE_MESSAGE)
CMake/FindGoogleTest.cmake:52 (find_package_handle_standard_args)
CMakeLists.txt:23 (FIND_PACKAGE)
{color}{quote}
> error: ‘privilege’ undeclared - when make project
> -------------------------------------------------
>
> Key: HAWQ-1283
> URL: https://issues.apache.org/jira/browse/HAWQ-1283
> Project: Apache HAWQ
> Issue Type: Bug
> Components: Security
> Reporter: Devin Jia
> Assignee: Xiang Sheng
> Fix For: 2.2.0.0-incubating
>
>
> when i "git pull" the newest source code,and make project, encounter error:
> {quote}
> ./configure --prefix=/opt/hawq-build --enable-depend --enable-cassert
> --enable-debug
> make install
> {quote}
> ......
> ......
> gcc -O0 -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith
> -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -g -ggdb
> -I/usr/include/libxml2 -I../../../src/include -D_GNU_SOURCE
> -I/opt/incubator-hawq/depends/libhdfs3/build/install/opt/hawq-build/include
> -I/opt/incubator-hawq/depends/libyarn/build/install/opt/hawq-build/include
> -c -o rangerrest.o rangerrest.c -MMD -MP -MF .deps/rangerrest.Po
> {color:red}
> rangerrest.c: In function ‘create_ranger_request_json’:
> rangerrest.c:165: error: ‘privilege’ undeclared (first use in this function)
> rangerrest.c:165: error: (Each undeclared identifier is reported only once
> rangerrest.c:165: error: for each function it appears in.)
> {color}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)