From owner-freebsd-ports@FreeBSD.ORG Mon Aug 3 22:19:23 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FCBC1065672 for ; Mon, 3 Aug 2009 22:19:23 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 6C8988FC14 for ; Mon, 3 Aug 2009 22:19:22 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: by fxm6 with SMTP id 6so1612710fxm.43 for ; Mon, 03 Aug 2009 15:19:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3cqpW7lbS+uzQJ9UdZUt0Wc8HfbNY1q4gEkYXlt8xEg=; b=f3+sk8qfTf6FvVWnV/vTDrcNg6ZutfrxP2yRzmdynG6aFhN/nHGuUKoNLDdKIS4WUA u/yM9p8vaXJoUlCphcIJEfxT4k69tTzaElNO4Lwp/solI0NNNFtyDIjs/fRCj6Ywuxf5 l9YuEMVxWQdZ04GrudH1ic3sgxXsVmYe4FcKY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=j1cT8s6s/X+t6s8gV3NDrhlLmwOeIn72kqLhtsmNho6KUTtVU2x41G3GQm3F4z3JsI nEb170CTasijcUZDfZTCGfC7jYUSKAacZmD49Kjt6dj6ynLzFH4Kbi4eqi6S+Br+kULO agB26se/fhxleWGq3yIAUquQ4wbROAfKrXgJ0= MIME-Version: 1.0 Received: by 10.239.133.67 with SMTP id 3mr704118hbu.63.1249337961466; Mon, 03 Aug 2009 15:19:21 -0700 (PDT) In-Reply-To: <200908031318.29493.mel.flynn+fbsd.ports@mailing.thruhere.net> References: <200908031318.29493.mel.flynn+fbsd.ports@mailing.thruhere.net> Date: Mon, 3 Aug 2009 22:19:21 +0000 Message-ID: From: "b. f." To: Mel Flynn Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Stephen Montgomery-Smith , glewis@freebsd.org, freebsd-ports@freebsd.org Subject: Re: diablo-jdk with FreeBSD-8.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2009 22:19:23 -0000 On 8/3/09, Mel Flynn wrote: > On Friday 31 July 2009 13:57:34 b. f. wrote: >> "Stephen Montgomery-Smith" wrote: >> >I am running a very recent amd64 version of FreeBSD-8.0. diablo-jdk is >> >no longer working. I am guessing it is the bumped shared library >> >versions (because I did do "make delete-old-libs" as part of my >> >installation). >> >> Yes, this came up earlier. libmap.conf(5) is your friend here, until >> an update. Or you can try building java/openjdk6, but that takes some >> time and resources. > > Have you tried it? openjdk requires a native jdk to build, doesn't accept > the > linux ones, so chicken and egg. Obviously not. :) I was mentioning it only as a possibility that I hadn't explored, and that the OP may wish to look into -- I should have made that clear. I see now that it (unfortunately) requires one of a number of bootstrap JVMs that are now broken , as you say. Thanks for pointing that out, and for mentioning the problems below with some of the other JVMs. > Trying to build java/jdk16 with a linux one also does not work, because of > unsafe functions in the make program that it builds as one of the first > things. Also, the linux jdk6 requires one to dig into archives as the port > is > at update 10 while Sun is at update 14. > So for the time being, libmap.conf is the only working solution and to make > it > more specific, it needs libz.so.4. The error message java generates points > no > where near libz, so kudos to whoever found out it's that library. Perhaps not, but ldd(1) and a number of other tools will show that ${WRKSRC}/bin/unpack200 expects to find this library, and also show what other libraries the precompiled binaries need. In any event, it was helpful of Carlos to post his notes -- thanks. b.