Date: Mon, 7 Jul 2003 14:24:41 +0000 (GMT) From: Hubert Tournier <hubert@tournier.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: glewis@FreeBSD.org Subject: ports/54180: Compilation of java/jdk13 fails (with solution) Message-ID: <20030707142441.EA06C2EC027@mail.iris3.net> Resent-Message-ID: <200307071230.h67CUBQZ059066@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 54180 >Category: ports >Synopsis: Compilation of java/jdk13 fails (with solution) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 07 05:30:10 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Hubert Tournier <hubert@frbsd.org> >Release: FreeBSD 5.1-RELEASE i386 >Organization: Maison >Environment: System: FreeBSD herisson.free.fr 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Fri Jun 27 13:59:08 CEST 2003 root@herisson.free.fr:/usr/obj/usr/src/sys/HERISSON i386 Port version : ports/java/jdk13/Makefile,v 1.55 2003/06/15 05:55:36 glewis qt-3.1.2 installed >Description: Compilation of java/jdk13 fails with : In file included from ../../oji-plugin/src/motif/common/stubs.c:29: /usr/X11R6/include/npapi.h:1:2: #error "/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npapi.h must be provided by Netscape" /usr/X11R6/include/npapi.h:2:2: #error "This file is just a placeholder. Please see the documentation" /usr/X11R6/include/npapi.h:3:2: #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:2: #error "/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npupp.h must be provided by Netscape" /usr/X11R6/include/npupp.h:2:2: #error "This file is just a placeholder. Please see the documentation" /usr/X11R6/include/npupp.h:3:2: #error "to learn how to obtain the real file" [...] gmake[1]: *** [../../tmp/bsd/i386/stubs.o] Error 1 gmake[1]: Leaving directory `/home/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris' gmake: *** [plugin-all] Error 1 *** Error code 2 Stop in /home/ports/java/jdk13. >How-To-Repeat: cd /usr/ports/java/jdk13 ; make >Fix: cd /tmp fetch ftp://ftp.netscape.com/pub/sdk/plugin/unix/unix-sdk-3.0b5.tar.Z tar vxzf unix-sdk-3.0b5.tar.Z cd PluginSDK30b5/include cp * /usr/X11R6/include cd /usr/ports/java/jdk13 rm -r work make install Another solution might be to use the (uncommitted) patch for the Netscape Plugin SDK found at http://free.babolo.ru/patch/ports.devel.plugin_sdk.patch Another (less satisfying) solution is to compile the JDK using the WITHOUT_PLUGIN option. If the problem is really generated by the installation of qt (as I have read in the news, but not verified), it might be interesting to check for it in the Makefile ? >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030707142441.EA06C2EC027>