From owner-freebsd-ports Tue Aug 28 18:25: 3 2001 Delivered-To: freebsd-ports@freebsd.org Received: from h3.generalresources.com (h3.generalresources.com [211.21.66.252]) by hub.freebsd.org (Postfix) with ESMTP id 2558837B408 for ; Tue, 28 Aug 2001 18:24:58 -0700 (PDT) (envelope-from hsw@acm.org) Received: from server.tucheng.generalresources.com (h1.generalresources.com [211.21.66.250]) by h3.generalresources.com (8.11.4/8.11.4) with ESMTP id f7T1OpN20714; Wed, 29 Aug 2001 09:24:51 +0800 (CST) (envelope-from hsw@acm.org) Received: from x4.tucheng.generalresources.com (x4.tucheng.generalresources.com [192.168.2.4]) by server.tucheng.generalresources.com (8.11.4/8.11.4) with ESMTP id f7T1OoM03632; Wed, 29 Aug 2001 09:24:50 +0800 (CST) (envelope-from hsw@acm.org) Received: from x4.tucheng.generalresources.com (localhost [127.0.0.1]) by x4.tucheng.generalresources.com (8.11.4/8.11.3) with ESMTP id f7T1Ooq09039; Wed, 29 Aug 2001 09:24:50 +0800 (CST) (envelope-from hsw@acm.org) Message-Id: <200108290124.f7T1Ooq09039@x4.tucheng.generalresources.com> To: mmartinelli@bigfoot.com Cc: ports@FreeBSD.ORG From: Christopher Hall Reply-To: Christopher Hall Subject: Re: mozilla + java In-Reply-To: Message from marcelo cardoso martinelli of "Tue, 28 Aug 2001 16:25:06 -0300." <20010828162506.A14470@terra.com.br> Content-transfer-encoding: 8bit Content-type: text/plain; charset=big5 X-Operating-System: FreeBSD X-Mailer: Exmh Date: Wed, 29 Aug 2001 09:24:47 +0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 Fax: +886-2-2795-3030 Christopher Hall Phone: +886-2-2795-5799 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message