Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2001 14:34:41 +0930
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Joe Kelsey <joe@zircon.seattle.wa.us>
Cc:        java@FreeBSD.ORG
Subject:   Re: jdk13 plugin patches
Message-ID:  <20010823143441.A7609@misty.eyesbeyond.com>
In-Reply-To: <15236.23895.316429.126267@zircon.zircon.seattle.wa.us>; from joe@zircon.seattle.wa.us on Wed, Aug 22, 2001 at 06:33:11PM -0700
References:  <15236.23895.316429.126267@zircon.zircon.seattle.wa.us>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 22, 2001 at 06:33:11PM -0700, Joe Kelsey wrote:
> I have been working through the plugin directory.  So far, I have
> patches for almost all compiler errors.  I expect to finish the rest of
> the compiler errors soon.  However, JavaVM5.cpp has a puzzling include,

We should collaborate on this, I've also got some patches which get me
a compiled plugin.  I'm going to test as soon as I figure out how to
install it correctly for Mozilla (the included install script assumes
Netscape, which didn't allow you to change the Java plugin before 4.77,
and the latest FreeBSD native version was 4.76, not to mention being
an aout binary).

> #include "gdk/gdk.h"
> 
> Now, there is no gdk directory anywhere in the j2sdk source, nor is
> there a gdk.h file!  There is a gdksuperwin.h file, but that also has
> the above include along with some other mysterious gdk-related
> includes.  What it missing?

You need GTK installed to build the plugin.  See /usr/ports/x11-toolkits/gtk12.
You'll also need some headers and libraries from Mozilla.  For the
headers you can mostly use the headers which are part of the plugin source
(nsplugindefs.h was the exception for me), however you need libnspr4.so
from either Mozilla or NSPR itself.

> Also, there seem to be a lot of purely bad programming errors, as if no
> one ever tried to compile the code before.  Maybe the Sun C compiler is
> more lenient?  Presumably, it compiler before on Linux...

I'm not quite sure what you mean?  There are some assumptions about the
platform being SysV based, but nothing worse than the JDK itself I thought.

-- 
Greg Lewis                            Email : glewis@eyesbeyond.com
Eyes Beyond                           Phone : (801) 765 1887
Information Technology                Web   : http://www.eyesbeyond.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




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