Return-Path: Delivered-To: apmail-incubator-buildr-user-archive@locus.apache.org Received: (qmail 98120 invoked from network); 11 Dec 2008 16:28:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2008 16:28:35 -0000 Received: (qmail 62951 invoked by uid 500); 11 Dec 2008 16:28:48 -0000 Delivered-To: apmail-incubator-buildr-user-archive@incubator.apache.org Received: (qmail 62937 invoked by uid 500); 11 Dec 2008 16:28:48 -0000 Mailing-List: contact buildr-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: buildr-user@incubator.apache.org Delivered-To: mailing list buildr-user@incubator.apache.org Delivered-To: moderator for buildr-user@incubator.apache.org Received: (qmail 14740 invoked by uid 99); 11 Dec 2008 16:08:05 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of antoine.toulme@gmail.com designates 72.14.246.240 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :sender:to:subject:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=d1gGlB4guufG0zXGPA3CD3ToocDR+aklVvFGM0C0BNc=; b=ik32YgCkcTBdfmSxRfGulsmr/4ycuhTJnZcydp4/4N+C1DJtSzjtFZ/G+6I4E+1M6w TLb9QiNivEaH6tGlOOlg0GCqBK3YUmlh3yUEjGz0qqWnz/PALgm/UMa8lWs3PabVHtF3 Te7dHEPWcgvl50rkLu5KbEQehxxHpZYl0xdiY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:in-reply-to :mime-version:content-type:references:x-google-sender-auth; b=Q+3euLFwWa8hmsSEP3j7DueIxu0uiECNXN8e2qkiXwoNshWg/4CLfW7Vkm/aEHJl4B 6N5TvEQD/U2PZ7NYxdn8NQA7bGZPYkp1MymxffIYxC30OEclw8BWwEvSxUicI1J3fpD0 qTswwjKRdjKDuQ5mKMaYnnEJeyfQGHTVlKXmk= Message-ID: Date: Thu, 11 Dec 2008 17:07:29 +0100 From: "Antoine Toulme" Reply-To: antoine@lunar-ocean.com Sender: antoine.toulme@gmail.com To: buildr-user@incubator.apache.org Subject: Re: Error installing rjb while installing buildr In-Reply-To: <494139A8.7050801@tikalk.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10134_9043684.1229011649789" References: <494139A8.7050801@tikalk.com> X-Google-Sender-Auth: adcb8484c9c372b6 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_10134_9043684.1229011649789 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Ittay, please see comments below: On Thu, Dec 11, 2008 at 5:02 PM, Ittay Dror wrote: > this is more a question on the RJB forum, not buildr. I figured that later today and posted there. http://rubyforge.org/forum/forum.php?thread_id=30307&forum_id=8190 > > > > anyways, the way RJB is built is that the file ext/load.c has precompiler > conditions based on predefined variables that define ARCH and JVM_TYPE, > based on that, RJB knows where to load libjvm.so from. > > > this is not a very good solution (look in the rjb forum for a post i made > there detailing why), you have two options: > > 1. modify ext/load.c to include another #elsif for PPC, then create a gem > and install it > > 2. i can send you a modified version of rjb that i have that uses an > environment variable JVM_LIB to tell it where to load the library from. this > means that you'll have to export it before running buildr > > > please note that in even if it finds the library, it doesn't mean it will > be able to load it (i wasn't able to load it on hpux 11.11). it's a tricky > business. > Sounds tricky indeed. For other unrelated reasons, the best workaround is to use jruby, so I won't go further down this path. Thanks for the answer! Antoine -- http://www.lunar-ocean.com/blog ------=_Part_10134_9043684.1229011649789--