Return-Path: Delivered-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Received: (qmail 37955 invoked from network); 1 Jun 2010 17:27:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jun 2010 17:27:51 -0000 Received: (qmail 57036 invoked by uid 500); 1 Jun 2010 17:27:51 -0000 Delivered-To: apmail-lucene-pylucene-dev-archive@lucene.apache.org Received: (qmail 56982 invoked by uid 500); 1 Jun 2010 17:27:50 -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 56974 invoked by uid 99); 1 Jun 2010 17:27:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 17:27:50 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=AWL,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [66.159.224.220] (HELO ovaltofu.org) (66.159.224.220) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 17:27:43 +0000 Received: from [192.168.0.12] ([192.168.0.12]) (authenticated bits=0) by ovaltofu.org (8.14.3/8.14.4) with ESMTP id o51HRI9Z025604 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 1 Jun 2010 10:27:21 -0700 (PDT) Date: Tue, 1 Jun 2010 10:27:19 -0700 (PDT) From: Andi Vajda X-X-Sender: vajda@yuzu.local Reply-To: Andi Vajda To: pylucene-dev@lucene.apache.org Subject: Re: Distributing pylucene on Linux In-Reply-To: Message-ID: References: User-Agent: Alpine 2.01 (OSX 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Tue, 1 Jun 2010, Sanjeet Kumar wrote: > We are using pylucence in an application and have compiled and build jcc > and pylucene successfully on Debian/Ubuntu. > > We now want to be able to "distribute" our application as a more or less > self-contained zip file for use on any flavor of Linux (eg. CentOS, Redhat, > etc.). > It will contain our code as well as the pylucene binaries. The only external > requirements should be that the appropriate versions of python and Java be > installed on the user's system. > > This works cleanly on a new Ubuntu system, but we had some initial problems > with CentOS. While we debug further, the question is: > > Will this approach work? We'd like to avoid having to compile and build JCC > and pylucene on all the distributions. I doubt that this will be practical as quite a few things have to be lined up for this work reliably: - 32- vs 64-bit builds of java and python - width of python's unicode character (16- or 32-bit, a configure option) - versions of the underlying system libraries used - locations of underlying libraries used - others I can't think of at the moment Andi..