From owner-freebsd-java@FreeBSD.ORG Mon May 17 23:30:58 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E935C16A4CE for ; Mon, 17 May 2004 23:30:58 -0700 (PDT) Received: from hobbiton.shire.net (hobbiton.shire.net [206.71.64.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E79E43D41 for ; Mon, 17 May 2004 23:30:55 -0700 (PDT) (envelope-from chad@shire.net) Received: from [67.161.247.57] (helo=[192.168.99.66]) by hobbiton.shire.net with asmtp (TLSv1:RC4-SHA:128) (Exim 4.10) id 1BPy7q-000J4n-00; Tue, 18 May 2004 00:30:54 -0600 In-Reply-To: <40A85D81.7070007@noc.ntua.gr> References: <40A85D81.7070007@noc.ntua.gr> Mime-Version: 1.0 (Apple Message framework v613) Message-Id: From: "Chad Leigh -- Shire.Net LLC" Date: Tue, 18 May 2004 00:30:49 -0600 To: Panagiotis Astithas X-Mailer: Apple Mail (2.613) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on hobbiton.shire.net X-Spam-Status: No, hits=-0.0 required=5.0 tests=BAYES_44 autolearn=no version=2.63 X-Spam-Level: cc: freebsd-java@freebsd.org Subject: Re: problem building jdk14 from ports on CURRENT X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2004 06:30:59 -0000 On May 17, 2004, at 12:36 AM, Panagiotis Astithas wrote: > Chad Leigh -- Shire.Net LLC wrote: > >> The missing .h files are found in /usr/local/include/Xm/ >> This is actually being built inside a jail and I tweak it as I go. >> But X11 was not initially installed so the port has had to install >> all the baloney for open-motif and X and stuff and I copied the X11 >> hierarchy from the base machine into the jail for the libs and >> includes. I don't know where the Xm stuff is supposed to go but the >> install stuck it in /usr/local. I also seem to have copies of the >> .h files in /usr/ports/java/jdk14/work/motif/lib/Xm/ >> How does one tell the ports build system to look in other places? Or >> what can I otherwise do about this? > > These files are usually found in /usr/X11R6/include. You could try > building everything inside your jail by setting X11BASE=/usr/local or > copying stuff over. I copied stuff over and soft linked some stuff and got it built. It seems to perform pretty well to. I have a single java "benchmark" (Fhourstones) (I know, it ain't worth much) and I ran it on this new installation on 5.2-CURRENT (with WITNESS and dbg stuff there still etc) running on 1.8ghz Opteron and it came in at about 90% of an AMD MP 2800+ under Linux (2.4.24 gentoo) running the Sun 1.4.2_03 jvm... I was impressed since the earlier 1.3.1 green threads jdk I had on FreeBSD came in at about 10% on a 4.7/4.9 system running on the same MB and AMD MP 2800+ CPU as the Linux one... My problem is that I defined PREFIX to point to something I call /usr/pub so when it tried to build all the darn X stuff it stuck it in there instead of the normal place for it. I have /usr/pub in my master jail as a read write location that acts like /usr/local except it gets mounted as read only in all the other jails and /usr/local is kept as a separate per-jail writable area. /usr/pub/etc gets soft linked to /usr/local/etc... Works pretty well for making software available inside a jail with only having to install it once. There are things that have to be copied into each jail /usr/local/etc etc but it gets me part way there. Thanks Chad