Skip site navigation (1)Skip section navigation (2)
Date:      21 Oct 2002 22:09:48 -0400
From:      Kaarthik Sivakumar <kaarthik@torrentnet.com>
To:        freebsd-questions@FreeBSD.org
Subject:   Java on FreeBSD 4.5
Message-ID:  <1i3cqzkyvn.fsf@coors.torrentnet.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1i3cqzkyvn.fsf>