Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D376D200B36 for ; Tue, 21 Jun 2016 13:00:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D206A160A36; Tue, 21 Jun 2016 11:00:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 25287160A4F for ; Tue, 21 Jun 2016 13:00:04 +0200 (CEST) Received: (qmail 90832 invoked by uid 500); 21 Jun 2016 11:00:04 -0000 Mailing-List: contact dev-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list dev@hawq.incubator.apache.org Received: (qmail 90821 invoked by uid 99); 21 Jun 2016 11:00:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2016 11:00:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id CF897C0057 for ; Tue, 21 Jun 2016 11:00:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.446 X-Spam-Level: X-Spam-Status: No, score=-5.446 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id I5icwN1yg9ns for ; Tue, 21 Jun 2016 10:59:59 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id E944C5F247 for ; Tue, 21 Jun 2016 10:59:58 +0000 (UTC) Received: (qmail 90234 invoked by uid 99); 21 Jun 2016 10:59:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2016 10:59:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DC1BA2C1F5D for ; Tue, 21 Jun 2016 10:59:57 +0000 (UTC) Date: Tue, 21 Jun 2016 10:59:57 +0000 (UTC) From: "Ming LI (JIRA)" To: dev@hawq.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HAWQ-847) Build PLR error on Mac MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 21 Jun 2016 11:00:06 -0000 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)