Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2001 09:24:47 +0800
From:      Christopher Hall <hsw@acm.org>
To:        mmartinelli@bigfoot.com
Cc:        ports@FreeBSD.ORG
Subject:   Re: mozilla + java
Message-ID:  <200108290124.f7T1Ooq09039@x4.tucheng.generalresources.com>
In-Reply-To: Message from marcelo cardoso martinelli <mmartinelli@bigfoot.com> of "Tue, 28 Aug 2001 16:25:06 -0300." <20010828162506.A14470@terra.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help

I tried for two days to do this, but could not make it work.

It occurred to me that it is not possible for a FreeBSD native Mozilla
to link with a Linux libjava library, and the only solution would be
to use a Linux version of Mozilla.  Several Internet searches later I
saw many requests for help to get Mozilla+Java to work together, but
only one answer that said he got the Linux version to run.  There were
no details in the reply and I did not see a subsequent reply giving
any.

Unfortunately the latest Linux Mozilla requires libraries from a later
version of RedHat than those present in the linux_base-6.1 port.  I
downloaded these from the RedHat ftp site and attempted to "rpm
install" them.  There were many conflicts and errors about a type "0"
file that could not be executed - these I sorted by rpm erase old
package and the "rpm install" the later package while having a second
console repeatedly running "brandelf -t Linux" on the various
/compat/linux binary directories.

I now think that perhaps there is only one file in the latest glibc
that actually requires the brandelf.

Eventually Mozilla was installed and amazingly it ran, but I was
unable to get it to resolve DNS entries.  It would however access by
IP number.  I tried the Linux versions of 'host' and 'nslookup' to see
if I could debug this but they just core dump.  I guess there is some
incompatibility with the Linux emulator and the 7.1 libraries.

If anyone got any further than this I would like to know, as I still
have the above configuration installed, but no more time to work on
it.

I noticed that there is a now a native jdk13, but the
libjavaplugin_oji.so is absent from the pkg-plist.


In message <20010828162506.A14470@terra.com.br>,
  marcelo cardoso martinelli writes:
>i have been trying to install the java plugin for mozilla and it never
>works.  i tried almost everything: first i installed mozilla from the
>ports tree and made a symbolic link to the java jre (also installed
>from the ports tree), but mozilla never registered the plugin as
>installed.  then i decided to download the freebsd port from
>mozilla.org and installed it in a directiry in my home directory.
>when a tryied to view a java page for the first time mozilla asks for
>the plugin and it downloaded and installed it for me.
>
>i checked the plugins dir in the mozilla directory and it had
>installed a java2 directory inside it and also made the symbolic link
>for me too.  however, again, mozilla never found the plugin.
>
>i installed it and reinstalled a couple times and it never works.  can
>anyone help?
>
>marcelo cardoso martinelli
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-ports" in the body of the message
>

---
Christopher Hall <hsw@generalresources.com>         Fax: +886-2-2795-3030
Christopher Hall <hsw@acm.org>                    Phone: +886-2-2795-5799

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




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