You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Ming LI (JIRA)" <ji...@apache.org> on 2016/06/21 10:59:57 UTC

[jira] [Created] (HAWQ-847) Build PLR error on Mac

Ming LI created HAWQ-847:
----------------------------

             Summary: Build PLR error on Mac
                 Key: HAWQ-847
                 URL: https://issues.apache.org/jira/browse/HAWQ-847
             Project: Apache HAWQ
          Issue Type: Bug
            Reporter: Ming LI
            Assignee: Lei Chang


Reproduce steps:
1) download and install R-3.1.3.pkg from https://www.r-project.org/
2) set env variable:
export R_HOME=/Library/Frameworks/R.framework/Resources
3) ./configure --with-r
4) make

Error occurs:
gcc -O0 -std=gnu99  -Wall -Wmissing-prototypes -Wpointer-arith  -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -g -ggdb  -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2  -I"/Library/Frameworks/R.framework/Resources"/include -I. -I../../../src/include  -I/Users/mili/workspace/hawq2/apache-hawq/depends/libhdfs3/build/install/Users/mili/workspace/hawq2/hawq-db-devel/include -I/Users/mili/workspace/hawq2/apache-hawq/depends/libyarn/build/install/Users/mili/workspace/hawq2/hawq-db-devel/include  -c -o pg_backend_support.o pg_backend_support.c
pg_backend_support.c:296:2: error: "DLSUFFIX must be defined to compile this file."
#error "DLSUFFIX must be defined to compile this file."
 ^
pg_backend_support.c:333:37: error: use of undeclared identifier 'DLSUFFIX'
        new = palloc(strlen(name) + strlen(DLSUFFIX) + 1);
                                           ^
pg_backend_support.c:335:14: error: use of undeclared identifier 'DLSUFFIX'
        strcat(new, DLSUFFIX);
                    ^
3 errors generated.
make[3]: *** [pg_backend_support.o] Error 1
make[2]: *** [all] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)