From owner-freebsd-questions Mon Oct 21 19:10: 7 2002 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 3A8CB37B401 for ; Mon, 21 Oct 2002 19:10:05 -0700 (PDT) Received: from emerson.torrentnet.com (emerson.torrentnet.com [198.78.51.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D7AE43E3B for ; Mon, 21 Oct 2002 19:09:54 -0700 (PDT) (envelope-from kaarthik@torrentnet.com) Received: from imperial.torrentnet.com (imperial.torrentnet.com [198.78.51.109]) by emerson.torrentnet.com (8.11.2/8.11.2) with ESMTP id g9M29mx50922 for ; Mon, 21 Oct 2002 22:09:48 -0400 (EDT) Received: from coors.torrentnet.com (coors.torrentnet.com [4.21.152.11]) by imperial.torrentnet.com (8.11.2/8.11.2) with ESMTP id g9M29mt15315 for ; Mon, 21 Oct 2002 22:09:48 -0400 (EDT) Received: (from kaarthik@localhost) by coors.torrentnet.com (8.11.2/8.11.2) id g9M29mB59553; Mon, 21 Oct 2002 22:09:48 -0400 (EDT) X-Authentication-Warning: coors.torrentnet.com: kaarthik set sender to kaarthik@torrentnet.com using -f To: freebsd-questions@FreeBSD.org Subject: Java on FreeBSD 4.5 From: Kaarthik Sivakumar Date: 21 Oct 2002 22:09:48 -0400 Message-ID: <1i3cqzkyvn.fsf@coors.torrentnet.com> Lines: 76 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi I am trying to set up Java on FreeBSD 4.5. I read through: http://www.freebsd.org/java/install.html But this didnt work for me. I found this: http://www.onlamp.com/pub/a/bsd/2002/09/05/FreeBSD_Basics.html?page=3 from the FreeBSD pages. But this doesnt work either. I get compilation errors as follows. Whats wrong? What did I do? I installed www/mozilla-headers also since that seemed to have npapi.h but that npapi.h was installed into /usr/X11R6/include/mozilla/plugin/ and so was never discovered. Any help is appreciated. Could you please CC me as I am not subscribed to this list (yet). ,---- | gcc -Wall -c -I/usr/local/include -O -D_GNU_SOURCE -DXP_UNIX | -DVERSION="\"1.3. 1-p7-aswini-021003-20:52\"" -DDATE="\"Oct-03-2002\"" | -DARCH="\"i386\"" -DRAPTOR_ API -DNEW_STREAMING_API | -I../../oji-plugin/include/solaris/navig4/nspr -I../../o | ji-plugin/include/solaris/navig4/xpcom | -I../../oji-plugin/include/solaris/navig4 /caps | -I../../oji-plugin/include/solaris/navig4/js | -I../../oji-plugin/include/so laris/navig4/raptor | -I../../tmp/bsd/i386/CClassHeaders | -I../../oji-plugin/include/solaris/navig4/oji | -I../../oji-plugin/include/solaris/navig4/plugin | -I../../oji-plugin/src/motif/common | -I../../oji-plugin/src/motif/navig4 -I/usr/X11R6/inclu de | -I../../oji-plugin/src/motif/badapter | -I../../../../src/share/javavm/export | -I../../../../src/solaris/javavm/export -I/usr/X11R6/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 | "/tmp/qt-3.0-reggie-21297/qt/extensions/nsp lugin/src/npapi.h must be | provided by Netscape" /usr/X11R6/include/npapi.h:2: #error "This file | is just a placeholder. 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 | "/tmp/qt-3.0-reggie-21297/qt/extensions/nsp lugin/src/npupp.h must be | provided by Netscape" /usr/X11R6/include/npupp.h:2: #error "This file | is just a placeholder. Please se e 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/bu | ild/solaris' gmake: *** [plugin-all] Error 1 | *** Error code 2 | | Stop in /usr/ports/java/jdk13. | User: 1181.281u Kernel: 270.461u Time: 31:25.82 CPU: 76.9% (2911k/27674k) 8409+1 | 315io | Exit 1 | | /usr/X11R6/include/npupp.h:2: #error "This file is just a placeholder. | 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/bu ild/solaris' | gmake: *** [plugin-all] Error 1 | *** Error code 2 | | Stop in /usr/ports/java/jdk13. | User: 1181.281u Kernel: 270.461u Time: 31:25.82 CPU: 76.9% (2911k/27674k) 8409+1 | 315io | Exit 1 `---- Kaarthik To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message