From owner-freebsd-ports@FreeBSD.ORG Wed May 28 01:59:49 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BD6137B404 for ; Wed, 28 May 2003 01:59:49 -0700 (PDT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 3222443FA3 for ; Wed, 28 May 2003 01:59:48 -0700 (PDT) (envelope-from blueeskimo@gmx.net) Received: (qmail 23364 invoked by uid 65534); 28 May 2003 08:59:46 -0000 Received: from i216-58-29-174.gta.igs.net (EHLO [216.58.29.174]) (216.58.29.174) by mail.gmx.net (mp022) with SMTP; 28 May 2003 10:59:46 +0200 From: Adam To: freebsd-ports@freebsd.org In-Reply-To: <1054068371.192.18.camel@jake> References: <1054068371.192.18.camel@jake> Content-Type: text/plain Organization: Message-Id: <1054112385.192.27.camel@jake> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 28 May 2003 04:59:45 -0400 Content-Transfer-Encoding: 7bit Subject: Re: Problem installing jdk13 on FreeBSD 4.8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 08:59:49 -0000 On Tue, 2003-05-27 at 16:46, Adam wrote: > I've installed jdk plenty of times on both FreeBSD 4.x and 5.x, and I've > NEVER seen this error before. Can someone explain what this error is > telling me? 'Please see the documentation' isn't very helpful. It > doesn't even tell you where in the documentation to look. Got a private reply .. Thought I'd add it to the thread: *** From: Jeff Gardner To: Adam Subject: Re: Problem installing jdk13 on FreeBSD 4.8 Date: Wed, 28 May 2003 01:49:31 -0400 I am not subscribed to -ports but have found what is causing the problem with jdk. Doing: galaxy# cd /var/db/pkg galaxy# grep npapi.h */+CONTENTS results in: qt-3.1.2/+CONTENTS:include/npapi.h Also, doing: galaxy# locate npapi.h results in: /root/kdebase-3.1.1/nsplugins/sdk/npapi.h /usr/X11R6/include/npapi.h /usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/oji-plugin/src/motif/badapter/npapi.h Then I looked more closely at +CONTENTS from qt and noticed it had several more .h files which will break jdk build. My quick fix was copying the versions found bundled with jdk to /usr/X11R6/include (not the best way I know). However, I did get a result of: ===> Registering installation for jdk-1.3.1p8_2 and galaxy# javavm -version java version "1.3.1-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-root-030528-00:06) Classic VM (build 1.3.1-p8-root-030528-00:06, green threads, nojit) This was on a 4.8-STABLE box... At anyrate either jdk13 is broken or qt is... I think qt is because the jdk13 had correct code in the .h files and the qt provided .h files were stubs... Jeff *** -- Adam