Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 14535 invoked from network); 1 Apr 2009 18:29:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Apr 2009 18:29:44 -0000 Received: (qmail 44260 invoked by uid 500); 1 Apr 2009 18:29:41 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 44172 invoked by uid 500); 1 Apr 2009 18:29:41 -0000 Mailing-List: contact core-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-user@hadoop.apache.org Delivered-To: mailing list core-user@hadoop.apache.org Received: (qmail 44162 invoked by uid 99); 1 Apr 2009 18:29:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 18:29:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of saptarshi.guha@gmail.com designates 209.85.217.164 as permitted sender) Received: from [209.85.217.164] (HELO mail-gx0-f164.google.com) (209.85.217.164) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 18:29:35 +0000 Received: by gxk8 with SMTP id 8so415950gxk.5 for ; Wed, 01 Apr 2009 11:29:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=e8ub6P7e4lerxTC9LRFKbqQvLYAjUQQkDHuvLO/WSUo=; b=l7mjiUTm6q66OQKVd2aacqV6XueqclOsHkHC7h00w6e68jP61oy9ENn5HA/ddHHI+5 NXOW5p1Z5Y9crqTPKm0LqU2jhYf8urNEBQsls6iQeIrbyeq7XthYMgNujDbPz8uzfhHF dfpjzagjK6LNy6XJVlYtA/HTeUtg4nDw0adV0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=MKv+0IRSPQSugG6Ya+dhFwJnI89TlI/eNoRdIMExiyl003ZNlaCSlUcgQIrFcUAcBs 7t2itAJE1LLw9rkhiErxEOfZ9nn3tckV1iB7ZmLSlw8bjT/VjXLJ7JD8PEmlnr6drMrI FHP89TVpSaN1yTiThELq73UZKHqkS437PM1VQ= MIME-Version: 1.0 Received: by 10.151.11.19 with SMTP id o19mr15224020ybi.58.1238610553643; Wed, 01 Apr 2009 11:29:13 -0700 (PDT) Reply-To: saptarshi.guha@gmail.com Date: Wed, 1 Apr 2009 14:29:13 -0400 Message-ID: <1e7471d50904011129o2de33558i17d040653fd6b0fd@mail.gmail.com> Subject: Building LZO on hadoop From: Saptarshi Guha To: "core-user@hadoop.apache.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I checked out hadoop-core-0.19 export CFLAGS=$CUSTROOT/include export LDFLAGS=$CUSTROOT/lib (they contain lzo which was built with --shared) >ls $CUSTROOT/include/lzo/ lzo1a.h lzo1b.h lzo1c.h lzo1f.h lzo1.h lzo1x.h lzo1y.h lzo1z.h lzo2a.h lzo_asm.h lzoconf.h lzodefs.h lzoutil.h >ls $CUSTROOT/lib/ liblzo2.so liblzo.a liblzo.la liblzo.so liblzo.so.1 liblzo.so.2 liblzo.so.2.0.0 I then run (from hadoop-core-0.19.1/) ant -Dcompile.native=true I get messages like : (many others like this) exec] configure: WARNING: lzo/lzo1x.h: accepted by the compiler, rejected by the preprocessor! [exec] configure: WARNING: lzo/lzo1x.h: proceeding with the compiler's result [exec] checking for lzo/lzo1x.h... yes [exec] checking Checking for the 'actual' dynamic-library for '-llzo2'... (cached) [exec] checking lzo/lzo1y.h usability... yes [exec] checking lzo/lzo1y.h presence... no [exec] configure: WARNING: lzo/lzo1y.h: accepted by the compiler, rejected by the preprocessor! [exec] configure: WARNING: lzo/lzo1y.h: proceeding with the compiler's result [exec] checking for lzo/lzo1y.h... yes [exec] checking Checking for the 'actual' dynamic-library for '-llzo2'... (cached) and finally, ive/src/org/apache/hadoop/io/compress/lzo/LzoCompressor.c -fPIC -DPIC -o .libs/LzoCompressor.o [exec] /ln/meraki/custom/hadoop-core-0.19.1/src/native/src/org/apache/hadoop/io/compress/lzo/LzoCompressor.c: In function 'Java_org_apache_hadoop_io_compress_lzo_LzoCompressor_initIDs': [exec] /ln/meraki/custom/hadoop-core-0.19.1/src/native/src/org/apache/hadoop/io/compress/lzo/LzoCompressor.c:137: error: expected expression before ',' token Any ideas? Saptarshi Guha