From owner-freebsd-questions@FreeBSD.ORG Thu May 22 20:52:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D127A37B401 for ; Thu, 22 May 2003 20:52:22 -0700 (PDT) Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECED443F85 for ; Thu, 22 May 2003 20:52:21 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp1969.sa.padsl.internode.on.net [150.101.26.176]) h4N3qJMO086687; Fri, 23 May 2003 13:22:19 +0930 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: "E. J. Cerejo" Date: Fri, 23 May 2003 13:22:18 +0930 User-Agent: KMail/1.4.3 References: <3ECD6830.3060603@netscape.net> <200305231018.21796.malcolm.kay@internode.on.net> <3ECD9027.30606@netscape.net> In-Reply-To: <3ECD9027.30606@netscape.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200305231322.18792.malcolm.kay@internode.on.net> cc: FreeBSD-Questions Subject: Re: JDK13 fails to build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 03:52:23 -0000 On Fri, 23 May 2003 12:36, E. J. Cerejo wrote: > malcolm.kay@internode.on.net wrote: > > On Fri, 23 May 2003 09:45, E. J. Cerejo wrote: > >>I forgot to mention that I'm running freebsd stable > >> > >> > >> > >>E. J. Cerejo wrote: > >>I'm trying to install JDK13 and it fails to build, here's what I get: > >> > >>/src/motif/badapter -I../../../../src/share/javavm/export > >>-I../../../../src/solaris/javavm/export -I/usr/X11R6/include > >>-I/usr/local/include -I../../oji-plugin/src/share -o > >>../../tmp/bsd/i386/stubs.o ../../oji-plugin/src/motif/common/stubs.c > >>In file included from ../../oji-plugin/src/motif/common/stubs.c:29: > >>/usr/X11R6/include/npapi.h:1: #error > >>"/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npap= i.h > >>must be provided by Netscape" > >>/usr/X11R6/include/npapi.h:2: #error "This file is just a placeholder= =2E > >>Please see the documentation" > >>/usr/X11R6/include/npapi.h:3: #error "to learn how to obtain the real > >> file" In file included from > >> ../../oji-plugin/src/motif/common/stubs.c:30: > >> /usr/X11R6/include/npupp.h:1: #error > >>"/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npup= p.h > >>must be provided by Netscape" > >>/usr/X11R6/include/npupp.h:2: #error "This file is just a placeholder= =2E > >>Please see the documentation" > >>/usr/X11R6/include/npupp.h:3: #error "to learn how to obtain the real > >> file" gmake[1]: *** [../../tmp/bsd/i386/stubs.o] Error 1 > >>gmake[1]: Leaving directory > >>`/usr/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris' > >>gmake: *** [plugin-all] Error 1 > >>*** Error code 2 > >> > >>Stop in /usr/ports/java/jdk13. > >> > >>Is it because of qt3? > > > > Have you read the actual error messages? > > #error is a preprocessor command which reports and causes an > > error to be generated. > > In the first instance the encoded errors were: > > =20 > > /home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npapi= =2Eh > > must be provided by Netscape > > This file is just a placeholder. > > Please see the documentation to learn how to obtain the real file > > > > The second is similar! > > > > Maybe there are make options to inhibit the generation > > of a netscape plugin. Take a look in the Makefile. > > > > Malcolm > > > > Malcolm > > I looked into the Makefile and I didn't see anything that had to do wit= h > a netscape plugin! I may have a different port version but the Makefile is labelled: # New ports collection makefile for: jdk13 # Date created: 10 October 2000 and at line 26: =2Eif !defined(WITHOUT_PLUGIN) BUILD_DEPENDS+=3D msgfmt:${PORTSDIR}/devel/gettext LIB_DEPENDS=3D glib12.3:$(PORTSDIR)/devel/glib12 \ gtk12.2:$(PORTSDIR)/x11-toolkits/gtk12 \ nspr4.1:$(PORTSDIR)/devel/nspr =2Eendif =20 and again at line 68: =2Eif !defined(WITHOUT_PLUGIN) MAKE_ENV +=3D LIBG_HDRS=3D"${LOCALBASE}/include/glib12" \ GTK_HDRS=3D"${X11BASE}/include/gtk12" \ LIBIDL_HDRS=3D =2Eendif and 73: =2Eif !defined(WITHOUT_PLUGIN) ALL_TARGET=3D all plugin images =2Eelse ALL_TARGET=3D all images =2Eendif and 100: =20 =2Eif defined(WITHOUT_PLUGIN)=20 PLIST_SUB+=3D PLUGIN:=3D"@comment " =2Eelse PLIST_SUB+=3D PLUGIN:=3D"" =2Eendif 201: =2Eif !defined(WITHOUT_PLUGIN) @${ECHO_MSG} @${ECHO_MSG} To use the Java plugin with Mozilla you must create a @${ECHO_MSG} symbolic link from @${ECHO_MSG} @${ECHO_MSG} ---long line--- @${ECHO_MSG} @${ECHO_MSG} to your Mozilla plugins directory, which is usually foun= d at @${ECHO_MSG} @${ECHO_MSG} ${X11BASE}/lib/mozilla/plugins @${ECHO_MSG} =2Eendif I imagine you want: # make -DWITHOUT_PLUGIN and=20 # make -DWITHOUT_PLUGIN install