Return-Path: Delivered-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Received: (qmail 37232 invoked from network); 21 Feb 2009 01:05:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2009 01:05:51 -0000 Received: (qmail 74031 invoked by uid 500); 21 Feb 2009 01:05:51 -0000 Delivered-To: apmail-lucene-pylucene-dev-archive@lucene.apache.org Received: (qmail 73994 invoked by uid 500); 21 Feb 2009 01:05:51 -0000 Mailing-List: contact pylucene-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pylucene-dev@lucene.apache.org Delivered-To: mailing list pylucene-dev@lucene.apache.org Received: (qmail 73983 invoked by uid 99); 21 Feb 2009 01:05:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2009 17:05:50 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of techgurufloyd@gmail.com designates 209.85.198.229 as permitted sender) Received: from [209.85.198.229] (HELO rv-out-0506.google.com) (209.85.198.229) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Feb 2009 01:05:43 +0000 Received: by rv-out-0506.google.com with SMTP id k40so1695712rvb.5 for ; Fri, 20 Feb 2009 17:05:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=mt78Uzyx0/KH5lAr7VJGS/S+tHfbiSxlDCn/Ops7Igc=; b=j0DatMugEBUmIO9gjoCOG9UHmo4qSOSwly5ES57g4ekaO8ZZQtesOjCAQZnYCDzEwp EHFqcGpHAExgeuC3GPpqD8iUY61Jlzh5ZK0qla9HTokHnIzROsatPehTbnANaarwA3Uv cGZSFuf2V9h2uiZKi87+r6CDLFlIvPVULyNY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=Dti1YifleNyKSdg4CNjRajqUZqwrbf6xgoP7uSCt8GZj1JJNYs535BJ2tXsJkb2Tuv HalvCKcj9sxqaVG8BU+wuwswpBdNi2z6JzHCPvA1VfVUEO41U8Y4KYnCn9bopvaOZdlx 7TLczrKUJDvKYTn2ThbXJdbPY7vWpI2APUNrw= MIME-Version: 1.0 Received: by 10.141.185.10 with SMTP id m10mr691265rvp.32.1235178323189; Fri, 20 Feb 2009 17:05:23 -0800 (PST) Date: Fri, 20 Feb 2009 18:05:23 -0700 Message-ID: <4afbebfe0902201705o5b1e68e8r669e10c491f0f008@mail.gmail.com> Subject: JCC Install From: Jacob Floyd To: pylucene-dev@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Here I am again. After talking with some of the gentoo devs, they suggested I modify the setup.py to include gentoo specifics and send it upstream. As it is, they don't like to have to specify all the lflags, and in fact it becomes troublesome, because we'd then have to duplicate what you're doing (sniffing for x86/x86_x86_64...) within the ebuild. Instead, it would be nicer to have something like a JCC_JAVA_DIR, that specifies where the java install is, and then use that within Includes and lflags. In my case I would then set not the JCC_LFLAGS variable but the JCC_JAVA_DIR, and the setup.py would automatically give me either i386/i686/x86_64. I don't know if you prefer a copy or a patch, and I don't know if I can attach things going to the list, so here's the setup.py and the diff (available for the next 30 days): setup.py http://dpaste.com/123231/ setup.py.diff http://dpaste.com/123234/ Note that I moved some of the variables up or down, to keep it simple for users to change just what they need. What do you think? Thanks, Jacob