From owner-freebsd-openoffice@FreeBSD.ORG Thu Dec 6 13:34:33 2007 Return-Path: Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 621AC16A41B for ; Thu, 6 Dec 2007 13:34:33 +0000 (UTC) (envelope-from ben@altesco.nl) Received: from altus-escon.com (altesco.xs4all.nl [80.126.48.53]) by mx1.freebsd.org (Postfix) with ESMTP id D1D7213C447 for ; Thu, 6 Dec 2007 13:34:32 +0000 (UTC) (envelope-from ben@altesco.nl) Received: from benjoam.altus-escon.com (benjoam.altus-escon.com [193.78.231.14]) by altus-escon.com (8.13.6/8.13.1) with ESMTP id lB6DXxWe019714; Thu, 6 Dec 2007 14:34:31 +0100 (CET) (envelope-from ben@altesco.nl) Message-Id: From: Ben Stuyts To: freebsd-openoffice@freebsd.org In-Reply-To: <4756DD5F.3030405@math.missouri.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Thu, 6 Dec 2007 14:34:30 +0100 References: <56B33BBB-FBFE-4F69-9A0D-4F0F40849B3F@altesco.nl> <18262.49937.566602.434758@jerusalem.litteratus.org> <4D009329-B8D6-426D-B320-891CC7677773@altesco.nl> <4756DD5F.3030405@math.missouri.edu> X-Mailer: Apple Mail (2.915) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (altus-escon.com [193.78.231.42]); Thu, 06 Dec 2007 14:34:31 +0100 (CET) X-Virus-Scanned: ClamAV 0.91.2/5020/Thu Dec 6 07:21:18 2007 on earth.altus-escon.com X-Virus-Status: Clean Cc: Subject: Re: Which JDK for Ooo-2 and FreeBSD7-beta4? X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2007 13:34:33 -0000 On 5 Dec 2007, at 18:18, Stephen Montgomery-Smith wrote: > Ben Stuyts wrote: >> On 5 Dec 2007, at 16:26, Robert Huff wrote: >>> Ben Stuyts writes: >>> >>>> I am trying to build Ooo-2 on FreeBSD7-beta4. I can't get past >>>> the JDK build, see log below. It says JDK15 is not supported on >>>> FreeBSD7. >>> >>> I do not believe this to be correct. >> Do you assume an error in the port, or in my setup? >>> >>> In the port. >>> Come to think of it, there may be issues with compatiility >>> libraries. Check the archives of java@. >>> >>>> Which JDK is recommended? >>> >>> I have built what appears to be a working OOo 2.3 using >>> diablo-jdk15 under -CURRENT about the time it branched. >>> It would be nice if OOo could be updated to work with jdk16. >> Diablo core-dumps here: (on Freebsd-7 beta4 built yesterday) >> [jirad:...java/diablo-jdk15]142# l -d /var/db/pkg/*jd* >> drwxr-xr-x 2 root wheel 512 Dec 5 14:37 /var/db/pkg/diablo- >> jdk-1.5.0.07.01_8 >> [jirad:...java/diablo-jdk15]143# /usr/local/bin/java -h >> Segmentation fault (core dumped) > > I used to have a problem with diablo-jdk15 because it ran out of > memory. I ended up changing the max stack and data size, and then > it worked fine. > > Something like this in /boot/loader.conf (YMMV). > > kern.maxdsiz=1073741824 > kern.maxssiz=1073741824 Thanks all for the help. It was good to know that it is working on other systems. Robert's suggestion about the libraries made me look into other areas of this system and I found some old files and libs, and they were removed when I did a make delete-old delete-old-libs in /usr/src. Now java works fine. Looks like I was linking against some outdated libraries. I have compiled Ooo-2 without errors now, and a quick test of writer shows that it works. Thanks, Ben